aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bss.h
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.h
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.h')
-rw-r--r--wpa_supplicant/bss.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/bss.h b/wpa_supplicant/bss.h
index 97ab070..84505fa 100644
--- a/wpa_supplicant/bss.h
+++ b/wpa_supplicant/bss.h
@@ -168,4 +168,8 @@ static inline void wpa_bss_update_level(struct wpa_bss *bss, int new_level)
bss->level = new_level;
}
+void calculate_update_time(const struct os_reltime *fetch_time,
+ unsigned int age_ms,
+ struct os_reltime *update_time);
+
#endif /* BSS_H */