[PATCH v5 4/4] P2P: Do not use collocated scan logic when scanning 6GHz

Jouni Malinen j at w1.fi
Sat May 7 11:15:07 PDT 2022


On Sun, Apr 24, 2022 at 12:57:55PM +0300, Ilan Peer wrote:
> Passively scan 6GHz channels during P2P find full scan as
> P2P GOs are not expected to be published in RNR or other
> APs on the 2GHz and 5GHz bands.

> diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
> @@ -444,8 +444,16 @@ static int wpas_p2p_scan(void *ctx, enum p2p_scan_type type, int freq,
> -	if (!wpa_s->conf->p2p_6ghz_disable)
> +	if (!wpa_s->conf->p2p_6ghz_disable) {
>  		params->p2p_include_6ghz = include_6ghz;
> +
> +		/*
> +		 * passively scan non PSC channels without relying on collocated
> +		 * logic
> +		 */
> +		params->non_coloc_6ghz = include_6ghz;
> +	}

This sounds very incorrect. Why would a P2P device scan for non-PSC
channels on the 6 GHz band? The P2P GO would be a 6 GHz-only AP and as
such, such set the primary 20 MHz to coincide with a PSC based on IEEE
Std 802.11ax-2021 expectations.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list