summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimanshu Agarwal <himanaga@codeaurora.org>2018-05-09 12:39:52 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-10 10:31:08 -0700
commite86b2ff6e2acd699dbdf8a2ca2f9347850592622 (patch)
treefd59c448577000c3b87014277aefb5eaac3b0b3e
parenteee84b80a7d4f18809e8edf686e874ae66036615 (diff)
qcacld-3.0: Process setkey confirmation in sme callback
In a noisy enviornment setkey confirmation in SME queue is not getting processed due to multiple beacons/probes getting processed in PE queue which is of higher priority than SME queue. Instead of posting a message to SME queue, setkey confirmation will run to completion using sme callback mechanism. Change-Id: Ibe536dad13731e7086c5e0a9ed2a19c11f6e9193 CRs-Fixed: 2233210
-rw-r--r--core/mac/src/pe/lim/lim_send_sme_rsp_messages.c14
1 files changed, 7 insertions, 7 deletions
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 dca2356a8249..618221cac22c 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
@@ -1618,7 +1618,7 @@ lim_send_sme_set_context_rsp(tpAniSirGlobal pMac,
tpPESession psessionEntry, uint8_t smesessionId,
uint16_t smetransactionId)
{
- tSirMsgQ mmhMsg;
+ cds_msg_t msg;
tSirSmeSetContextRsp *pSirSmeSetContextRsp;
pSirSmeSetContextRsp = qdf_mem_malloc(sizeof(tSirSmeSetContextRsp));
@@ -1638,15 +1638,15 @@ lim_send_sme_set_context_rsp(tpAniSirGlobal pMac,
pSirSmeSetContextRsp->sessionId = smesessionId;
pSirSmeSetContextRsp->transactionId = smetransactionId;
- mmhMsg.type = eWNI_SME_SETCONTEXT_RSP;
- mmhMsg.bodyptr = pSirSmeSetContextRsp;
- mmhMsg.bodyval = 0;
+ msg.type = eWNI_SME_SETCONTEXT_RSP;
+ msg.bodyptr = pSirSmeSetContextRsp;
+ msg.bodyval = 0;
if (NULL == psessionEntry) {
MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
- NO_SESSION, mmhMsg.type));
+ NO_SESSION, msg.type));
} else {
MTRACE(mac_trace(pMac, TRACE_CODE_TX_SME_MSG,
- psessionEntry->peSessionId, mmhMsg.type));
+ psessionEntry->peSessionId, msg.type));
}
#ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM /* FEATURE_WLAN_DIAG_SUPPORT */
@@ -1654,7 +1654,7 @@ lim_send_sme_set_context_rsp(tpAniSirGlobal pMac,
psessionEntry, (uint16_t) resultCode, 0);
#endif /* FEATURE_WLAN_DIAG_SUPPORT */
- lim_sys_process_mmh_msg_api(pMac, &mmhMsg, ePROT);
+ pMac->lim.sme_msg_callback(pMac, &msg);
} /*** end lim_send_sme_set_context_rsp() ***/
/**