Преглед на файлове

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 преди 6 години
родител
ревизия
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;