aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.h
diff options
context:
space:
mode:
authorPontus Fuchs <pontus.fuchs@gmail.com>2013-02-03 16:14:05 (GMT)
committerJouni Malinen <j@w1.fi>2013-02-03 16:14:05 (GMT)
commit9e737f08d41ab089b0737d3c002a62c4175be241 (patch)
tree4dff8685e9dc1375244a3c950cc952c777619eb4 /wpa_supplicant/scan.h
parentc869536ce9ed0755ff0138ccdafeae8a996a5e3a (diff)
downloadhostap-9e737f08d41ab089b0737d3c002a62c4175be241.zip
hostap-9e737f08d41ab089b0737d3c002a62c4175be241.tar.gz
hostap-9e737f08d41ab089b0737d3c002a62c4175be241.tar.bz2
Update scan interval gracefully
When the scan interval is changed the new interval is effective after the old interval timer fires off one last time. This can cause an unacceptable long delay when updating the interval. Change this behaviour to use MIN(left of old interval, new interval) for the scan interval following the interval change. Signed-hostap: Pontus Fuchs <pontus.fuchs@gmail.com>
Diffstat (limited to 'wpa_supplicant/scan.h')
-rw-r--r--wpa_supplicant/scan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/scan.h b/wpa_supplicant/scan.h
index 5096287..7a9b232 100644
--- a/wpa_supplicant/scan.h
+++ b/wpa_supplicant/scan.h
@@ -32,5 +32,6 @@ struct wpabuf * wpa_scan_get_vendor_ie_multi(const struct wpa_scan_res *res,
u32 vendor_type);
int wpa_supplicant_filter_bssid_match(struct wpa_supplicant *wpa_s,
const u8 *bssid);
+void wpa_supplicant_update_scan_int(struct wpa_supplicant *wpa_s, int sec);
#endif /* SCAN_H */