qcacld-3.0: HTT: Reduce the log spam in Kmsg

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

CRs-Fixed: 2019261
Change-Id: I7e7d8c6f90f8f9feefbfb72217886fcd812cf39c
This commit is contained in:
Poddar, Siddarth
2017-03-14 19:39:43 +05:30
committed by Sandeep Puligilla
parent c685435961
commit 16264472d9
5 changed files with 73 additions and 55 deletions

View File

@@ -354,14 +354,14 @@ htt_pdev_alloc(ol_txrx_pdev_handle txrx_pdev,
pdev->cfg.is_full_reorder_offload =
ol_cfg_is_full_reorder_offload(pdev->ctrl_pdev);
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_DEBUG,
"is_full_reorder_offloaded? %d\n",
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_INFO,
"is_full_reorder_offloaded? %d",
(int)pdev->cfg.is_full_reorder_offload);
pdev->cfg.ce_classify_enabled =
ol_cfg_is_ce_classify_enabled(ctrl_pdev);
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_DEBUG,
"ce_classify_enabled? %d\n",
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_INFO,
"ce_classify_enabled? %d",
pdev->cfg.ce_classify_enabled);
if (pdev->cfg.is_high_latency) {
@@ -500,7 +500,8 @@ htt_attach(struct htt_pdev_t *pdev, int desc_pool_size)
} else if (frm_type == wlan_frm_fmt_802_3) {
pdev->download_len = HTT_TX_HDR_SIZE_ETHERNET;
} else {
qdf_print("Unexpected frame type spec: %d\n", frm_type);
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_ERROR,
"Unexpected frame type spec: %d", frm_type);
HTT_ASSERT0(0);
}
@@ -632,7 +633,8 @@ int htt_update_endpoint(struct htt_pdev_t *pdev,
hif_ctx = cds_get_context(QDF_MODULE_ID_HIF);
if (qdf_unlikely(NULL == hif_ctx)) {
QDF_ASSERT(NULL != hif_ctx);
qdf_print("%s:%d: assuming non-tx service.",
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_ERROR,
"%s:%d: assuming non-tx service.",
__func__, __LINE__);
} else {
ul = dl = 0xff;
@@ -640,7 +642,8 @@ int htt_update_endpoint(struct htt_pdev_t *pdev,
hif_map_service_to_pipe(hif_ctx, service_id,
&ul, &dl,
&ul_polled, &dl_polled))
qdf_print("%s:%d: assuming non-tx srv.",
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_INFO,
"%s:%d: assuming non-tx srv.",
__func__, __LINE__);
else
tx_service = (ul != 0xff);
@@ -750,7 +753,8 @@ int htt_ipa_uc_attach(struct htt_pdev_t *pdev)
ol_cfg_ipa_uc_tx_max_buf_cnt(pdev->ctrl_pdev),
ol_cfg_ipa_uc_tx_partition_base(pdev->ctrl_pdev));
if (error) {
qdf_print("HTT IPA UC TX attach fail code %d\n", error);
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_ERROR,
"HTT IPA UC TX attach fail code %d", error);
HTT_ASSERT0(0);
return error;
}
@@ -759,7 +763,8 @@ int htt_ipa_uc_attach(struct htt_pdev_t *pdev)
error = htt_rx_ipa_uc_attach(
pdev, qdf_get_pwr2(pdev->rx_ring.fill_level));
if (error) {
qdf_print("HTT IPA UC RX attach fail code %d\n", error);
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_ERROR,
"HTT IPA UC RX attach fail code %d", error);
htt_tx_ipa_uc_detach(pdev);
HTT_ASSERT0(0);
return error;
@@ -880,7 +885,8 @@ void htt_mark_first_wakeup_packet(htt_pdev_handle pdev,
uint8_t value)
{
if (!pdev) {
qdf_print("%s: htt pdev is NULL", __func__);
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_ERROR,
"%s: htt pdev is NULL", __func__);
return;
}