aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wnm_sta.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-11-22 18:12:12 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-22 18:17:47 (GMT)
commit75d65857d5b42e0ea9503260447aff48d6ac18fb (patch)
treefb239b31d5002a8d5d0dc3ff1b1990c7edc66ef5 /wpa_supplicant/wnm_sta.h
parente1117c1c01f79290856518eff82b1b6d957ab078 (diff)
downloadhostap-75d65857d5b42e0ea9503260447aff48d6ac18fb.zip
hostap-75d65857d5b42e0ea9503260447aff48d6ac18fb.tar.gz
hostap-75d65857d5b42e0ea9503260447aff48d6ac18fb.tar.bz2
WNM: Use recent scan results on BSS transition request
If the last scans are recent (for now, less than ten seconds old), use them instead of triggering a new scan when a BSS Transition Management Request frame is received. As a fallback, allow a new scan to be triggered if no matches were found. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wnm_sta.h')
-rw-r--r--wpa_supplicant/wnm_sta.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/wpa_supplicant/wnm_sta.h b/wpa_supplicant/wnm_sta.h
index fd3a5dd..8de4348 100644
--- a/wpa_supplicant/wnm_sta.h
+++ b/wpa_supplicant/wnm_sta.h
@@ -62,11 +62,12 @@ void wnm_deallocate_memory(struct wpa_supplicant *wpa_s);
#ifdef CONFIG_WNM
-int wnm_scan_process(struct wpa_supplicant *wpa_s);
+int wnm_scan_process(struct wpa_supplicant *wpa_s, int reply_on_fail);
#else /* CONFIG_WNM */
-static inline int wnm_scan_process(struct wpa_supplicant *wpa_s)
+static inline int wnm_scan_process(struct wpa_supplicant *wpa_s,
+ int reply_on_fail)
{
return 0;
}