]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Include only 6 GHz PSCs in full scan
authorIlan Peer <ilan.peer@intel.com>
Wed, 11 May 2022 09:40:36 +0000 (12:40 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 28 Nov 2022 16:37:06 +0000 (18:37 +0200)
commit50a9b7d3d35593fbec4b6fa2a4464c4f309cf625
treeb5c761638b815394db95a7e4e4e2b68018e48aa0
parentef1155624225c9b2ea4481625f56399284e8ca2f
P2P: Include only 6 GHz PSCs in full scan

As P2P GOs are not expected to be collocated, i.e., they are not
expected to be announced in the RNR element of other APs, they can
operate only on preferred scanning channels (PSCs).

When performing a full scan for P2P discovery, include only the 6 GHz
PSCs (if supported) to avoid scanning channels on which P2P GOs are not
expected to reside.

While at it also fix couple of places that missed including 60 GHz
channels in P2P full scan.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h
wpa_supplicant/scan.c
wpa_supplicant/scan.h