1
0

qcacld-3.0: Avoid SBS channels missing in scan filter

In dual STA case, driver will avoid selecting candidates causing
MCC, but the current hw mode may have some delay updated from firmware.
So the API policy_mgr_are_2_freq_on_same_mac may not get correct
DBS or SBS channel state of two channel frequency.
Fix it by do not depending on current hw mode by using API
policy_mgr_2_freq_always_on_same_mac to check potential MCC or
not of two channel frequency.

Change-Id: I7d5382e786c421d5f99578e08b62b07864f48974
CRs-Fixed: 3441024
Este cometimento está contido em:
Liangwei Dong
2023-03-21 15:52:21 +08:00
cometido por Madan Koyyalamudi
ascendente 75164a148e
cometimento c72ac1a9e4

Ver ficheiro

@@ -444,7 +444,8 @@ wlan_cm_dual_sta_is_freq_allowed(struct wlan_objmgr_psoc *psoc,
if (!connected_sta_freq)
return true;
if (policy_mgr_are_2_freq_on_same_mac(psoc, freq, connected_sta_freq))
if (policy_mgr_2_freq_always_on_same_mac(psoc, freq,
connected_sta_freq))
return false;
return true;