aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bss.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/bss.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/bss.c')
-rw-r--r--wpa_supplicant/bss.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wpa_supplicant/bss.c b/wpa_supplicant/bss.c
index 37ac844..914bd5d 100644
--- a/wpa_supplicant/bss.c
+++ b/wpa_supplicant/bss.c
@@ -269,9 +269,9 @@ struct wpa_bss * wpa_bss_get(struct wpa_supplicant *wpa_s, const u8 *bssid,
}
-static void calculate_update_time(const struct os_reltime *fetch_time,
- unsigned int age_ms,
- struct os_reltime *update_time)
+void calculate_update_time(const struct os_reltime *fetch_time,
+ unsigned int age_ms,
+ struct os_reltime *update_time)
{
os_time_t usec;