summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2017-03-29 00:28:46 -0700
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-31 16:00:53 -0700
commitcf2e07ffc712fc9f661b795dfa41e2d3bba8e2cd (patch)
tree4704644ee7906a4b26fe257cbabce806983f613e
parent841fb7ea514a73d852575df0a3d0ae5f7a129980 (diff)
qcacld-3.0: Move the logs to appropriate log levels
Move the logs to appropriate log levels. Change-Id: I522705a493c4c243f46f652270db8f3c9fc05476 CRs-Fixed: 1093093
-rw-r--r--core/cds/src/cds_sched.c2
-rw-r--r--core/hdd/src/wlan_hdd_ipa.c2
-rw-r--r--core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c4
-rw-r--r--core/mac/src/pe/lim/lim_process_auth_frame.c2
-rw-r--r--core/mac/src/pe/lim/lim_session.c3
-rw-r--r--core/sme/src/common/sme_api.c2
-rw-r--r--core/wma/src/wma_dev_if.c5
7 files changed, 10 insertions, 10 deletions
diff --git a/core/cds/src/cds_sched.c b/core/cds/src/cds_sched.c
index 2b45b7767efa..08d9f26495e4 100644
--- a/core/cds/src/cds_sched.c
+++ b/core/cds/src/cds_sched.c
@@ -1296,7 +1296,7 @@ void cds_sched_flush_mc_mqs(p_cds_sched_context pSchedContext)
* be freed first
*/
QDF_TRACE(QDF_MODULE_ID_QDF,
- QDF_TRACE_LEVEL_INFO,
+ QDF_TRACE_LEVEL_DEBUG,
("Flushing the MC Thread message queue"));
if (NULL == pSchedContext) {
diff --git a/core/hdd/src/wlan_hdd_ipa.c b/core/hdd/src/wlan_hdd_ipa.c
index 12c0b28b43f5..370def6c968b 100644
--- a/core/hdd/src/wlan_hdd_ipa.c
+++ b/core/hdd/src/wlan_hdd_ipa.c
@@ -774,7 +774,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);
diff --git a/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c b/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
index c7d240096997..8bc0f8852318 100644
--- a/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
+++ b/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
@@ -311,7 +311,7 @@ static void lim_update_ric_data(tpAniSirGlobal mac_ctx,
session_entry->RICDataLen);
}
} else {
- pe_err("RIC data not present");
+ pe_debug("RIC data not present");
}
} else {
pe_debug("Ric is not present");
@@ -523,7 +523,7 @@ lim_process_assoc_rsp_frame(tpAniSirGlobal mac_ctx,
}
pe_info("received Re/Assoc: %d resp on sessionid: %d systemrole: %d"
- "and mlmstate: %d RSSI: %d from " MAC_ADDRESS_STR, subtype,
+ " 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)),
diff --git a/core/mac/src/pe/lim/lim_process_auth_frame.c b/core/mac/src/pe/lim/lim_process_auth_frame.c
index 18ae01ee69d7..700c7f66154b 100644
--- a/core/mac/src/pe/lim/lim_process_auth_frame.c
+++ b/core/mac/src/pe/lim/lim_process_auth_frame.c
@@ -1071,7 +1071,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);
- pe_info("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)));
diff --git a/core/mac/src/pe/lim/lim_session.c b/core/mac/src/pe/lim/lim_session.c
index 1b66d4af2479..ab49398a7075 100644
--- a/core/mac/src/pe/lim/lim_session.c
+++ b/core/mac/src/pe/lim/lim_session.c
@@ -774,6 +774,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 ==
@@ -781,8 +782,6 @@ tpPESession pe_find_session_by_sme_session_id(tpAniSirGlobal mac_ctx,
return &mac_ctx->lim.gpSession[i];
}
}
- pe_warn("Session lookup fails for smeSessionID: %d",
- sme_session_id);
return NULL;
}
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c
index 6b89b0202b50..5f4816456aaa 100644
--- a/core/sme/src/common/sme_api.c
+++ b/core/sme/src/common/sme_api.c
@@ -13300,7 +13300,7 @@ QDF_STATUS sme_update_dsc_pto_up_mapping(tHalHandle hHal,
}
if (!pSession->QosMapSet.present) {
- hdd_notice("QOS Mapping IE not present");
+ sme_debug("QOS Mapping IE not present");
sme_release_global_lock(&pMac->sme);
return QDF_STATUS_E_FAILURE;
}
diff --git a/core/wma/src/wma_dev_if.c b/core/wma/src/wma_dev_if.c
index a41ed7a2475d..559bc6bfe9b5 100644
--- a/core/wma/src/wma_dev_if.c
+++ b/core/wma/src/wma_dev_if.c
@@ -364,7 +364,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;
}
@@ -391,7 +392,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;
}