qcacld-3.0: allow STA SAP SCC on DFS

If sta_sap_scc_on_dfs_chan = 1, we
allow the SAP on STA's DFS chan.

Change-Id: I6d74f0db2247d3746047de7c65197d6634c4c6bb
CRs-Fixed: 2309846
This commit is contained in:
Liangwei Dong
2018-09-05 23:02:48 -04:00
committed by nshrivas
父節點 ba95ce632f
當前提交 8030a53419

查看文件

@@ -917,12 +917,16 @@ sap_validate_chan(struct sap_context *sap_context,
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_DEBUG,
FL("After check concurrency: con_ch:%d"),
con_ch);
sta_sap_scc_on_dfs_chan =
policy_mgr_is_sta_sap_scc_allowed_on_dfs_chan(
mac_ctx->psoc);
if (con_ch &&
(policy_mgr_sta_sap_scc_on_lte_coex_chan(
mac_ctx->psoc) ||
policy_mgr_is_safe_channel(mac_ctx->psoc,
con_ch)) &&
!wlan_reg_is_dfs_ch(mac_ctx->pdev, con_ch)) {
(!wlan_reg_is_dfs_ch(mac_ctx->pdev, con_ch) ||
sta_sap_scc_on_dfs_chan)) {
QDF_TRACE(QDF_MODULE_ID_SAP,
QDF_TRACE_LEVEL_ERROR,
"%s: Override ch %d to %d due to CC Intf",