qcacld-3.0: Reject NAN enable if DFS CAC is in progress
When host handles hw_mode, host rejects NAN if CAC is in progress as NAN always expect hw_mode DBS and set_hw_mode can't be done while DFS CAC is going on. But in hw_mode offloaded solutions, host doesn't have control on set_hw_mode. Host can expect firmware to take care of NAN+CAC scenario but that causes some out of sync issues. So, reject NAN if DFS CAC is running. Framework/application may retry later. Change-Id: Icf4367c9185511e732379df2a32bf7889b9b101b CRs-Fixed: 3614017
This commit is contained in:
committed by
Rahul Choudhary
parent
517b5f9e72
commit
038ed212d3
@@ -2157,6 +2157,11 @@ policy_mgr_nan_sap_pre_enable_conc_check(struct wlan_objmgr_psoc *psoc,
|
|||||||
policy_mgr_debug("NAN+SAP unsafe ch SCC disabled");
|
policy_mgr_debug("NAN+SAP unsafe ch SCC disabled");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (pm_ctx->hdd_cbacks.hdd_is_cac_in_progress &&
|
||||||
|
pm_ctx->hdd_cbacks.hdd_is_cac_in_progress()) {
|
||||||
|
policy_mgr_debug("DFS CAC in progress, reject NAN enable");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
} else if (policy_mgr_is_sap_mode(mode)) {
|
} else if (policy_mgr_is_sap_mode(mode)) {
|
||||||
nan_2g_freq =
|
nan_2g_freq =
|
||||||
policy_mgr_mode_specific_get_channel(pm_ctx->psoc,
|
policy_mgr_mode_specific_get_channel(pm_ctx->psoc,
|
||||||
|
|||||||
Reference in New Issue
Block a user