qcacld-3.0: Fix GO start failed in ML STA+SAP

ML STA 2.4 GHz +6 GHz and SAP on 2.4 GHz, start GO failed
because sta_sap_scc_on_dfs_chnl is 0 and driver reject the
GO start.
Fix by allow such combination for sta_sap_scc_on_dfs_chnl = 0
or sta_sap_scc_on_lte_coex_chnl = 0 per requirement.

Change-Id: I5344fee1bf790f1528d46b14c802985aa4987ac3
CRs-Fixed: 3623408
This commit is contained in:
Liangwei Dong
2023-09-24 23:32:41 -07:00
committed by Rahul Choudhary
parent d378280593
commit ec019ea59f

View File

@@ -5590,11 +5590,9 @@ static bool policy_mgr_is_concurrency_allowed_4_port(
return false;
}
if (!policy_mgr_is_dbs_enable(psoc) ||
!pm_ctx->cfg.sta_sap_scc_on_dfs_chnl ||
!pm_ctx->cfg.sta_sap_scc_on_lte_coex_chnl) {
if (!policy_mgr_is_dbs_enable(psoc)) {
policy_mgr_err(
"Couldn't start 4th port for bad cfg of dual mac, dfs scc, lte coex scc");
"Couldn't start 4th port for bad cfg of dual mac");
return false;
}
for (i = 0; i < pcl.pcl_len; i++)