From dc9af4e7fb3194af9f300fddf26a86966ea62817 Mon Sep 17 00:00:00 2001 From: Srikanth Marepalli Date: Sat, 15 Apr 2023 00:04:22 +0530 Subject: [PATCH] qcacld-3.0: Send the 6 GHz channel in WMI_ROAM_CHAN_LIST When the Intra band INI is enabled and the STA connected in 6 GHz band the channel count and frequency are not sent in the WMI_ROAM_CHAN_LIST command as the band is not defined or unknown. As a result of this DUT is unable to trigger partial roam scan in the current connected 6 GHz channel and does a full roam scan. Add the 6 GHz band check in the Intra band enabled case. Change-Id: I765c233d1e6bf71cab186041ebd7df2293be6f05 CRs-Fixed: 3469197 --- core/sme/src/csr/csr_api_roam.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c index aea7767b52b8..d09e2611c8ea 100644 --- a/core/sme/src/csr/csr_api_roam.c +++ b/core/sme/src/csr/csr_api_roam.c @@ -1839,6 +1839,13 @@ csr_check_band_freq_match(enum band_info band, uint32_t freq) if (band == BAND_5G && WLAN_REG_IS_5GHZ_CH_FREQ(freq)) return true; + /* + * Not adding the band check for now as band_info will be soon + * replaced with reg_wifi_band enum + */ + if (WLAN_REG_IS_6GHZ_CHAN_FREQ(freq)) + return true; + return false; }