wifi: cfg80211: Handle specific BSSID in 6GHz scanning
authorIlan Peer <ilan.peer@intel.com>
Thu, 28 Sep 2023 14:35:30 +0000 (17:35 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Oct 2023 09:43:28 +0000 (11:43 +0200)
commit0fca7784b7a14d4ede64f479662afb98876ec7f8
treea8470f9ea33c8ba1c87b89d13f10c83dec8ffcb5
parentc00de1c49294cb83ecf11c2f9306df5fec5c16a0
wifi: cfg80211: Handle specific BSSID in 6GHz scanning

When the scan parameters for a 6GHz scan specify a unicast
BSSID address, and the corresponding AP is found in the scan
list, add a corresponding entry in the collocated AP list,
so this AP would be directly probed even if it was not
advertised as a collocated AP.

This is needed for handling a scan request that is intended
for a ML probe flow, where user space can requests a scan
to retrieve information for other links in the AP MLD.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230928172905.54b954bc02ad.I1c072793d3d77a4c8fbbc64b4db5cce1bbb00382@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c