|
@@ -2398,6 +2398,7 @@ bool policy_mgr_is_concurrency_allowed(struct wlan_objmgr_psoc *psoc,
|
|
|
uint32_t list[MAX_NUMBER_OF_CONC_CONNECTIONS];
|
|
|
struct policy_mgr_psoc_priv_obj *pm_ctx;
|
|
|
bool sta_sap_scc_on_dfs_chan;
|
|
|
+ bool go_force_scc;
|
|
|
uint32_t sta_freq;
|
|
|
enum channel_state chan_state;
|
|
|
bool is_dfs_ch = false;
|
|
@@ -2462,9 +2463,9 @@ bool policy_mgr_is_concurrency_allowed(struct wlan_objmgr_psoc *psoc,
|
|
|
|
|
|
sta_sap_scc_on_dfs_chan =
|
|
|
policy_mgr_is_sta_sap_scc_allowed_on_dfs_chan(psoc);
|
|
|
-
|
|
|
- if (!sta_sap_scc_on_dfs_chan && ((mode == PM_P2P_GO_MODE) ||
|
|
|
- (mode == PM_SAP_MODE))) {
|
|
|
+ go_force_scc = policy_mgr_go_scc_enforced(psoc);
|
|
|
+ if ((!sta_sap_scc_on_dfs_chan && mode == PM_SAP_MODE) ||
|
|
|
+ (!go_force_scc && mode == PM_P2P_GO_MODE)) {
|
|
|
if (is_dfs_ch)
|
|
|
match = policy_mgr_disallow_mcc(psoc,
|
|
|
ch_freq);
|