qcacld-3.0: CDS: Reduce the log spam in kmsg

Move the logs to appropriate log levels to reduce
the log spam in kmsg.

Change-Id: Iaa3cc1925d0ddc59de910a2ad0d2090fec63c18a
CRs-Fixed: 2014745
This commit is contained in:
Srinivas Girigowda 2017-03-09 19:29:42 -08:00
commit d395b89a43
3 changed files with 5 additions and 10 deletions

View file

@ -635,7 +635,7 @@ QDF_STATUS cds_pre_enable(v_CONTEXT_t cds_context)
void *scn;
void *soc = cds_get_context(QDF_MODULE_ID_SOC);
QDF_TRACE(QDF_MODULE_ID_SYS, QDF_TRACE_LEVEL_INFO, "cds prestart");
QDF_TRACE(QDF_MODULE_ID_SYS, QDF_TRACE_LEVEL_DEBUG, "cds prestart");
if (gp_cds_context != p_cds_context) {
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
"%s: Context mismatch", __func__);
@ -753,9 +753,6 @@ QDF_STATUS cds_enable(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context)
p_cds_contextType p_cds_context = (p_cds_contextType) cds_context;
tHalMacStartParameters halStartParams;
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_INFO,
"%s: Starting Libra SW", __func__);
/* We support only one instance for now ... */
if (gp_cds_context != p_cds_context) {
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
@ -827,8 +824,6 @@ QDF_STATUS cds_enable(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context)
goto err_soc_target_detach;
}
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_INFO,
"TL correctly started");
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_INFO,
"%s: CDS Start is successful!!", __func__);

View file

@ -681,8 +681,8 @@ static void cds_set_5g_channel_params(uint16_t oper_ch,
(bonded_chan_ptr->start_ch +
bonded_chan_ptr->end_ch)/2;
}
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_INFO,
"ch %d ch_wd %d freq0 %d freq1 %d", oper_ch,
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_DEBUG,
"ch: %d ch_wd: %d freq0: %d freq1: %d", oper_ch,
ch_params->ch_width, ch_params->center_freq_seg0,
ch_params->center_freq_seg1);
}

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011,2013-2016 The Linux Foundation. All rights reserved.
* Copyright (c) 2011,2013-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@ -758,7 +758,7 @@ void cds_set_wma_dfs_region(uint8_t dfs_region)
return;
}
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_INFO,
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_DEBUG,
"dfs_region: %d", dfs_region);
wma_set_dfs_region(wma, dfs_region);