Lines Matching refs:rrm
23 struct rrm_data *rrm = data; in wpas_rrm_neighbor_rep_timeout_handler() local
25 if (!rrm->notify_neighbor_rep) { in wpas_rrm_neighbor_rep_timeout_handler()
32 rrm->notify_neighbor_rep(rrm->neighbor_rep_cb_ctx, NULL); in wpas_rrm_neighbor_rep_timeout_handler()
34 rrm->notify_neighbor_rep = NULL; in wpas_rrm_neighbor_rep_timeout_handler()
35 rrm->neighbor_rep_cb_ctx = NULL; in wpas_rrm_neighbor_rep_timeout_handler()
45 wpa_s->rrm.rrm_used = 0; in wpas_rrm_reset()
47 eloop_cancel_timeout(wpas_rrm_neighbor_rep_timeout_handler, &wpa_s->rrm, in wpas_rrm_reset()
49 if (wpa_s->rrm.notify_neighbor_rep) in wpas_rrm_reset()
50 wpas_rrm_neighbor_rep_timeout_handler(&wpa_s->rrm, NULL); in wpas_rrm_reset()
51 wpa_s->rrm.next_neighbor_rep_token = 1; in wpas_rrm_reset()
71 if (report[0] != wpa_s->rrm.next_neighbor_rep_token - 1) { in wpas_rrm_process_neighbor_rep()
74 report[0], wpa_s->rrm.next_neighbor_rep_token - 1); in wpas_rrm_process_neighbor_rep()
78 eloop_cancel_timeout(wpas_rrm_neighbor_rep_timeout_handler, &wpa_s->rrm, in wpas_rrm_process_neighbor_rep()
81 if (!wpa_s->rrm.notify_neighbor_rep) { in wpas_rrm_process_neighbor_rep()
89 wpas_rrm_neighbor_rep_timeout_handler(&wpa_s->rrm, NULL); in wpas_rrm_process_neighbor_rep()
95 wpa_s->rrm.notify_neighbor_rep(wpa_s->rrm.neighbor_rep_cb_ctx, in wpas_rrm_process_neighbor_rep()
97 wpa_s->rrm.notify_neighbor_rep = NULL; in wpas_rrm_process_neighbor_rep()
98 wpa_s->rrm.neighbor_rep_cb_ctx = NULL; in wpas_rrm_process_neighbor_rep()
155 if (!wpa_s->rrm.rrm_used) { in wpas_rrm_send_neighbor_rep_request()
170 if (wpa_s->rrm.notify_neighbor_rep) { in wpas_rrm_send_neighbor_rep_request()
189 wpa_s->rrm.next_neighbor_rep_token); in wpas_rrm_send_neighbor_rep_request()
193 wpabuf_put_u8(buf, wpa_s->rrm.next_neighbor_rep_token); in wpas_rrm_send_neighbor_rep_request()
266 wpa_s->rrm.next_neighbor_rep_token++; in wpas_rrm_send_neighbor_rep_request()
277 wpa_s->rrm.neighbor_rep_cb_ctx = cb_ctx; in wpas_rrm_send_neighbor_rep_request()
278 wpa_s->rrm.notify_neighbor_rep = cb; in wpas_rrm_send_neighbor_rep_request()
281 &wpa_s->rrm, NULL); in wpas_rrm_send_neighbor_rep_request()
365 if (!is_multicast_ether_addr(wpa_s->rrm.dst_addr) && in wpas_rrm_build_lci_report()
387 wpabuf_put_u8(report, wpa_s->rrm.token); in wpas_rrm_send_msr_report_mpdu()
1000 if (!is_multicast_ether_addr(wpa_s->rrm.dst_addr)) { in wpas_rrm_refuse_request()
1255 if (!is_multicast_ether_addr(wpa_s->rrm.dst_addr) && in wpas_rm_handle_beacon_req()
1318 if (!is_multicast_ether_addr(wpa_s->rrm.dst_addr) && in wpas_rrm_handle_msr_req_element()
1391 if (!wpa_s->rrm.rrm_used) { in wpas_rrm_handle_radio_measurement_request()
1403 wpa_s->rrm.token = *frame; in wpas_rrm_handle_radio_measurement_request()
1404 os_memcpy(wpa_s->rrm.dst_addr, dst, ETH_ALEN); in wpas_rrm_handle_radio_measurement_request()
1432 if (!wpa_s->rrm.rrm_used) { in wpas_rrm_handle_link_measurement_request()