mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacld-3.0: Replace kmsg logs to debug logs
Change kernel log level to debug level Change-Id: I1efa9a0498acd81f2a9a12d5712299609eb5bd06 CRs-Fixed: 3182121
This commit is contained in:
parent
75a616e429
commit
557d1042fa
6 changed files with 43 additions and 37 deletions
|
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2017-2021 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
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -800,7 +801,7 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
|
|||
pmo_info("drv wow is enabled");
|
||||
param.flags |= WMI_WOW_FLAG_ENABLE_DRV_PCIE_L1SS_SLEEP;
|
||||
} else {
|
||||
pmo_info("non-drv wow is enabled");
|
||||
pmo_debug("non-drv wow is enabled");
|
||||
}
|
||||
} else {
|
||||
pmo_info("Prevent link down, non-drv wow is enabled");
|
||||
|
|
@ -812,16 +813,16 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
|
|||
pmo_info("system suspend wow");
|
||||
param.flags |= WMI_WOW_FLAG_SYSTEM_SUSPEND_WOW;
|
||||
} else {
|
||||
pmo_info("RTPM wow");
|
||||
pmo_debug("RTPM wow");
|
||||
}
|
||||
|
||||
if (psoc_cfg->is_mod_dtim_on_sys_suspend_enabled) {
|
||||
pmo_info("mod DTIM enabled");
|
||||
pmo_debug("mod DTIM enabled");
|
||||
param.flags |= WMI_WOW_FLAG_MOD_DTIM_ON_SYS_SUSPEND;
|
||||
}
|
||||
|
||||
if (psoc_cfg->sta_forced_dtim) {
|
||||
pmo_info("forced DTIM enabled");
|
||||
pmo_debug("forced DTIM enabled");
|
||||
param.flags |= WMI_WOW_FLAG_FORCED_DTIM_ON_SYS_SUSPEND;
|
||||
}
|
||||
status = pmo_tgt_psoc_send_wow_enable_req(psoc, ¶m);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2012-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
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -6336,8 +6336,8 @@ static int drv_cmd_invalid(struct hdd_adapter *adapter,
|
|||
TRACE_CODE_HDD_UNSUPPORTED_IOCTL,
|
||||
adapter->vdev_id, 0);
|
||||
|
||||
hdd_warn("%s: Unsupported driver command \"%s\"",
|
||||
adapter->dev->name, command);
|
||||
hdd_debug("%s: Unsupported driver command \"%s\"",
|
||||
adapter->dev->name, command);
|
||||
|
||||
return -ENOTSUPP;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4632,11 +4632,11 @@ static void hdd_fill_sinfo_rate_info(struct station_info *sinfo,
|
|||
}
|
||||
}
|
||||
|
||||
hdd_info("flag %x mcs %d legacy %d nss %d",
|
||||
rate_info->flags,
|
||||
rate_info->mcs,
|
||||
rate_info->legacy,
|
||||
rate_info->nss);
|
||||
hdd_debug("flag %x mcs %d legacy %d nss %d",
|
||||
rate_info->flags,
|
||||
rate_info->mcs,
|
||||
rate_info->legacy,
|
||||
rate_info->nss);
|
||||
|
||||
if (is_tx)
|
||||
sinfo->filled |= HDD_INFO_TX_BITRATE;
|
||||
|
|
@ -4731,7 +4731,7 @@ static void hdd_fill_rate_info(struct wlan_objmgr_psoc *psoc,
|
|||
&link_speed_rssi_low,
|
||||
&link_speed_rssi_report);
|
||||
|
||||
hdd_info("reportMaxLinkSpeed %d", link_speed_rssi_report);
|
||||
hdd_debug("reportMaxLinkSpeed %d", link_speed_rssi_report);
|
||||
|
||||
/* convert to 100kbps expected in rate table */
|
||||
tx_rate = stats->tx_rate.rate / 100;
|
||||
|
|
@ -4922,20 +4922,20 @@ static void wlan_hdd_fill_station_info(struct wlan_objmgr_psoc *psoc,
|
|||
sinfo->assoc_req_ies_len = stainfo->assoc_req_ies.len;
|
||||
|
||||
/* dump sta info*/
|
||||
hdd_info("dump stainfo");
|
||||
hdd_info("con_time %d inact_time %d tx_pkts %d rx_pkts %d",
|
||||
sinfo->connected_time, sinfo->inactive_time,
|
||||
sinfo->tx_packets, sinfo->rx_packets);
|
||||
hdd_info("failed %d retries %d tx_bytes %lld rx_bytes %lld",
|
||||
sinfo->tx_failed, sinfo->tx_retries,
|
||||
sinfo->tx_bytes, sinfo->rx_bytes);
|
||||
hdd_info("rssi %d tx mcs %d legacy %d nss %d flags %x",
|
||||
sinfo->signal, sinfo->txrate.mcs,
|
||||
sinfo->txrate.legacy, sinfo->txrate.nss,
|
||||
sinfo->txrate.flags);
|
||||
hdd_info("rx mcs %d legacy %d nss %d flags %x",
|
||||
sinfo->rxrate.mcs, sinfo->rxrate.legacy,
|
||||
sinfo->rxrate.nss, sinfo->rxrate.flags);
|
||||
hdd_debug("dump stainfo");
|
||||
hdd_debug("con_time %d inact_time %d tx_pkts %d rx_pkts %d",
|
||||
sinfo->connected_time, sinfo->inactive_time,
|
||||
sinfo->tx_packets, sinfo->rx_packets);
|
||||
hdd_debug("failed %d retries %d tx_bytes %lld rx_bytes %lld",
|
||||
sinfo->tx_failed, sinfo->tx_retries,
|
||||
sinfo->tx_bytes, sinfo->rx_bytes);
|
||||
hdd_debug("rssi %d tx mcs %d legacy %d nss %d flags %x",
|
||||
sinfo->signal, sinfo->txrate.mcs,
|
||||
sinfo->txrate.legacy, sinfo->txrate.nss,
|
||||
sinfo->txrate.flags);
|
||||
hdd_debug("rx mcs %d legacy %d nss %d flags %x",
|
||||
sinfo->rxrate.mcs, sinfo->rxrate.legacy,
|
||||
sinfo->rxrate.nss, sinfo->rxrate.flags);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -5045,7 +5045,7 @@ static uint8_t hdd_get_rate_flags(uint32_t rate,
|
|||
else if (mode == SIR_SME_PHY_MODE_VHT)
|
||||
flags = hdd_get_rate_flags_vht(rate, nss, mcs);
|
||||
else
|
||||
hdd_err("invalid mode param %d", mode);
|
||||
hdd_debug("invalid mode param %d", mode);
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2021 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
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -4446,6 +4447,8 @@ void __hdd_twt_update_work_handler(struct hdd_context *hdd_ctx)
|
|||
hdd_debug("Total connection %d, sta_count %d, sap_count %d",
|
||||
num_connections, sta_count, sap_count);
|
||||
switch (num_connections) {
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
if (sta_count == 1) {
|
||||
hdd_send_twt_requestor_enable_cmd(hdd_ctx);
|
||||
|
|
@ -4489,7 +4492,7 @@ void __hdd_twt_update_work_handler(struct hdd_context *hdd_ctx)
|
|||
WLAN_HDD_ID_OBJ_MGR);
|
||||
break;
|
||||
default:
|
||||
hdd_err("Unexpected number of connection");
|
||||
hdd_debug("Unexpected number of connection");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2012-2021 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
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -1503,7 +1504,7 @@ QDF_STATUS sap_signal_hdd_event(struct sap_context *sap_ctx,
|
|||
bss_complete->status = (eSapStatus) context;
|
||||
bss_complete->staId = sap_ctx->sap_sta_id;
|
||||
|
||||
sap_info("(eSAP_START_BSS_EVENT): staId = %d",
|
||||
sap_debug("(eSAP_START_BSS_EVENT): staId = %d",
|
||||
bss_complete->staId);
|
||||
|
||||
bss_complete->operating_chan_freq = sap_ctx->chan_freq;
|
||||
|
|
|
|||
|
|
@ -330,7 +330,8 @@ static struct wma_target_req *wma_find_remove_req_msgtype(tp_wma_handle wma,
|
|||
if (QDF_STATUS_SUCCESS != qdf_list_peek_front(&wma->wma_hold_req_queue,
|
||||
&node2)) {
|
||||
qdf_spin_unlock_bh(&wma->wma_hold_req_q_lock);
|
||||
wma_err("unable to get msg node from request queue");
|
||||
wma_debug("unable to get msg node from request queue for vdev_id %d type %d",
|
||||
vdev_id, msg_type);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
@ -347,7 +348,7 @@ static struct wma_target_req *wma_find_remove_req_msgtype(tp_wma_handle wma,
|
|||
if (QDF_STATUS_SUCCESS != status) {
|
||||
qdf_spin_unlock_bh(&wma->wma_hold_req_q_lock);
|
||||
wma_debug("Failed to remove request. vdev_id %d type %d",
|
||||
vdev_id, msg_type);
|
||||
vdev_id, msg_type);
|
||||
return NULL;
|
||||
}
|
||||
break;
|
||||
|
|
@ -357,13 +358,13 @@ static struct wma_target_req *wma_find_remove_req_msgtype(tp_wma_handle wma,
|
|||
|
||||
qdf_spin_unlock_bh(&wma->wma_hold_req_q_lock);
|
||||
if (!found) {
|
||||
wma_err("target request not found for vdev_id %d type %d",
|
||||
vdev_id, msg_type);
|
||||
wma_debug("target request not found for vdev_id %d type %d",
|
||||
vdev_id, msg_type);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
wma_debug("target request found for vdev id: %d type %d",
|
||||
vdev_id, msg_type);
|
||||
vdev_id, msg_type);
|
||||
|
||||
return req_msg;
|
||||
}
|
||||
|
|
@ -4786,7 +4787,7 @@ void wma_add_sta(tp_wma_handle wma, tpAddStaParams add_sta)
|
|||
htc_vote_link_up(htc_handle);
|
||||
wmi_info("sap d0 wow");
|
||||
} else {
|
||||
wmi_info("sap d3 wow");
|
||||
wmi_debug("sap d3 wow");
|
||||
}
|
||||
wma_sap_prevent_runtime_pm(wma);
|
||||
|
||||
|
|
@ -4879,7 +4880,7 @@ void wma_delete_sta(tp_wma_handle wma, tpDeleteStaParams del_sta)
|
|||
htc_vote_link_down(htc_handle);
|
||||
wmi_info("sap d0 wow");
|
||||
} else {
|
||||
wmi_info("sap d3 wow");
|
||||
wmi_debug("sap d3 wow");
|
||||
}
|
||||
wma_sap_allow_runtime_pm(wma);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue