From e3ae186003249624d7d745e21b5ca7a18419fa94 Mon Sep 17 00:00:00 2001 From: Liangwei Dong Date: Tue, 29 Nov 2022 14:22:28 +0800 Subject: [PATCH] qcacld-3.0: Limit mandatory channel policy to 2 vdev concurrency The mandatory channel policy was created for STA + SAP 2 vdev concurrency case. For MLO STA (2+5/6) + SAP 3 vdev concurrency case, use general force SCC logic until the requirement is updated in this case. Change-Id: Ifca16824d53f272adc5b6ff763c1b4cc08af6a2f CRs-Fixed: 3347722 --- components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c b/components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c index b9dea28bd9..1e15674028 100644 --- a/components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c +++ b/components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c @@ -4545,7 +4545,7 @@ void policy_mgr_check_scc_sbs_channel(struct wlan_objmgr_psoc *psoc, *intf_ch_freq = 0; return; } - } else if (sta_count && + } else if (sta_count && sta_count < 2 && policy_mgr_is_hw_dbs_capable(psoc) && cc_mode == QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL) { /* Same band with Fav channel if STA is present */