qcacmn: Replace kmsg logs to debug logs

Change kernel log level to debug level

Change-Id: Ib2736aff0f653d046d502d460f204bba2247246f
CRs-Fixed: 3182588
This commit is contained in:
Aravind Kishore Sukla
2022-04-22 16:16:02 +05:30
committed by Madan Koyyalamudi
parent 19f0a435c6
commit 6932ea7f8a
9 changed files with 20 additions and 19 deletions

View File

@@ -3154,7 +3154,7 @@ static void dp_htt_t2h_msg_handler(void *context, HTC_PACKET *pkt)
(u_int8_t *) (msg_word+1), (u_int8_t *) (msg_word+1),
&mac_addr_deswizzle_buf[0]); &mac_addr_deswizzle_buf[0]);
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE(QDF_MODULE_ID_TXRX,
QDF_TRACE_LEVEL_INFO, QDF_TRACE_LEVEL_DEBUG,
"HTT_T2H_MSG_TYPE_PEER_MAP msg for peer id %d vdev id %d n", "HTT_T2H_MSG_TYPE_PEER_MAP msg for peer id %d vdev id %d n",
peer_id, vdev_id); peer_id, vdev_id);
@@ -3364,7 +3364,7 @@ static void dp_htt_t2h_msg_handler(void *context, HTC_PACKET *pkt)
HTT_RX_PEER_MAP_V2_TID_VALID_HI_PRI_GET(*(msg_word + 5)); HTT_RX_PEER_MAP_V2_TID_VALID_HI_PRI_GET(*(msg_word + 5));
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE(QDF_MODULE_ID_TXRX,
QDF_TRACE_LEVEL_INFO, QDF_TRACE_LEVEL_DEBUG,
"HTT_T2H_MSG_TYPE_PEER_MAP msg for peer id %d vdev id %d n", "HTT_T2H_MSG_TYPE_PEER_MAP msg for peer id %d vdev id %d n",
peer_id, vdev_id); peer_id, vdev_id);

View File

