aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-01-02 21:04:02 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-03 17:53:03 (GMT)
commitd734201435d68094e0a93b85503edb29cb5b9a24 (patch)
tree89c56dbc571fabd5927c7ea3e09782951643f9dd /wpa_supplicant/sme.c
parent42b09823761ac4d9b68b26ad71624d62dda49222 (diff)
downloadhostap-d734201435d68094e0a93b85503edb29cb5b9a24.zip
hostap-d734201435d68094e0a93b85503edb29cb5b9a24.tar.gz
hostap-d734201435d68094e0a93b85503edb29cb5b9a24.tar.bz2
RRM: Enable beacon report with active/passive scan for all drivers
The requested behavior can be approximated for most use cases even if the driver does not support reporting exact TSF values for frames. Enable this capability for all drivers to make beacon report processing more useful for a common use case. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/sme.c')
-rw-r--r--wpa_supplicant/sme.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index 18b1165..f478836 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -187,10 +187,9 @@ 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;
- *pos |= WLAN_RRM_CAPS_BEACON_REPORT_TABLE;
+ *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;