qcacld-3.0: Move the logs to appropriate log levels

Move the logs to appropriate log levels.

Change-Id: I522705a493c4c243f46f652270db8f3c9fc05476
CRs-Fixed: 1093093
This commit is contained in:
Srinivas Girigowda 2017-03-29 00:28:46 -07:00 • committed by Sandeep Puligilla
commit 2b5d47c9a8
6 changed files with 10 additions and 15 deletions

View file

@ -776,7 +776,7 @@ static int hdd_ipa_uc_register_uc_ready(struct hdd_ipa_priv *hdd_ipa)
return -EPERM;
}
if (true == uc_ready_param.is_uC_ready) {
HDD_IPA_LOG(QDF_TRACE_LEVEL_ERROR, "UC Ready");
HDD_IPA_LOG(QDF_TRACE_LEVEL_INFO, "UC Ready");
hdd_ipa->uc_loaded = true;
} else {
ret = hdd_ipa_uc_send_wdi_control_msg(false);

View file

@ -326,7 +326,7 @@ static void lim_update_ric_data(tpAniSirGlobal mac_ctx,
session_entry->RICDataLen);
}
} else {
lim_log(mac_ctx, LOGE, FL("RIC data not present"));
pe_debug("RIC data not present");
}
} else {
lim_log(mac_ctx, LOG1,
@ -544,9 +544,8 @@ lim_process_assoc_rsp_frame(tpAniSirGlobal mac_ctx,
return;
}
lim_log(mac_ctx, LOG1,
FL("received Re/Assoc(%d) resp on sessionid: %d systemrole: %d"
"and mlmstate: %d RSSI %d from " MAC_ADDRESS_STR), subtype,
pe_info("received Re/Assoc: %d resp on sessionid: %d systemrole: %d"
" and mlmstate: %d RSSI: %d from "MAC_ADDRESS_STR, subtype,
session_entry->peSessionId, GET_LIM_SYSTEM_ROLE(session_entry),
session_entry->limMlmState,
(uint) abs((int8_t) WMA_GET_RX_RSSI_NORMALIZED(rx_pkt_info)),

View file

@ -1099,9 +1099,7 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
curr_seq_num = (mac_hdr->seqControl.seqNumHi << 4) |
(mac_hdr->seqControl.seqNumLo);
lim_log(mac_ctx, LOG1,
FL("Sessionid: %d System role : %d limMlmState: %d :Auth "
"Frame Received: BSSID: " MAC_ADDRESS_STR " (RSSI %d)"),
pe_info("Sessionid: %d System role: %d limMlmState: %d: Auth response Received BSSID: "MAC_ADDRESS_STR" RSSI: %d",
pe_session->peSessionId, GET_LIM_SYSTEM_ROLE(pe_session),
pe_session->limMlmState, MAC_ADDR_ARRAY(mac_hdr->bssId),
(uint) abs((int8_t) WMA_GET_RX_RSSI_NORMALIZED(rx_pkt_info)));

View file

@ -790,6 +790,7 @@ tpPESession pe_find_session_by_sme_session_id(tpAniSirGlobal mac_ctx,
uint8_t sme_session_id)
{
uint8_t i;
for (i = 0; i < mac_ctx->lim.maxBssId; i++) {
if ((mac_ctx->lim.gpSession[i].valid) &&
(mac_ctx->lim.gpSession[i].smeSessionId ==
@ -797,9 +798,6 @@ tpPESession pe_find_session_by_sme_session_id(tpAniSirGlobal mac_ctx,
return &mac_ctx->lim.gpSession[i];
}
}
lim_log(mac_ctx, LOG4,
FL("Session lookup fails for smeSessionID: %d"),
sme_session_id);
return NULL;
}

View file

@ -12467,8 +12467,7 @@ QDF_STATUS sme_update_dsc_pto_up_mapping(tHalHandle hHal,
}
if (!pSession->QosMapSet.present) {
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
FL("QOS Mapping IE not present"));
sme_debug("QOS Mapping IE not present");
sme_release_global_lock(&pMac->sme);
return QDF_STATUS_E_FAILURE;
}

View file

@ -366,7 +366,8 @@ static struct wma_target_req *wma_find_vdev_req(tp_wma_handle wma,
if (QDF_STATUS_SUCCESS != qdf_list_peek_front(&wma->vdev_resp_queue,
&node2)) {
qdf_spin_unlock_bh(&wma->vdev_respq_lock);
WMA_LOGE(FL("unable to get target req from vdev resp queue"));
WMA_LOGD(FL("unable to get target req from vdev resp queue vdev_id: %d type: %d"),
vdev_id, type);
return NULL;
}
@ -393,7 +394,7 @@ static struct wma_target_req *wma_find_vdev_req(tp_wma_handle wma,
qdf_spin_unlock_bh(&wma->vdev_respq_lock);
if (!found) {
WMA_LOGE(FL("target request not found for vdev_id %d type %d"),
WMA_LOGD(FL("target request not found for vdev_id %d type %d"),
vdev_id, type);
return NULL;
}