aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorAssaf Krauss <assaf.krauss@intel.com>2014-11-05 08:42:50 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-22 19:23:14 (GMT)
commitd89c0701dbb785a4646853f89eac866ee1fe5ce3 (patch)
tree39ebaab9dd097f905796c4f454dd5343283979ce /wpa_supplicant/events.c
parent2526ccd95acd35700b894241f1d250b637b9c3c4 (diff)
downloadhostap-d89c0701dbb785a4646853f89eac866ee1fe5ce3.zip
hostap-d89c0701dbb785a4646853f89eac866ee1fe5ce3.tar.gz
hostap-d89c0701dbb785a4646853f89eac866ee1fe5ce3.tar.bz2
wpa_supplicant: Add support for Neighbor Report
Add the ability to send a Neighbor Report Request (part of RRM). Requester is then notified once the report arrives. Signed-off-by: Assaf Krauss <assaf.krauss@intel.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index ffa980d..6609816 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2866,6 +2866,12 @@ static void wpas_event_rx_mgmt_action(struct wpa_supplicant *wpa_s,
}
#endif /* CONFIG_INTERWORKING */
+ if (category == WLAN_ACTION_RADIO_MEASUREMENT &&
+ payload[0] == WLAN_RRM_NEIGHBOR_REPORT_RESPONSE) {
+ wpas_rrm_process_neighbor_rep(wpa_s, payload + 1, plen - 1);
+ return;
+ }
+
wpas_p2p_rx_action(wpa_s, mgmt->da, mgmt->sa, mgmt->bssid,
category, payload, plen, freq);
if (wpa_s->ifmsh)