qcacld-3.0: Optimize CSA logs for SAP and STA

Optimize CSA logs for SAP and STA.

Change-Id: I1bd00821a2b8cbc41d530eda1aba1e7ecdd9cb7b
CRs-Fixed: 2623007
This commit is contained in:
Abhishek Singh
2020-02-14 11:07:31 +05:30
committad av nshrivas
förälder 57a0dcfc5c
incheckning c332b3eba0
25 ändrade filer med 84 tillägg och 227 borttagningar

Visa fil

@@ -2426,10 +2426,8 @@ QDF_STATUS policy_mgr_check_and_set_hw_mode_for_channel_switch(
if (!policy_mgr_is_hw_dbs_capable(psoc) ||
(!policy_mgr_is_hw_dbs_2x2_capable(psoc) &&
!policy_mgr_is_hw_dbs_required_for_band(
psoc, HW_MODE_MAC_BAND_2G))) {
policy_mgr_debug("2x2 DBS is not enabled");
psoc, HW_MODE_MAC_BAND_2G)))
return QDF_STATUS_E_NOSUPPORT;
}
/*
* Stop opportunistic timer as current connection info will change once
@@ -2443,10 +2441,8 @@ QDF_STATUS policy_mgr_check_and_set_hw_mode_for_channel_switch(
return QDF_STATUS_E_ALREADY;
}
if (wlan_reg_freq_to_band(ch_freq) != REG_BAND_2G) {
policy_mgr_debug("DBS is not required for 5Ghz chan");
if (wlan_reg_freq_to_band(ch_freq) != REG_BAND_2G)
return QDF_STATUS_E_NOSUPPORT;
}
qdf_mutex_acquire(&pm_ctx->qdf_conc_list_lock);
/*