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
This commit is contained in:
Srikanth Marepalli 2023-04-15 00:04:22 +05:30
commit dc9af4e7fb

View file

@ -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;
}