aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2016-12-28 13:06:47 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-03 13:18:30 (GMT)
commit76196ddb2b61425e28306bbb3c8600877cfc822a (patch)
treed215cd818c844940ad2d75b32866dff32944a86a /wpa_supplicant/events.c
parentb3060bf99fd5ed392dd7e762fa579fa733a54da1 (diff)
downloadhostap-76196ddb2b61425e28306bbb3c8600877cfc822a.zip
hostap-76196ddb2b61425e28306bbb3c8600877cfc822a.tar.gz
hostap-76196ddb2b61425e28306bbb3c8600877cfc822a.tar.bz2
wpa_supplicant: Add support for Beacon Report Radio Measurement
Beacon Report Radio Measurement is defined in IEEE Std 802.11-2016, 11.11.9.1. Beacon Report is implemented by triggering a scan on the requested channels with the requested parameters. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index a57b1da..afdda00 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -1736,6 +1736,10 @@ static int _wpa_supplicant_event_scan_results(struct wpa_supplicant *wpa_s,
if (sme_proc_obss_scan(wpa_s) > 0)
goto scan_work_done;
+ if (own_request &&
+ wpas_beacon_rep_scan_process(wpa_s, scan_res, &data->scan_info) > 0)
+ goto scan_work_done;
+
if ((wpa_s->conf->ap_scan == 2 && !wpas_wps_searching(wpa_s)))
goto scan_work_done;