[PATCH] Add non-PSC channels to 6GHz scan request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When non_coloc_6ghz = false, the STA is expected to scan for
colocated APs. However, if the colocated AP is on a non-PSC
channel, it will not be detected during the 6GHz-only scan
because the frequency list is limited to PSC channels. Even when
the NL80211_SCAN_FLAG_COLOCATED_6GHZ is set, the cfg80211 only
scans a subset of the channels in the original 6GHz scan request.
Therefore, this patch adds non-PSC channels to the original 6GHz
scan request.

Signed-off-by: Ruth Mekonnen <rmekonnen@xxxxxxxxxxxx>
---
 wpa_supplicant/events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index ca2794638..955e944e0 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2582,7 +2582,7 @@ static int wpas_trigger_6ghz_scan(struct wpa_supplicant *wpa_s,
 		params.ssids[j] = data->scan_info.ssids[j];
 	params.num_ssids = data->scan_info.num_ssids;
 	wpa_add_scan_freqs_list(wpa_s, HOSTAPD_MODE_IEEE80211A, &params,
-				true, !wpa_s->last_scan_non_coloc_6ghz, false);
+				true, false, false);
 	if (!wpa_supplicant_trigger_scan(wpa_s, &params, true, true)) {
 		os_free(params.freqs);
 		return 1;
-- 
2.44.0.478.gd926399ef9-goog


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux