[PATCH] nl80211: set NL80211_SCAN_FLAG_COLOCATED_6GHZ in scan
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Tue Nov 30 07:39:43 PST 2021
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.
Signed-off-by: Tova Mussai <tova.mussai at intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
src/drivers/driver_nl80211_scan.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/drivers/driver_nl80211_scan.c b/src/drivers/driver_nl80211_scan.c
index 1316084805..356fbcebfa 100644
--- a/src/drivers/driver_nl80211_scan.c
+++ b/src/drivers/driver_nl80211_scan.c
@@ -300,6 +300,9 @@ nl80211_scan_common(struct i802_bss *bss, u8 cmd,
NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION;
}
+ /* scan for 6ghz colocated APs that reported by other APs */
+ scan_flags |= NL80211_SCAN_FLAG_COLOCATED_6GHZ;
+
if (scan_flags &&
nla_put_u32(msg, NL80211_ATTR_SCAN_FLAGS, scan_flags))
goto fail;
--
2.25.1
More information about the Hostap
mailing list