aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.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/sme.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/sme.c')
-rw-r--r--wpa_supplicant/sme.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index 133ceec..ce116f6 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -187,6 +187,11 @@ static void sme_auth_handle_rrm(struct wpa_supplicant *wpa_s,
if (wpa_s->drv_rrm_flags & WPA_DRIVER_FLAGS_TX_POWER_INSERTION)
*pos |= WLAN_RRM_CAPS_LINK_MEASUREMENT;
+ if (wpa_s->drv_rrm_flags & WPA_DRIVER_FLAGS_SUPPORT_BEACON_REPORT)
+ *pos |= WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE |
+ WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE |
+ WLAN_RRM_CAPS_BEACON_REPORT_TABLE;
+
if (wpa_s->lci)
pos[1] |= WLAN_RRM_CAPS_LCI_MEASUREMENT;