Lines Matching refs:cb
66 struct nan_callbacks cb; member
81 const struct nan_callbacks *cb) in nan_de_init() argument
91 os_memcpy(&de->cb, cb, sizeof(*cb)); in nan_de_init()
112 if (srv->type == NAN_DE_PUBLISH && de->cb.publish_terminated) in nan_de_service_deinit()
113 de->cb.publish_terminated(de->cb.ctx, srv->id, reason); in nan_de_service_deinit()
114 if (srv->type == NAN_DE_SUBSCRIBE && de->cb.subscribe_terminated) in nan_de_service_deinit()
115 de->cb.subscribe_terminated(de->cb.ctx, srv->id, reason); in nan_de_service_deinit()
189 if (!de->cb.tx) in nan_de_tx()
192 res = de->cb.tx(de->cb.ctx, freq, wait_time, dst, src, bssid, buf); in nan_de_tx()
601 if (!started && de->cb.listen && in nan_de_timer()
618 if (de->cb.listen(de->cb.ctx, srv->freq, duration) == 0) in nan_de_timer()
804 if (de->cb.discovery_result) in nan_de_rx_publish()
805 de->cb.discovery_result( in nan_de_rx_publish()
806 de->cb.ctx, srv->id, srv_proto_type, in nan_de_rx_publish()
942 if (!srv->publish.disable_events && de->cb.replied) in nan_de_rx_subscribe()
943 de->cb.replied(de->cb.ctx, srv->id, peer_addr, instance_id, in nan_de_rx_subscribe()
970 if (de->cb.receive) in nan_de_rx_follow_up()
971 de->cb.receive(de->cb.ctx, srv->id, instance_id, ssi, ssi_len, in nan_de_rx_follow_up()