wlan: Cache deleted station's information in case of SAP
qcacld-3.0 to prima propagation
During disconnection process, cache disconnecting STA information
so that the same information is updated to upper-layer on receiving
GET_STATION vendor command, after disconnection.
Change-Id: I2e5a0be42d81b86e6f4490de1bdf9d7e0797506d
CRs-Fixed: 2159220
diff --git a/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c b/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c
index 42988be..29083df 100644
--- a/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c
+++ b/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c
@@ -1233,6 +1233,13 @@
#endif
// Fill in rate flags
pSirSmeAssocInd->rate_flags = pAssocInd->rate_flags;
+
+ pSirSmeAssocInd->ch_width = pAssocInd->ch_width;
+ pSirSmeAssocInd->chan_info = pAssocInd->chan_info;
+ if (pAssocInd->HTCaps.present)
+ pSirSmeAssocInd->HTCaps = pAssocInd->HTCaps;
+ if (pAssocInd->VHTCaps.present)
+ pSirSmeAssocInd->VHTCaps = pAssocInd->VHTCaps;
} /*** end limAssocIndSerDes() ***/
@@ -1283,6 +1290,7 @@
FL("call to AllocateMemory failed for eWNI_SME_ASSOC_IND"));
return;
}
+ vos_mem_zero(pSirSmeAssocInd, len);
pSirSmeAssocInd->messageType = eWNI_SME_ASSOC_IND;
limFillAssocIndParams(pMac, (tpLimMlmAssocInd) pMsgBuf, pSirSmeAssocInd, psessionEntry);