qcacld-3.0: Reduce log level for few prints to debug

Change log level for few messages from info/warn/err
to debug.

Change-Id: I2fd3df21d70326301b39b91efdf827d6b391f4e3
CRs-Fixed: 2301924
This commit is contained in:
Yeshwanth Sriram Guntuka
2018-08-23 18:08:44 +05:30
committed by nshrivas
vanhempi 7813a3d4e0
commit cbe6144d29
10 muutettua tiedostoa jossa 20 lisäystä ja 20 poistoa

Näytä tiedosto

@@ -2374,8 +2374,8 @@ QDF_STATUS cds_flush_logs(uint32_t is_fatal,
return QDF_STATUS_E_FAILURE; return QDF_STATUS_E_FAILURE;
} }
cds_info("Triggering bug report: type:%d, indicator=%d reason_code=%d", cds_debug("Triggering bug report: type:%d, indicator=%d reason_code=%d",
is_fatal, indicator, reason_code); is_fatal, indicator, reason_code);
if (dump_mac_trace) if (dump_mac_trace)
qdf_trace_dump_all(p_cds_context->mac_context, 0, 0, 500, 0); qdf_trace_dump_all(p_cds_context->mac_context, 0, 0, 500, 0);

Näytä tiedosto

@@ -1845,9 +1845,9 @@ void lim_update_fils_rik(tpPESession pe_session,
if ((!lim_is_fils_connection(pe_session) || if ((!lim_is_fils_connection(pe_session) ||
!pe_fils_info) && (req_buffer->is_fils_connection)) { !pe_fils_info) && (req_buffer->is_fils_connection)) {
if (roam_fils_params->rrk_length > FILS_MAX_RRK_LENGTH) { if (roam_fils_params->rrk_length > FILS_MAX_RRK_LENGTH) {
pe_err("FILS rrk len(%d) max (%d)", pe_debug("FILS rrk len(%d) max (%d)",
roam_fils_params->rrk_length, roam_fils_params->rrk_length,
FILS_MAX_RRK_LENGTH); FILS_MAX_RRK_LENGTH);
return; return;
} }

Näytä tiedosto

@@ -5288,9 +5288,9 @@ static void lim_process_update_add_ies(tpAniSirGlobal mac_ctx,
update_ie->bssid.bytes, &session_id); update_ie->bssid.bytes, &session_id);
if (NULL == session_entry) { if (NULL == session_entry) {
pe_err("Session not found for given bssid" pe_debug("Session not found for given bssid"
MAC_ADDRESS_STR, MAC_ADDRESS_STR,
MAC_ADDR_ARRAY(update_ie->bssid.bytes)); MAC_ADDR_ARRAY(update_ie->bssid.bytes));
goto end; goto end;
} }
addn_ie = &session_entry->addIeParams; addn_ie = &session_entry->addIeParams;

Näytä tiedosto

@@ -2980,7 +2980,7 @@ lim_enable_11a_protection(tpAniSirGlobal mac_ctx,
} }
/* This part is common for station as well. */ /* This part is common for station as well. */
if (false == pe_session->beaconParams.llaCoexist) { if (false == pe_session->beaconParams.llaCoexist) {
pe_warn(" => protection from 11A Enabled"); pe_debug(" => protection from 11A Enabled");
bcn_prms->llaCoexist = true; bcn_prms->llaCoexist = true;
pe_session->beaconParams.llaCoexist = true; pe_session->beaconParams.llaCoexist = true;
bcn_prms->paramChangeBitmap |= PARAM_llACOEXIST_CHANGED; bcn_prms->paramChangeBitmap |= PARAM_llACOEXIST_CHANGED;
@@ -5685,7 +5685,7 @@ void lim_diag_mgmt_rx_event_report(tpAniSirGlobal mac_ctx, void *mgmt_hdr,
WLAN_HOST_DIAG_EVENT_DEF(mgmt_event, WLAN_HOST_DIAG_EVENT_DEF(mgmt_event,
struct host_event_wlan_mgmt_payload_type); struct host_event_wlan_mgmt_payload_type);
if (!session || !mac_hdr) { if (!session || !mac_hdr) {
pe_err("not valid input"); pe_debug("not valid input");
return; return;
} }
lim_diag_fill_mgmt_event_report(mac_ctx, mac_hdr, session, lim_diag_fill_mgmt_event_report(mac_ctx, mac_hdr, session,

Näytä tiedosto

@@ -754,7 +754,7 @@ QDF_STATUS sme_ps_enable_auto_ps_timer(tHalHandle hal_ctx,
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) { if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
if (QDF_STATUS_E_ALREADY == qdf_status) { if (QDF_STATUS_E_ALREADY == qdf_status) {
/* Consider this ok since the timer is already started*/ /* Consider this ok since the timer is already started*/
sme_warn("auto_ps_timer is already started"); sme_debug("auto_ps_timer is already started");
} else { } else {
sme_err("Cannot start auto_ps_timer"); sme_err("Cannot start auto_ps_timer");
return QDF_STATUS_E_FAILURE; return QDF_STATUS_E_FAILURE;

Näytä tiedosto

@@ -5697,7 +5697,7 @@ void wma_delete_bss(tp_wma_handle wma, tpDeleteBssParams params)
goto detach_peer; goto detach_peer;
} }
WMA_LOGW(FL("Outstanding msdu packets: %d"), WMA_LOGD(FL("Outstanding msdu packets: %d"),
cdp_get_tx_pending(soc, pdev)); cdp_get_tx_pending(soc, pdev));
wma_wait_tx_complete(wma, params->smesessionId); wma_wait_tx_complete(wma, params->smesessionId);

Näytä tiedosto

@@ -4646,7 +4646,7 @@ int wma_apf_read_work_memory_event_handler(void *handle, uint8_t *evt_buf,
QDF_STATUS status; QDF_STATUS status;
tpAniSirGlobal pmac = cds_get_context(QDF_MODULE_ID_PE); tpAniSirGlobal pmac = cds_get_context(QDF_MODULE_ID_PE);
WMA_LOGI(FL("handle:%pK event:%pK len:%u"), handle, evt_buf, len); WMA_LOGD(FL("handle:%pK event:%pK len:%u"), handle, evt_buf, len);
wma_handle = handle; wma_handle = handle;
if (!wma_handle) { if (!wma_handle) {

Näytä tiedosto

@@ -1500,7 +1500,7 @@ static void wma_process_cli_set_cmd(tp_wma_handle wma,
privcmd->param_value); privcmd->param_value);
break; break;
default: default:
WMA_LOGE("Invalid wma_cli_set vdev command/Not yet implemented 0x%x", WMA_LOGD("Invalid wma_cli_set vdev command/Not yet implemented 0x%x",
privcmd->param_id); privcmd->param_id);
break; break;
} }
@@ -1994,7 +1994,7 @@ static void wma_state_info_dump(char **buf_ptr, uint16_t *size)
return; return;
} }
WMA_LOGE("%s: size of buffer: %d", __func__, *size); WMA_LOGD("%s: size of buffer: %d", __func__, *size);
for (vdev_id = 0; vdev_id < wma->max_bssid; vdev_id++) { for (vdev_id = 0; vdev_id < wma->max_bssid; vdev_id++) {
iface = &wma->interfaces[vdev_id]; iface = &wma->interfaces[vdev_id];
@@ -7675,8 +7675,8 @@ static QDF_STATUS wma_process_limit_off_chan(tp_wma_handle wma_handle,
return QDF_STATUS_E_INVAL; return QDF_STATUS_E_INVAL;
} }
if (!wma_is_vdev_up(param->vdev_id)) { if (!wma_is_vdev_up(param->vdev_id)) {
WMA_LOGE("vdev %d is not up skipping limit_off_chan_param", WMA_LOGD("vdev %d is not up skipping limit_off_chan_param",
param->vdev_id); param->vdev_id);
return QDF_STATUS_E_INVAL; return QDF_STATUS_E_INVAL;
} }
@@ -8535,7 +8535,7 @@ void wma_log_completion_timeout(void *data)
{ {
tp_wma_handle wma_handle; tp_wma_handle wma_handle;
WMA_LOGE("%s: Timeout occurred for log completion command", __func__); WMA_LOGD("%s: Timeout occurred for log completion command", __func__);
wma_handle = (tp_wma_handle) data; wma_handle = (tp_wma_handle) data;
if (!wma_handle) if (!wma_handle)

Näytä tiedosto

@@ -2096,7 +2096,7 @@ void wma_set_bsskey(tp_wma_handle wma_handle, tpSetBssKeyParams key_info)
/* vdev mac address will be passed for all other modes */ /* vdev mac address will be passed for all other modes */
qdf_mem_copy(key_params.peer_mac, mac_addr, qdf_mem_copy(key_params.peer_mac, mac_addr,
IEEE80211_ADDR_LEN); IEEE80211_ADDR_LEN);
WMA_LOGA("BSS Key setup with vdev_mac %pM\n", WMA_LOGD("BSS Key setup with vdev_mac %pM\n",
mac_addr); mac_addr);
} }

Näytä tiedosto

@@ -251,7 +251,7 @@ static void wma_roam_scan_fill_fils_params(tp_wma_handle wma_handle,
struct roam_fils_params *dst_fils_params, *src_fils_params; struct roam_fils_params *dst_fils_params, *src_fils_params;
if (!params || !roam_req || !roam_req->is_fils_connection) { if (!params || !roam_req || !roam_req->is_fils_connection) {
WMA_LOGE("wma_roam_scan_fill_fils_params- NULL"); WMA_LOGD("wma_roam_scan_fill_fils_params- NULL");
return; return;
} }