[PATCH v2 1/2] nl80211: set NL80211_SCAN_FLAG_COLOCATED_6GHZ in scan

Ben Greear greearb at candelatech.com
Thu Apr 7 07:16:23 PDT 2022


On 4/6/22 11:39 PM, Peer, Ilan wrote:
> Hi,
> 
>> -----Original Message-----
>> From: Johannes Berg <johannes at sipsolutions.net>
>> Sent: Wednesday, April 06, 2022 18:47
>> To: greearb <greearb at candelatech.com>; Peer, Ilan <ilan.peer at intel.com>;
>> hostap at lists.infradead.org
>> Cc: Mussai, Tova <tova.mussai at intel.com>; Otcheretianski, Andrei
>> <andrei.otcheretianski at intel.com>; Stern, Avraham
>> <avraham.stern at intel.com>
>> Subject: Re: [PATCH v2 1/2] nl80211: set
>> NL80211_SCAN_FLAG_COLOCATED_6GHZ in scan
>>
>> On Wed, 2022-04-06 at 08:40 -0700, Ben Greear wrote:
>>> On 4/6/22 8:15 AM, Ilan Peer wrote:
>>>> From: Tova Mussai <tova.mussai at intel.com>
>>>>
>>>> Set NL80211_SCAN_FLAG_COLOCATED_6GHZ in the scan params to
>> enable
>>>> scanning for co-located AP's found in 2.4/5 GHz bands when not
>>>> scanning passively. Do so only when collocated scanning is not
>>>> disabled by higher layer logic.
>>>
>>> If I read the double-negatives correctly, this patch enables the new
>>> flag by default, and at least in this patch, there is no way to
>>> disable that.
>>>
>>> Should there be a user-configurable in wpa_supplicant.conf to allow
>>> enabling/disabling this feature?
>>>
>>
> 
> I do not see a real reason for this other than for testing purposes. The IEEE802.11 specification direction for discovery on non PSC channels is such that these channels should be scanned only if there is some other indication that there are APs operating on these channels.

I am all about testing purposes!

I think it should be allowed to be disabled in case this feature
causes other regressions, but fine to default it to enabled if you
think that is a good idea.

Thanks,
--Ben


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Hostap mailing list