]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Allow more time for the initial scan with 6 GHz
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 28 Jul 2022 13:40:05 +0000 (16:40 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 28 Jul 2022 13:40:05 +0000 (16:40 +0300)
commit1d08b238cb9f9fc5cc6cf6d5d4cb85cae5493e8b
treef3e053f41d8d676900bc68511a1866c4e0e0ffbf
parentac9e6a2ab3625801a032ae94599a452f001dd285
nl80211: Allow more time for the initial scan with 6 GHz

The initial timeout of 10 seconds for the first scan before knowing
whether the driver reports scan completion events may not be sufficient
in cases where the driver ends up scanning a large number of channels.
In particular, this could be hit with 6 GHz support. Increase this
timeout when the driver indicates support for 6 GHz channels.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/drivers/driver_nl80211.h
src/drivers/driver_nl80211_capa.c
src/drivers/driver_nl80211_scan.c