qcacld-3.0: Add SAP P2P GO MCC check for concurrency

Allow SAP and P2P GO mode MCC in same band if
wmi_service_dual_beacon_on_single_mac_mcc_support is
supported.

Change-Id: I228916df7166c9eddb829e423222da7803e3c7d2
CRs-Fixed: 3176081
This commit is contained in:
Liangwei Dong
2022-04-13 16:26:36 +08:00
committed by Madan Koyyalamudi
parent 3cfad6ada3
commit 7bc28b7bf6

View File

@@ -6484,7 +6484,8 @@ bool policy_mgr_allow_sap_go_concurrency(struct wlan_objmgr_psoc *psoc,
} }
if (policy_mgr_dual_beacon_on_single_mac_mcc_capable(psoc) && if (policy_mgr_dual_beacon_on_single_mac_mcc_capable(psoc) &&
(mode == PM_SAP_MODE) && (con_mode == PM_SAP_MODE)) (mode == PM_SAP_MODE || mode == PM_P2P_GO_MODE) &&
(con_mode == PM_SAP_MODE || con_mode == PM_P2P_GO_MODE))
return true; return true;
if (policy_mgr_dual_beacon_on_single_mac_scc_capable(psoc) && if (policy_mgr_dual_beacon_on_single_mac_scc_capable(psoc) &&