wifi: nl80211: Update the documentation of NL80211_SCAN_FLAG_COLOCATED_6GHZ
authorManikanta Pubbisetty <quic_mpubbise@quicinc.com>
Wed, 8 Mar 2023 10:45:56 +0000 (16:15 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Mar 2023 12:31:19 +0000 (13:31 +0100)
Currently when NL80211_SCAN_FLAG_COLOCATED_6GHZ is set in the scan flags,
in addition to the co-located APs, PSC channels in the 6 GHz band would
also be scanned if the user space has asked for it. In other words, the
scan would happen on PSC channels & co-located 6 GHz channels that were
reported in the RNR IE.

Update the documentation of NL80211_SCAN_FLAG_COLOCATED_6GHZ flag to
reflect the above said behavior.

Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com>
Link: https://lore.kernel.org/r/20230308104556.9399-1-quic_mpubbise@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h

index 9a0ac03..14e958a 100644 (file)
@@ -6544,7 +6544,9 @@ enum nl80211_timeout_reason {
  *     channels on which APs are expected to be found. Note that when not set,
  *     the scan logic would scan all 6GHz channels, but since transmission of
  *     probe requests on non PSC channels is limited, it is highly likely that
- *     these channels would passively be scanned.
+ *     these channels would passively be scanned. Also note that when the flag
+ *     is set, in addition to the colocated APs, PSC channels would also be
+ *     scanned if the user space has asked for it.
  */
 enum nl80211_scan_flags {
        NL80211_SCAN_FLAG_LOW_PRIORITY                          = 1<<0,