Browse Source

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
Liangwei Dong 2 years ago
parent
commit
e3ae186003
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c

+ 1 - 1
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 */