]> git.ipfire.org Git - thirdparty/hostap.git/commit
WNM: Extend the discovery of the 6 GHz candidates
authorIlan Peer <ilan.peer@intel.com>
Tue, 5 Aug 2025 15:13:17 +0000 (17:13 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 6 Oct 2025 17:38:38 +0000 (20:38 +0300)
commitf49dc6afe1b361fa3b1a68d01f7a9d7c62497d19
treeb5ce50380e45272f29f14b3500adf10a0945426c
parenta1240bb10fb0f24554e745882402c8533d0d08d9
WNM: Extend the discovery of the 6 GHz candidates

Candidates on 6 GHz channels might be collocated ones, and thus, in
order to discover them need to include the frequencies on the 2.4/5 GHz
bands.

Extend the WNM scan frequency channels to include the 2.4/5 GHz channels
in case the WNM neighbor list included candidates on the 6 GHz band.
Since such a scan can be long, optimize the case of a single channel and
instead force passive scanning.

In addition, in case the candidate validity interval is too short,
ignore the validity interval, and set it to 5 seconds, as we are
increasing the discovery time so results might not be valid once we get
them.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
wpa_supplicant/wnm_sta.c