@@ -73,8 +73,8 @@ dp_tx_initialize_threshold(struct dp_tx_desc_pool_s *pool,
pool->stop_th[DP_TH_HI] = (pool->stop_th[DP_TH_BE_BK] pool->stop_th[DP_TH_HI] = (pool->stop_th[DP_TH_BE_BK]
* FL_TH_HI_PERCENTAGE) / 100; * FL_TH_HI_PERCENTAGE) / 100;
dp_info("tx flow control threshold is set, pool size is %d", dp_debug("tx flow control threshold is set, pool size is %d",
flow_pool_size); flow_pool_size);
} }
/** /**
@@ -568,9 +568,9 @@ void dp_tx_flow_pool_unmap_handler(struct dp_pdev *pdev, uint8_t flow_id,
struct dp_tx_desc_pool_s *pool; struct dp_tx_desc_pool_s *pool;
enum htt_flow_type type = flow_type; enum htt_flow_type type = flow_type;
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO, QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
"%s: flow_id %d flow_type %d flow_pool_id %d", "%s: flow_id %d flow_type %d flow_pool_id %d",
__func__, flow_id, flow_type, flow_pool_id); __func__, flow_id, flow_type, flow_pool_id);
if (qdf_unlikely(!pdev)) { if (qdf_unlikely(!pdev)) {
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR, QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,

View File

@@ -837,7 +837,7 @@ void hif_latency_detect_timer_start(struct hif_opaque_softc *hif_ctx)
if (QDF_GLOBAL_MISSION_MODE != hif_get_conparam(scn)) if (QDF_GLOBAL_MISSION_MODE != hif_get_conparam(scn))
return; return;
hif_info_rl("start timer"); hif_debug_rl("start timer");
if (scn->latency_detect.is_timer_started) { if (scn->latency_detect.is_timer_started) {
hif_info("timer has been started"); hif_info("timer has been started");
return; return;
@@ -855,7 +855,7 @@ void hif_latency_detect_timer_stop(struct hif_opaque_softc *hif_ctx)
if (QDF_GLOBAL_MISSION_MODE != hif_get_conparam(scn)) if (QDF_GLOBAL_MISSION_MODE != hif_get_conparam(scn))
return; return;
hif_info_rl("stop timer"); hif_debug_rl("stop timer");
qdf_timer_sync_cancel(&scn->latency_detect.detect_latency_timer); qdf_timer_sync_cancel(&scn->latency_detect.detect_latency_timer);
scn->latency_detect.is_timer_started = false; scn->latency_detect.is_timer_started = false;

View File

@@ -1,6 +1,6 @@
/* /*
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved. * Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -295,7 +295,7 @@ wlan_cfr_peer_obj_create_handler(struct wlan_objmgr_peer *peer, void *arg)
} }
if (wlan_cfr_is_feature_disabled(pdev)) { if (wlan_cfr_is_feature_disabled(pdev)) {
cfr_info("cfr is disabled"); cfr_debug("cfr is disabled");
return QDF_STATUS_E_NOSUPPORT; return QDF_STATUS_E_NOSUPPORT;
} }

View File

@@ -132,7 +132,7 @@ QDF_STATUS wlan_dcs_cmd_send(struct wlan_objmgr_psoc *psoc,
dcs_tx_ops = target_if_dcs_get_tx_ops(psoc); dcs_tx_ops = target_if_dcs_get_tx_ops(psoc);
if (dcs_tx_ops && dcs_tx_ops->dcs_cmd_send) { if (dcs_tx_ops && dcs_tx_ops->dcs_cmd_send) {
dcs_info("dcs_enable: %u, pdev_id: %u", dcs_enable, pdev_id); dcs_debug("dcs_enable: %u, pdev_id: %u", dcs_enable, pdev_id);
return dcs_tx_ops->dcs_cmd_send(psoc, return dcs_tx_ops->dcs_cmd_send(psoc,
pdev_id, pdev_id,
is_host_pdev_id, is_host_pdev_id,

View File

@@ -1054,7 +1054,7 @@ void utils_dfs_init_nol(struct wlan_objmgr_pdev *pdev)
dfs_info(dfs, WLAN_DEBUG_DFS_ALWAYS, "nol channels in pld"); dfs_info(dfs, WLAN_DEBUG_DFS_ALWAYS, "nol channels in pld");
DFS_PRINT_NOL_LOCKED(dfs); DFS_PRINT_NOL_LOCKED(dfs);
} else { } else {
dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "no nol in pld"); dfs_debug(dfs, WLAN_DEBUG_DFS_ALWAYS, "no nol in pld");
} }
qdf_mem_free(dfs_nolinfo); qdf_mem_free(dfs_nolinfo);
} }

View File

@@ -1,5 +1,6 @@
/* /*
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -414,7 +415,7 @@ QDF_STATUS wlan_green_ap_del_sta(struct wlan_objmgr_pdev *pdev)
qdf_spin_lock_bh(&green_ap_ctx->lock); qdf_spin_lock_bh(&green_ap_ctx->lock);
if (wlan_is_egap_enabled(green_ap_ctx)) { if (wlan_is_egap_enabled(green_ap_ctx)) {
qdf_spin_unlock_bh(&green_ap_ctx->lock); qdf_spin_unlock_bh(&green_ap_ctx->lock);
green_ap_info("enhanced green ap support is enabled"); green_ap_debug("enhanced green ap support is enabled");
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
} }
qdf_spin_unlock_bh(&green_ap_ctx->lock); qdf_spin_unlock_bh(&green_ap_ctx->lock);

View File

@@ -1530,7 +1530,7 @@ uint8_t reg_freq_to_chan(struct wlan_objmgr_pdev *pdev,
enum supported_6g_pwr_types input_6g_pwr_mode = REG_AP_LPI; enum supported_6g_pwr_types input_6g_pwr_mode = REG_AP_LPI;
if (freq == 0) { if (freq == 0) {
reg_err_rl("Invalid freq %d", freq); reg_debug_rl("Invalid freq %d", freq);
return 0; return 0;
} }

View File

@@ -2064,10 +2064,10 @@ static QDF_STATUS send_wow_enable_cmd_tlv(wmi_unified_t wmi_handle,
cmd->pause_iface_config = WOW_IFACE_PAUSE_DISABLED; cmd->pause_iface_config = WOW_IFACE_PAUSE_DISABLED;
cmd->flags = param->flags; cmd->flags = param->flags;
wmi_info("suspend type: %s flag is 0x%x", wmi_debug("suspend type: %s flag is 0x%x",
cmd->pause_iface_config == WOW_IFACE_PAUSE_ENABLED ? cmd->pause_iface_config == WOW_IFACE_PAUSE_ENABLED ?
"WOW_IFACE_PAUSE_ENABLED" : "WOW_IFACE_PAUSE_DISABLED", "WOW_IFACE_PAUSE_ENABLED" : "WOW_IFACE_PAUSE_DISABLED",
cmd->flags); cmd->flags);
wmi_mtrace(WMI_WOW_ENABLE_CMDID, NO_SESSION, 0); wmi_mtrace(WMI_WOW_ENABLE_CMDID, NO_SESSION, 0);
ret = wmi_unified_cmd_send(wmi_handle, buf, len, ret = wmi_unified_cmd_send(wmi_handle, buf, len,