Optimize post-WPS scan based on channel used during provisioning
authorJouni Malinen <jouni.malinen@atheros.com>
Sun, 11 Apr 2010 16:06:42 +0000 (19:06 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 11 Apr 2010 16:06:42 +0000 (19:06 +0300)
commit17a4734dc4d28ef070dfa227b422ed84794f48c5
tree4b7b52df81f0178de711d0444c16e6bc902777f4
parentaddb584881dafa5645dd1b509e7411d7e29493f8
Optimize post-WPS scan based on channel used during provisioning

Scan only the frequency that was used during provisioning during the
first five scans for the connection. This speeds up connection in the
most likely case where the AP remains on the same channel. If the AP is
not found after these initial scans, all channels will be scanned.
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h
wpa_supplicant/wps_supplicant.c