summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishank Aggarwal <naggar@codeaurora.org>2017-03-11 14:41:24 +0530
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-15 03:50:24 -0700
commit78d9d8d9666829ded50af84e9b07dc2e85e03cbd (patch)
tree6c54ce92dd717192bb2fb12d1a301b8646ba9ef6
parenta9edd385586688e7a7029ae010c5431fa8ba0a03 (diff)
qcacld-3.0: Reduce the log spam in lim
Move the logs to appropriate log levels to reduce the log spam in lim_process_mlm_req_messages.c, lim_roam_timer_utils.c and lim_send_sme_rsp_messages.c Change-Id: Iaf0a163e2031482388b6356bb236b3fbdd18997e CRs-Fixed: 1093093
-rw-r--r--core/mac/src/pe/lim/lim_process_mlm_req_messages.c34
-rw-r--r--core/mac/src/pe/lim/lim_roam_timer_utils.c29
-rw-r--r--core/mac/src/pe/lim/lim_send_sme_rsp_messages.c69
3 files changed, 65 insertions, 67 deletions
diff --git a/core/mac/src/pe/lim/lim_process_mlm_req_messages.c b/core/mac/src/pe/lim/lim_process_mlm_req_messages.c
index 55f7b56dec81..1f64ca86ea62 100644
--- a/core/mac/src/pe/lim/lim_process_mlm_req_messages.c
+++ b/core/mac/src/pe/lim/lim_process_mlm_req_messages.c
@@ -368,12 +368,12 @@ static void mlm_add_sta(tpAniSirGlobal mac_ctx, tpAddStaParams sta_param,
if (eSIR_SUCCESS != wlan_cfg_get_int(mac_ctx, WNI_CFG_LISTEN_INTERVAL,
&val))
- lim_log(mac_ctx, LOGP, FL("Couldn't get LISTEN_INTERVAL"));
+ lim_log(mac_ctx, LOGW, FL("Couldn't get LISTEN_INTERVAL"));
sta_param->listenInterval = (uint16_t) val;
if (eSIR_SUCCESS != wlan_cfg_get_int(mac_ctx, WNI_CFG_SHORT_PREAMBLE,
&val))
- lim_log(mac_ctx, LOGP, FL("Couldn't get SHORT_PREAMBLE"));
+ lim_log(mac_ctx, LOGW, FL("Couldn't get SHORT_PREAMBLE"));
sta_param->shortPreambleSupported = (uint8_t) val;
sta_param->assocId = 0; /* Is SMAC OK with this? */
@@ -662,7 +662,7 @@ static void lim_process_mlm_start_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
session = pe_find_session_by_session_id(mac_ctx,
mlm_start_req->sessionId);
if (NULL == session) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGE,
FL("Session Does not exist for given sessionID"));
mlm_start_cnf.resultCode = eSIR_SME_REFUSED;
goto end;
@@ -1052,7 +1052,7 @@ static void lim_process_mlm_auth_req(tpAniSirGlobal mac_ctx, uint32_t *msg)
session_id = mac_ctx->lim.gpLimMlmAuthReq->sessionId;
session = pe_find_session_by_session_id(mac_ctx, session_id);
if (NULL == session) {
- lim_log(mac_ctx, LOGP, FL("SessionId:%d does not exist"),
+ lim_log(mac_ctx, LOGE, FL("SessionId:%d does not exist"),
session_id);
return;
}
@@ -1093,7 +1093,7 @@ static void lim_process_mlm_auth_req(tpAniSirGlobal mac_ctx, uint32_t *msg)
} else {
if (wlan_cfg_get_int(mac_ctx, WNI_CFG_MAX_NUM_PRE_AUTH,
(uint32_t *) &num_preauth_ctx) != eSIR_SUCCESS)
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGW,
FL("Could not retrieve NumPreAuthLimit from CFG"));
if (mac_ctx->lim.gLimNumPreAuthContexts == num_preauth_ctx) {
@@ -1203,7 +1203,7 @@ static void lim_process_mlm_assoc_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
session_entry = pe_find_session_by_session_id(mac_ctx,
mlm_assoc_req->sessionId);
if (session_entry == NULL) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGE,
FL("SessionId:%d Session Does not exist"),
mlm_assoc_req->sessionId);
qdf_mem_free(mlm_assoc_req);
@@ -1266,7 +1266,7 @@ static void lim_process_mlm_assoc_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
session_entry->peSessionId, eLIM_ASSOC_FAIL_TIMER));
if (tx_timer_activate(&mac_ctx->lim.limTimers.gLimAssocFailureTimer)
!= TX_SUCCESS) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGW,
FL("SessionId:%d couldn't start Assoc failure timer"),
session_entry->peSessionId);
/* Cleanup as if assoc timer expired */
@@ -1349,7 +1349,7 @@ lim_process_mlm_disassoc_req_ntf(tpAniSirGlobal mac_ctx,
sme_disassoc_rsp =
qdf_mem_malloc(sizeof(tSirSmeDisassocRsp));
if (NULL == sme_disassoc_rsp) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGE,
FL("memory allocation failed for disassoc rsp"));
return;
}
@@ -1703,7 +1703,7 @@ lim_process_mlm_deauth_req_ntf(tpAniSirGlobal mac_ctx,
sme_deauth_rsp =
qdf_mem_malloc(sizeof(tSirSmeDeauthRsp));
if (NULL == sme_deauth_rsp) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGE,
FL("memory allocation failed for deauth rsp"));
return;
}
@@ -1908,7 +1908,7 @@ lim_process_mlm_deauth_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
tpPESession session;
if (msg_buf == NULL) {
- PELOGE(lim_log(mac_ctx, LOGE, FL("Buffer is Pointing to NULL"));)
+ lim_log(mac_ctx, LOGE, FL("Buffer is Pointing to NULL"));
return;
}
@@ -2178,7 +2178,7 @@ static void lim_process_periodic_probe_req_timer(tpAniSirGlobal mac_ctx)
} while (i < mlm_scan_req->numSsid);
/* Activate timer again */
if (tx_timer_activate(probe_req_timer) != TX_SUCCESS) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGW,
FL("could not start periodic probe req timer"));
return;
}
@@ -2298,7 +2298,7 @@ static void lim_process_periodic_join_probe_req_timer(tpAniSirGlobal mac_ctx)
if (tx_timer_activate(
&mac_ctx->lim.limTimers.gLimPeriodicJoinProbeReqTimer) !=
TX_SUCCESS) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGW,
FL("could not activate Periodic Join req failure timer"));
return;
}
@@ -2388,12 +2388,12 @@ static void lim_process_auth_failure_timeout(tpAniSirGlobal mac_ctx)
session = pe_find_session_by_session_id(mac_ctx,
mac_ctx->lim.limTimers.gLimAuthFailureTimer.sessionId);
if (NULL == session) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGE,
FL("Session Does not exist for given sessionID"));
return;
}
- lim_log(mac_ctx, LOGE,
+ lim_log(mac_ctx, LOG1,
FL("received AUTH failure timeout in sessionid %d "
"limMlmstate %X limSmeState %X"),
session->peSessionId, session->limMlmState,
@@ -2532,7 +2532,7 @@ lim_process_assoc_failure_timeout(tpAniSirGlobal mac_ctx, uint32_t msg_type)
session = pe_find_session_by_session_id(mac_ctx, session_id);
if (NULL == session) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGE,
FL("Session Does not exist for given sessionID"));
return;
}
@@ -2556,7 +2556,7 @@ lim_process_assoc_failure_timeout(tpAniSirGlobal mac_ctx, uint32_t msg_type)
* when device has missed the assoc resp sent by peer.
* By sending deauth try to clear the session created on peer device.
*/
- lim_log(mac_ctx, LOGE,
+ lim_log(mac_ctx, LOG1,
FL("Sessionid: %d try sending deauth on channel %d to BSSID: "
MAC_ADDRESS_STR), session->peSessionId,
session->currentOperChannel,
@@ -2694,7 +2694,7 @@ void lim_set_channel(tpAniSirGlobal mac_ctx, uint8_t channel,
pe_session = pe_find_session_by_session_id(mac_ctx, pe_session_id);
if (NULL == pe_session) {
- lim_log(mac_ctx, LOGP, FL("Invalid PE session = %d"),
+ lim_log(mac_ctx, LOGE, FL("Invalid PE session = %d"),
pe_session_id);
return;
}
diff --git a/core/mac/src/pe/lim/lim_roam_timer_utils.c b/core/mac/src/pe/lim/lim_roam_timer_utils.c
index 32383b5f89f8..d9d802f37ada 100644
--- a/core/mac/src/pe/lim/lim_roam_timer_utils.c
+++ b/core/mac/src/pe/lim/lim_roam_timer_utils.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -42,7 +42,7 @@ uint32_t lim_create_timers_host_roam(tpAniSirGlobal mac_ctx)
uint32_t cfg_value;
if (wlan_cfg_get_int(mac_ctx, WNI_CFG_REASSOCIATION_FAILURE_TIMEOUT,
&cfg_value) != eSIR_SUCCESS)
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGW,
FL("could not retrieve ReassocFailureTimeout value"));
cfg_value = SYS_MS_TO_TICKS(cfg_value);
@@ -51,7 +51,7 @@ uint32_t lim_create_timers_host_roam(tpAniSirGlobal mac_ctx)
&mac_ctx->lim.limTimers.gLimReassocFailureTimer,
"REASSOC FAILURE TIMEOUT", lim_assoc_failure_timer_handler,
LIM_REASSOC, cfg_value, 0, TX_NO_ACTIVATE) != TX_SUCCESS) {
- lim_log(mac_ctx, LOGP, FL("failed to create Reassoc timer"));
+ lim_log(mac_ctx, LOGE, FL("failed to create Reassoc timer"));
return TX_TIMER_ERROR;
}
cfg_value = 1000;
@@ -61,7 +61,7 @@ uint32_t lim_create_timers_host_roam(tpAniSirGlobal mac_ctx)
"FT PREAUTH RSP TIMEOUT",
lim_timer_handler, SIR_LIM_FT_PREAUTH_RSP_TIMEOUT,
cfg_value, 0, TX_NO_ACTIVATE) != TX_SUCCESS) {
- lim_log(mac_ctx, LOGP, FL("failed to create Join fail timer"));
+ lim_log(mac_ctx, LOGE, FL("failed to create Join fail timer"));
goto err_roam_timer;
}
return TX_SUCCESS;
@@ -111,30 +111,29 @@ void lim_deactivate_and_change_timer_host_roam(tpAniSirGlobal mac_ctx,
case eLIM_REASSOC_FAIL_TIMER:
if (tx_timer_deactivate
(&mac_ctx->lim.limTimers.gLimReassocFailureTimer) !=
- TX_SUCCESS) {
- lim_log(mac_ctx, LOGP,
+ TX_SUCCESS)
+ lim_log(mac_ctx, LOGW,
FL("unable to deactivate Reassoc fail timer"));
- }
+
if (wlan_cfg_get_int(mac_ctx,
WNI_CFG_REASSOCIATION_FAILURE_TIMEOUT,
- &val) != eSIR_SUCCESS) {
- lim_log(mac_ctx, LOGP,
+ &val) != eSIR_SUCCESS)
+ lim_log(mac_ctx, LOGW,
FL("could not get ReassocFailureTimeout val"));
- }
+
val = SYS_MS_TO_TICKS(val);
if (tx_timer_change
(&mac_ctx->lim.limTimers.gLimReassocFailureTimer, val,
- 0) != TX_SUCCESS) {
- lim_log(mac_ctx, LOGP,
+ 0) != TX_SUCCESS)
+ lim_log(mac_ctx, LOGW,
FL("unable to change Reassoc fail timer"));
- }
break;
case eLIM_FT_PREAUTH_RSP_TIMER:
if (tx_timer_deactivate
(&mac_ctx->lim.limTimers.gLimFTPreAuthRspTimer) !=
TX_SUCCESS) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGE,
FL("Unable to deactivate Preauth Fail timer"));
return;
}
@@ -143,7 +142,7 @@ void lim_deactivate_and_change_timer_host_roam(tpAniSirGlobal mac_ctx,
if (tx_timer_change(
&mac_ctx->lim.limTimers.gLimFTPreAuthRspTimer,
val, 0) != TX_SUCCESS) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGE,
FL("Unable to change Join Failure timer"));
return;
}
diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
index 8626550d497b..6b154e587d77 100644
--- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
@@ -93,7 +93,7 @@ lim_send_sme_rsp(tpAniSirGlobal mac_ctx, uint16_t msg_type,
sme_rsp = qdf_mem_malloc(sizeof(tSirSmeRsp));
if (NULL == sme_rsp) {
/* Buffer not available. Log error */
- QDF_TRACE(QDF_MODULE_ID_PE, LOGP,
+ QDF_TRACE(QDF_MODULE_ID_PE, LOGE,
FL("call to AllocateMemory failed for eWNI_SME_*_RSP"));
return;
}
@@ -152,7 +152,7 @@ lim_send_sme_roc_rsp(tpAniSirGlobal mac_ctx, uint16_t msg_type,
sme_rsp = qdf_mem_malloc(sizeof(struct sir_roc_rsp));
if (NULL == sme_rsp) {
- QDF_TRACE(QDF_MODULE_ID_PE, LOGP,
+ QDF_TRACE(QDF_MODULE_ID_PE, LOGE,
FL("call to AllocateMemory failed for eWNI_SME_*_RSP"));
return;
}
@@ -457,7 +457,7 @@ lim_send_sme_join_reassoc_rsp(tpAniSirGlobal mac_ctx, uint16_t msg_type,
rsp_len = sizeof(tSirSmeJoinRsp);
sme_join_rsp = qdf_mem_malloc(rsp_len);
if (NULL == sme_join_rsp) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGE,
FL("Mem Alloc fail - JOIN/REASSOC_RSP"));
return;
}
@@ -475,7 +475,7 @@ lim_send_sme_join_reassoc_rsp(tpAniSirGlobal mac_ctx, uint16_t msg_type,
sizeof(tSirSmeJoinRsp) - sizeof(uint8_t);
sme_join_rsp = qdf_mem_malloc(rsp_len);
if (NULL == sme_join_rsp) {
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGE,
FL("MemAlloc fail - JOIN/REASSOC_RSP"));
return;
}
@@ -584,7 +584,7 @@ lim_send_sme_start_bss_rsp(tpAniSirGlobal pMac,
pSirSmeRsp = qdf_mem_malloc(size);
if (NULL == pSirSmeRsp) {
/* / Buffer not available. Log error */
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("call to AllocateMemory failed for eWNI_SME_START_BSS_RSP"));
return;
@@ -600,7 +600,7 @@ lim_send_sme_start_bss_rsp(tpAniSirGlobal pMac,
pSirSmeRsp = qdf_mem_malloc(size);
if (NULL == pSirSmeRsp) {
/* / Buffer not available. Log error */
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("call to AllocateMemory failed for eWNI_SME_START_BSS_RSP"));
@@ -622,7 +622,7 @@ lim_send_sme_start_bss_rsp(tpAniSirGlobal pMac,
(pMac, &pSirSmeRsp->bssDescription.capabilityInfo,
psessionEntry)
!= eSIR_SUCCESS)
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("could not retrieve Capabilities value"));
@@ -759,7 +759,7 @@ lim_post_sme_scan_rsp_message(tpAniSirGlobal pMac,
pSirSmeScanRsp = qdf_mem_malloc(sizeof(tSirSmeScanRsp));
if (NULL == pSirSmeScanRsp) {
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL("AllocateMemory failed for eWNI_SME_SCAN_RSP"));
return;
}
@@ -898,7 +898,7 @@ lim_send_sme_disassoc_ntf(tpAniSirGlobal pMac,
pSirSmeDisassocRsp = qdf_mem_malloc(sizeof(tSirSmeDisassocRsp));
if (NULL == pSirSmeDisassocRsp) {
/* Log error */
- lim_log(pMac, LOGP, FL("Memory allocation failed"));
+ lim_log(pMac, LOGE, FL("Memory allocation failed"));
failure = true;
goto error;
}
@@ -980,7 +980,7 @@ lim_send_sme_disassoc_ntf(tpAniSirGlobal pMac,
pSirSmeDisassocInd = qdf_mem_malloc(sizeof(tSirSmeDisassocInd));
if (NULL == pSirSmeDisassocInd) {
/* Log error */
- lim_log(pMac, LOGP, FL("Memory allocation failed"));
+ lim_log(pMac, LOGE, FL("Memory allocation failed"));
failure = true;
goto error;
}
@@ -1044,7 +1044,7 @@ lim_send_sme_disassoc_ind(tpAniSirGlobal pMac, tpDphHashNode pStaDs,
pSirSmeDisassocInd = qdf_mem_malloc(sizeof(tSirSmeDisassocInd));
if (NULL == pSirSmeDisassocInd) {
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL("AllocateMemory failed for eWNI_SME_DISASSOC_IND"));
return;
}
@@ -1101,7 +1101,7 @@ lim_send_sme_deauth_ind(tpAniSirGlobal pMac, tpDphHashNode pStaDs,
pSirSmeDeauthInd = qdf_mem_malloc(sizeof(tSirSmeDeauthInd));
if (NULL == pSirSmeDeauthInd) {
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL("AllocateMemory failed for eWNI_SME_DEAUTH_IND "));
return;
}
@@ -1175,7 +1175,7 @@ lim_send_sme_tdls_del_sta_ind(tpAniSirGlobal pMac, tpDphHashNode pStaDs,
pSirTdlsDelStaInd = qdf_mem_malloc(sizeof(tSirTdlsDelStaInd));
if (NULL == pSirTdlsDelStaInd) {
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("AllocateMemory failed for eWNI_SME_TDLS_DEL_STA_IND "));
return;
@@ -1235,7 +1235,7 @@ lim_send_sme_tdls_delete_all_peer_ind(tpAniSirGlobal pMac, tpPESession psessionE
pSirTdlsDelAllPeerInd = qdf_mem_malloc(sizeof(tSirTdlsDelAllPeerInd));
if (NULL == pSirTdlsDelAllPeerInd) {
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("AllocateMemory failed for eWNI_SME_TDLS_DEL_ALL_PEER_IND"));
return;
@@ -1285,7 +1285,7 @@ lim_send_sme_mgmt_tx_completion(tpAniSirGlobal pMac,
pSirMgmtTxCompletionInd =
qdf_mem_malloc(sizeof(tSirMgmtTxCompletionInd));
if (NULL == pSirMgmtTxCompletionInd) {
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("AllocateMemory failed for eWNI_SME_MGMT_FRM_TX_COMPLETION_IND"));
return;
@@ -1386,7 +1386,7 @@ lim_send_sme_deauth_ntf(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr,
pSirSmeDeauthRsp = qdf_mem_malloc(sizeof(tSirSmeDeauthRsp));
if (NULL == pSirSmeDeauthRsp) {
/* Log error */
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("call to AllocateMemory failed for eWNI_SME_DEAUTH_RSP"));
@@ -1457,7 +1457,7 @@ lim_send_sme_deauth_ntf(tpAniSirGlobal pMac, tSirMacAddr peerMacAddr,
pSirSmeDeauthInd = qdf_mem_malloc(sizeof(tSirSmeDeauthInd));
if (NULL == pSirSmeDeauthInd) {
/* Log error */
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("call to AllocateMemory failed for eWNI_SME_DEAUTH_Ind"));
@@ -1579,7 +1579,7 @@ lim_send_sme_wm_status_change_ntf(tpAniSirGlobal mac_ctx,
MTRACE(mac_trace(mac_ctx, TRACE_CODE_TX_SME_MSG, session_id, msg.type));
if (eSIR_SUCCESS != lim_sys_process_mmh_msg_api(mac_ctx, &msg, ePROT)) {
qdf_mem_free(wm_status_change_ntf);
- lim_log(mac_ctx, LOGP,
+ lim_log(mac_ctx, LOGE,
FL("lim_sys_process_mmh_msg_api failed"));
}
@@ -1624,7 +1624,7 @@ lim_send_sme_set_context_rsp(tpAniSirGlobal pMac,
pSirSmeSetContextRsp = qdf_mem_malloc(sizeof(tSirSmeSetContextRsp));
if (NULL == pSirSmeSetContextRsp) {
/* Log error */
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("call to AllocateMemory failed for SmeSetContextRsp"));
@@ -1701,7 +1701,7 @@ lim_send_sme_neighbor_bss_ind(tpAniSirGlobal pMac, tLimScanResultNode *pBssDescr
if (wlan_cfg_get_int(pMac, WNI_CFG_NEW_BSS_FOUND_IND, &val) !=
eSIR_SUCCESS) {
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL("could not get NEIGHBOR_BSS_IND from CFG"));
return;
@@ -1722,7 +1722,7 @@ lim_send_sme_neighbor_bss_ind(tpAniSirGlobal pMac, tLimScanResultNode *pBssDescr
pNewBssInd = qdf_mem_malloc(val);
if (NULL == pNewBssInd) {
/* Log error */
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("call to AllocateMemory failed for eWNI_SME_NEIGHBOR_BSS_IND"));
@@ -1767,7 +1767,7 @@ lim_send_sme_addts_rsp(tpAniSirGlobal pMac, uint8_t rspReqd, uint32_t status,
rsp = qdf_mem_malloc(sizeof(tSirAddtsRsp));
if (NULL == rsp) {
- lim_log(pMac, LOGP, FL("AllocateMemory failed for ADDTS_RSP"));
+ lim_log(pMac, LOGE, FL("AllocateMemory failed for ADDTS_RSP"));
return;
}
@@ -1806,7 +1806,7 @@ lim_send_sme_delts_rsp(tpAniSirGlobal pMac, tpSirDeltsReq delts, uint32_t status
tpSirDeltsRsp rsp;
tSirMsgQ mmhMsg;
- lim_log(pMac, LOGW, "SendSmeDeltsRsp (aid %d, tsid %d, up %d) status %d",
+ lim_log(pMac, LOGD, "SendSmeDeltsRsp (aid %d, tsid %d, up %d) status %d",
delts->aid,
delts->req.tsinfo.traffic.tsid,
delts->req.tsinfo.traffic.userPrio, status);
@@ -1816,7 +1816,7 @@ lim_send_sme_delts_rsp(tpAniSirGlobal pMac, tpSirDeltsReq delts, uint32_t status
rsp = qdf_mem_malloc(sizeof(tSirDeltsRsp));
if (NULL == rsp) {
/* Log error */
- lim_log(pMac, LOGP, FL("AllocateMemory failed for DELTS_RSP"));
+ lim_log(pMac, LOGE, FL("AllocateMemory failed for DELTS_RSP"));
return;
}
@@ -1860,13 +1860,13 @@ lim_send_sme_delts_ind(tpAniSirGlobal pMac, tpSirDeltsReqInfo delts, uint16_t ai
tpSirDeltsRsp rsp;
tSirMsgQ mmhMsg;
- lim_log(pMac, LOGW, "SendSmeDeltsInd (aid %d, tsid %d, up %d)",
+ lim_log(pMac, LOGD, "SendSmeDeltsInd (aid %d, tsid %d, up %d)",
aid, delts->tsinfo.traffic.tsid, delts->tsinfo.traffic.userPrio);
rsp = qdf_mem_malloc(sizeof(tSirDeltsRsp));
if (NULL == rsp) {
/* Log error */
- lim_log(pMac, LOGP, FL("AllocateMemory failed for DELTS_IND"));
+ lim_log(pMac, LOGE, FL("AllocateMemory failed for DELTS_IND"));
return;
}
@@ -1979,9 +1979,8 @@ void lim_send_sme_pe_ese_tsm_rsp(tpAniSirGlobal pMac,
/* Fill the Session Id */
pPeStats->sessionId = pPeSessionEntry->smeSessionId;
} else {
- PELOGE(lim_log
- (pMac, LOGE, FL("Session not found for the Sta id(%d)"),
- pPeStats->staId);)
+ lim_log(pMac, LOGE, FL("Session not found for the Sta id(%d)"),
+ pPeStats->staId);
return;
}
@@ -2016,7 +2015,7 @@ lim_send_sme_ibss_peer_ind(tpAniSirGlobal pMac,
pNewPeerInd = qdf_mem_malloc(sizeof(tSmeIbssPeerInd) + beaconLen);
if (NULL == pNewPeerInd) {
- PELOGE(lim_log(pMac, LOGE, FL("Failed to allocate memory"));)
+ lim_log(pMac, LOGE, FL("Failed to allocate memory"));
return;
}
@@ -2423,7 +2422,7 @@ void lim_send_sme_max_assoc_exceeded_ntf(tpAniSirGlobal pMac, tSirMacAddr peerMa
pSmeMaxAssocInd = qdf_mem_malloc(sizeof(tSmeMaxAssocInd));
if (NULL == pSmeMaxAssocInd) {
- PELOGE(lim_log(pMac, LOGE, FL("Failed to allocate memory"));)
+ lim_log(pMac, LOGE, FL("Failed to allocate memory"));
return;
}
qdf_mem_copy((uint8_t *) pSmeMaxAssocInd->peer_mac.bytes,
@@ -2483,7 +2482,7 @@ lim_send_dfs_chan_sw_ie_update(tpAniSirGlobal pMac, tpPESession psessionEntry)
/* Update the beacon template and send to FW */
if (sch_set_fixed_beacon_fields(pMac, psessionEntry) != eSIR_SUCCESS) {
- PELOGE(lim_log(pMac, LOGE, FL("Unable to set CSA IE in beacon"));)
+ lim_log(pMac, LOGE, FL("Unable to set CSA IE in beacon"));
return;
}
@@ -2522,7 +2521,7 @@ lim_send_sme_ap_channel_switch_resp(tpAniSirGlobal pMac,
pSmeSwithChnlParams = (tSwitchChannelParams *)
qdf_mem_malloc(sizeof(tSwitchChannelParams));
if (NULL == pSmeSwithChnlParams) {
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL("AllocateMemory failed for pSmeSwithChnlParams\n"));
return;
}
@@ -2638,7 +2637,7 @@ lim_process_beacon_tx_success_ind(tpAniSirGlobal pMac, uint16_t msgType, void *e
qdf_mem_malloc(length);
if (NULL == pChanSwTxResponse) {
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("AllocateMemory failed for tSirSmeCSAIeTxCompleteRsp"));
return;
@@ -2663,7 +2662,7 @@ lim_process_beacon_tx_success_ind(tpAniSirGlobal pMac, uint16_t msgType, void *e
beacon_tx_comp_rsp_ptr = (struct sir_beacon_tx_complete_rsp *)
qdf_mem_malloc(sizeof(*beacon_tx_comp_rsp_ptr));
if (NULL == beacon_tx_comp_rsp_ptr) {
- lim_log(pMac, LOGP,
+ lim_log(pMac, LOGE,
FL
("AllocateMemory failed for beacon_tx_comp_rsp_ptr"));
return;