]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
Add a reattach command for fast reassociate-back-to-same-BSS
authorPeter Qiu <zqiu@chromium.org>
Thu, 6 Mar 2014 18:06:04 +0000 (10:06 -0800)
committerJouni Malinen <j@w1.fi>
Tue, 11 Mar 2014 17:38:01 +0000 (19:38 +0200)
commit0f44ec8eba8a2b01e9c443308a72a2fd3208f7cf
tree01c8e43b268df62440813a8c6f243094d289ab51
parentcfc393a645f6885117fe321e1679031482c12edf
Add a reattach command for fast reassociate-back-to-same-BSS

Add "reattach" command to perform single-channel single-ssid scan
instead of full scan when trying to reconnect to the currently
"connected" network (assuming old scan results are not current enough to
skip the scan completely). This allows the scan result to come back in
much faster time. In ath9k, the scan took around 12 seconds with full
background scan, and only 0.1 second with the single-channel single-ssid
scan. Thus, take much less time for the client to re-establish
connection with the currently "connected" network.

Signed-hostap: Peter Qiu <zqiu@chromium.org>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/dbus/dbus_new.c
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/dbus/dbus_new_handlers.h
wpa_supplicant/scan.c
wpa_supplicant/wpa_cli.c
wpa_supplicant/wpa_supplicant_i.h