qcacld-3.0: skip frequency filtering for MLO STA scenario

If MLO STA is present, allow further STA connections to all
available bands/channels irrespective of existing STA
connection band.

Change-Id: Ic7da10b2e74645b73c579b38f43bb7e3105b6f55
CRs-Fixed: 3088656
Tento commit je obsažen v:
Yu Wang
2021-12-01 14:29:02 +08:00
odevzdal Madan Koyyalamudi
rodič dd4e2f07dc
revize 987d406769
3 změnil soubory, kde provedl 56 přidání a 0 odebrání

Zobrazit soubor

@@ -496,6 +496,13 @@ wlan_cm_dual_sta_is_freq_allowed(struct wlan_objmgr_psoc *psoc,
opmode != QDF_STA_MODE)
return true;
/*
* For MLO STA scenario, allow further STA connections to all available
* bands/channels irrespective of existing STA connection band.
*/
if (policy_mgr_is_mlo_sta_present(psoc))
return true;
connected_sta_freq = op_ch_freq_list[0];
band = wlan_reg_freq_to_band(connected_sta_freq);
if ((band == REG_BAND_2G && WLAN_REG_IS_24GHZ_CH_FREQ(freq)) ||