瀏覽代碼

qcacld-3.0: Don't override 2nd 2G AP to DFS channel of 1st AP

If platform support dbs,  1st AP start on 5G DFS channel, 2nd
AP should be able to start on 2G on another MAC, no MCC will
happen.
If override 2nd AP from 2g channel to 5g, 2nd AP can't start.

Change-Id: Icee7a5c432e0b96d71b51685955d820b0f619c8d
CRs-Fixed: 2470807
Jianmin Zhu 5 年之前
父節點
當前提交
7f212f7e92
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      core/hdd/src/wlan_hdd_cfg80211.c

+ 3 - 1
core/hdd/src/wlan_hdd_cfg80211.c

@@ -1835,7 +1835,9 @@ int wlan_hdd_cfg80211_start_acs(struct hdd_adapter *adapter)
 	 * calling DFS override
 	 */
 	if (QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION !=
-	    mcc_to_scc_switch) {
+	    mcc_to_scc_switch &&
+	    !(policy_mgr_is_hw_dbs_capable(hdd_ctx->psoc) &&
+	    IS_24G_CH(sap_config->acs_cfg.end_ch))) {
 		status = wlan_hdd_sap_cfg_dfs_override(adapter);
 		if (status < 0)
 			return status;