Use normal scan before sched_scan if that can speed up connection
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 28 Nov 2011 16:36:36 +0000 (18:36 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 28 Nov 2011 16:36:36 +0000 (18:36 +0200)
commit0b7a25c00f95745a9e5405f6014a7f716905148a
tree674f32170a8a8851649d3db3ebbd22aab5a879fb
parent76a5249e522a4ece093f47eecac42fc5b83b8360
Use normal scan before sched_scan if that can speed up connection

When normal scan can speed up operations, use that for the first three
scan runs before starting the sched_scan to allow user space sleep more.
We do this only if the normal scan has functionality that is suitable
for this or if the sched_scan does not have better support for multiple
SSIDs.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant_i.h
wpa_supplicant/wps_supplicant.c