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:

committed by
Madan Koyyalamudi

parent
869664264d
commit
8282e8af3c
@@ -808,7 +808,7 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
|
|||||||
pmo_info("drv wow is enabled");
|
pmo_info("drv wow is enabled");
|
||||||
param.flags |= WMI_WOW_FLAG_ENABLE_DRV_PCIE_L1SS_SLEEP;
|
param.flags |= WMI_WOW_FLAG_ENABLE_DRV_PCIE_L1SS_SLEEP;
|
||||||
} else {
|
} else {
|
||||||
pmo_info("non-drv wow is enabled");
|
pmo_debug("non-drv wow is enabled");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
pmo_info("Prevent link down, non-drv wow is enabled");
|
pmo_info("Prevent link down, non-drv wow is enabled");
|
||||||
@@ -824,16 +824,16 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
|
|||||||
} else if (type == QDF_UNIT_TEST_WOW_SUSPEND) {
|
} else if (type == QDF_UNIT_TEST_WOW_SUSPEND) {
|
||||||
pmo_info("unit test wow suspend");
|
pmo_info("unit test wow suspend");
|
||||||
} else {
|
} else {
|
||||||
pmo_info("RTPM wow");
|
pmo_debug("RTPM wow");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (psoc_cfg->is_mod_dtim_on_sys_suspend_enabled) {
|
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;
|
param.flags |= WMI_WOW_FLAG_MOD_DTIM_ON_SYS_SUSPEND;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (psoc_cfg->sta_forced_dtim) {
|
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;
|
param.flags |= WMI_WOW_FLAG_FORCED_DTIM_ON_SYS_SUSPEND;
|
||||||
}
|
}
|
||||||
status = pmo_tgt_psoc_send_wow_enable_req(psoc, ¶m);
|
status = pmo_tgt_psoc_send_wow_enable_req(psoc, ¶m);
|
||||||
|
@@ -5966,8 +5966,8 @@ static int drv_cmd_invalid(struct hdd_adapter *adapter,
|
|||||||
TRACE_CODE_HDD_UNSUPPORTED_IOCTL,
|
TRACE_CODE_HDD_UNSUPPORTED_IOCTL,
|
||||||
adapter->vdev_id, 0);
|
adapter->vdev_id, 0);
|
||||||
|
|
||||||
hdd_warn("%s: Unsupported driver command \"%s\"",
|
hdd_debug("%s: Unsupported driver command \"%s\"",
|
||||||
adapter->dev->name, command);
|
adapter->dev->name, command);
|
||||||
|
|
||||||
return -ENOTSUPP;
|
return -ENOTSUPP;
|
||||||
}
|
}
|
||||||
|
@@ -1632,7 +1632,7 @@ QDF_STATUS hdd_softap_change_sta_state(struct hdd_adapter *adapter,
|
|||||||
WLAN_LEGACY_MAC_ID);
|
WLAN_LEGACY_MAC_ID);
|
||||||
|
|
||||||
if (!peer) {
|
if (!peer) {
|
||||||
hdd_err("peer is null");
|
hdd_debug("peer is null");
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
mldaddr = (struct qdf_mac_addr *)wlan_peer_mlme_get_mldaddr(peer);
|
mldaddr = (struct qdf_mac_addr *)wlan_peer_mlme_get_mldaddr(peer);
|
||||||
|
@@ -4689,11 +4689,11 @@ static void hdd_fill_sinfo_rate_info(struct station_info *sinfo,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hdd_info("flag %x mcs %d legacy %d nss %d",
|
hdd_debug("flag %x mcs %d legacy %d nss %d",
|
||||||
rate_info->flags,
|
rate_info->flags,
|
||||||
rate_info->mcs,
|
rate_info->mcs,
|
||||||
rate_info->legacy,
|
rate_info->legacy,
|
||||||
rate_info->nss);
|
rate_info->nss);
|
||||||
|
|
||||||
if (is_tx)
|
if (is_tx)
|
||||||
sinfo->filled |= HDD_INFO_TX_BITRATE;
|
sinfo->filled |= HDD_INFO_TX_BITRATE;
|
||||||
@@ -4788,7 +4788,7 @@ static void hdd_fill_rate_info(struct wlan_objmgr_psoc *psoc,
|
|||||||
&link_speed_rssi_low,
|
&link_speed_rssi_low,
|
||||||
&link_speed_rssi_report);
|
&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 */
|
/* convert to 100kbps expected in rate table */
|
||||||
tx_rate = stats->tx_rate.rate / 100;
|
tx_rate = stats->tx_rate.rate / 100;
|
||||||
@@ -5004,20 +5004,20 @@ static void wlan_hdd_fill_station_info(struct wlan_objmgr_psoc *psoc,
|
|||||||
sinfo->assoc_req_ies_len = stainfo->assoc_req_ies.len;
|
sinfo->assoc_req_ies_len = stainfo->assoc_req_ies.len;
|
||||||
|
|
||||||
/* dump sta info*/
|
/* dump sta info*/
|
||||||
hdd_info("dump stainfo");
|
hdd_debug("dump stainfo");
|
||||||
hdd_info("con_time %d inact_time %d tx_pkts %d rx_pkts %d",
|
hdd_debug("con_time %d inact_time %d tx_pkts %d rx_pkts %d",
|
||||||
sinfo->connected_time, sinfo->inactive_time,
|
sinfo->connected_time, sinfo->inactive_time,
|
||||||
sinfo->tx_packets, sinfo->rx_packets);
|
sinfo->tx_packets, sinfo->rx_packets);
|
||||||
hdd_info("failed %d retries %d tx_bytes %lld rx_bytes %lld",
|
hdd_debug("failed %d retries %d tx_bytes %lld rx_bytes %lld",
|
||||||
sinfo->tx_failed, sinfo->tx_retries,
|
sinfo->tx_failed, sinfo->tx_retries,
|
||||||
sinfo->tx_bytes, sinfo->rx_bytes);
|
sinfo->tx_bytes, sinfo->rx_bytes);
|
||||||
hdd_info("rssi %d tx mcs %d legacy %d nss %d flags %x",
|
hdd_debug("rssi %d tx mcs %d legacy %d nss %d flags %x",
|
||||||
sinfo->signal, sinfo->txrate.mcs,
|
sinfo->signal, sinfo->txrate.mcs,
|
||||||
sinfo->txrate.legacy, sinfo->txrate.nss,
|
sinfo->txrate.legacy, sinfo->txrate.nss,
|
||||||
sinfo->txrate.flags);
|
sinfo->txrate.flags);
|
||||||
hdd_info("rx mcs %d legacy %d nss %d flags %x",
|
hdd_debug("rx mcs %d legacy %d nss %d flags %x",
|
||||||
sinfo->rxrate.mcs, sinfo->rxrate.legacy,
|
sinfo->rxrate.mcs, sinfo->rxrate.legacy,
|
||||||
sinfo->rxrate.nss, sinfo->rxrate.flags);
|
sinfo->rxrate.nss, sinfo->rxrate.flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -5127,7 +5127,7 @@ static uint8_t hdd_get_rate_flags(uint32_t rate,
|
|||||||
else if (mode == SIR_SME_PHY_MODE_VHT)
|
else if (mode == SIR_SME_PHY_MODE_VHT)
|
||||||
flags = hdd_get_rate_flags_vht(rate, nss, mcs);
|
flags = hdd_get_rate_flags_vht(rate, nss, mcs);
|
||||||
else
|
else
|
||||||
hdd_err("invalid mode param %d", mode);
|
hdd_debug("invalid mode param %d", mode);
|
||||||
|
|
||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
@@ -4771,6 +4771,8 @@ void __hdd_twt_update_work_handler(struct hdd_context *hdd_ctx)
|
|||||||
hdd_debug("Total connection %d, sta_count %d, sap_count %d",
|
hdd_debug("Total connection %d, sta_count %d, sap_count %d",
|
||||||
num_connections, sta_count, sap_count);
|
num_connections, sta_count, sap_count);
|
||||||
switch (num_connections) {
|
switch (num_connections) {
|
||||||
|
case 0:
|
||||||
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
if (sta_count == 1) {
|
if (sta_count == 1) {
|
||||||
hdd_send_twt_requestor_enable_cmd(hdd_ctx);
|
hdd_send_twt_requestor_enable_cmd(hdd_ctx);
|
||||||
@@ -4843,7 +4845,7 @@ void __hdd_twt_update_work_handler(struct hdd_context *hdd_ctx)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
hdd_err("Unexpected number of connection");
|
hdd_debug("Unexpected number of connection");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -2185,7 +2185,7 @@ QDF_STATUS sap_signal_hdd_event(struct sap_context *sap_ctx,
|
|||||||
bss_complete->status = (eSapStatus) context;
|
bss_complete->status = (eSapStatus) context;
|
||||||
bss_complete->staId = sap_ctx->sap_sta_id;
|
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->staId);
|
||||||
|
|
||||||
bss_complete->operating_chan_freq = sap_ctx->chan_freq;
|
bss_complete->operating_chan_freq = sap_ctx->chan_freq;
|
||||||
|
@@ -348,7 +348,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,
|
if (QDF_STATUS_SUCCESS != qdf_list_peek_front(&wma->wma_hold_req_queue,
|
||||||
&node2)) {
|
&node2)) {
|
||||||
qdf_spin_unlock_bh(&wma->wma_hold_req_q_lock);
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -365,7 +366,7 @@ static struct wma_target_req *wma_find_remove_req_msgtype(tp_wma_handle wma,
|
|||||||
if (QDF_STATUS_SUCCESS != status) {
|
if (QDF_STATUS_SUCCESS != status) {
|
||||||
qdf_spin_unlock_bh(&wma->wma_hold_req_q_lock);
|
qdf_spin_unlock_bh(&wma->wma_hold_req_q_lock);
|
||||||
wma_debug("Failed to remove request. vdev_id %d type %d",
|
wma_debug("Failed to remove request. vdev_id %d type %d",
|
||||||
vdev_id, msg_type);
|
vdev_id, msg_type);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -375,13 +376,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);
|
qdf_spin_unlock_bh(&wma->wma_hold_req_q_lock);
|
||||||
if (!found) {
|
if (!found) {
|
||||||
wma_err("target request not found for vdev_id %d type %d",
|
wma_debug("target request not found for vdev_id %d type %d",
|
||||||
vdev_id, msg_type);
|
vdev_id, msg_type);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
wma_debug("target request found for vdev id: %d type %d",
|
wma_debug("target request found for vdev id: %d type %d",
|
||||||
vdev_id, msg_type);
|
vdev_id, msg_type);
|
||||||
|
|
||||||
return req_msg;
|
return req_msg;
|
||||||
}
|
}
|
||||||
@@ -5390,7 +5391,7 @@ void wma_add_sta(tp_wma_handle wma, tpAddStaParams add_sta)
|
|||||||
htc_vote_link_up(htc_handle, HTC_LINK_VOTE_SAP_USER_ID);
|
htc_vote_link_up(htc_handle, HTC_LINK_VOTE_SAP_USER_ID);
|
||||||
wmi_info("sap d0 wow");
|
wmi_info("sap d0 wow");
|
||||||
} else {
|
} else {
|
||||||
wmi_info("sap d3 wow");
|
wmi_debug("sap d3 wow");
|
||||||
wma_sap_d3_wow_client_connect(wma);
|
wma_sap_d3_wow_client_connect(wma);
|
||||||
}
|
}
|
||||||
wma_sap_prevent_runtime_pm(wma);
|
wma_sap_prevent_runtime_pm(wma);
|
||||||
@@ -5492,7 +5493,7 @@ void wma_delete_sta(tp_wma_handle wma, tpDeleteStaParams del_sta)
|
|||||||
HTC_LINK_VOTE_SAP_USER_ID);
|
HTC_LINK_VOTE_SAP_USER_ID);
|
||||||
wmi_info("sap d0 wow");
|
wmi_info("sap d0 wow");
|
||||||
} else {
|
} else {
|
||||||
wmi_info("sap d3 wow");
|
wmi_debug("sap d3 wow");
|
||||||
wma_sap_d3_wow_client_disconnect(wma);
|
wma_sap_d3_wow_client_disconnect(wma);
|
||||||
}
|
}
|
||||||
wma_sap_allow_runtime_pm(wma);
|
wma_sap_allow_runtime_pm(wma);
|
||||||
|
Reference in New Issue
Block a user