summaryrefslogtreecommitdiff
path: root/CORE/MAC
diff options
context:
space:
mode:
authorkrunal soni <ksoni@qca.qualcomm.com>2014-03-14 18:13:50 -0700
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-04-17 16:45:59 -0700
commit7d45b36532df87f973fa18f3c31e3be3a4de98cc (patch)
treeb368936e485a9d3b8d6a0f80382e0bbf397bb6b8 /CORE/MAC
parentdeb0e722af0b80a69e8f8c8eaebd4253273e7572 (diff)
wlan: PMF state not correct after 802.11r roaming
There is a problem where the PMF (Protected Management Frames, 802.11w) state of the connection is not correct after a 802.11r (Fast Transition, FT) roaming operation. This is fixed by setting the PMF state correctly during this type of roaming operation. Change-Id: Iec4c9958a40b860c28d11e89cb4810111d4fd625 CRs-Fixed: 649942
Diffstat (limited to 'CORE/MAC')
-rw-r--r--CORE/MAC/src/pe/lim/limFT.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/CORE/MAC/src/pe/lim/limFT.c b/CORE/MAC/src/pe/lim/limFT.c
index 3e4941b73f4b..1f811c5d2287 100644
--- a/CORE/MAC/src/pe/lim/limFT.c
+++ b/CORE/MAC/src/pe/lim/limFT.c
@@ -706,6 +706,14 @@ tSirRetStatus limFTPrepareAddBssReq( tpAniSirGlobal pMac,
pAddBssParams->maxTxPower = pftSessionEntry->maxTxPower;
#endif
+#ifdef WLAN_FEATURE_11W
+ if (pftSessionEntry->limRmfEnabled)
+ {
+ pAddBssParams->rmfEnabled = 1;
+ pAddBssParams->staContext.rmfEnabled = 1;
+ }
+#endif
+
pAddBssParams->status = eHAL_STATUS_SUCCESS;
pAddBssParams->respReqd = true;
@@ -922,6 +930,11 @@ void limFTSetupAuthSession(tpAniSirGlobal pMac, tpPESession psessionEntry)
#ifdef FEATURE_WLAN_LFR
pftSessionEntry->isFastRoamIniFeatureEnabled = psessionEntry->isFastRoamIniFeatureEnabled;
#endif
+
+#ifdef WLAN_FEATURE_11W
+ pftSessionEntry->limRmfEnabled = psessionEntry->limRmfEnabled;
+#endif
+
limFTPrepareAddBssReq( pMac, FALSE, pftSessionEntry,
pMac->ft.ftPEContext.pFTPreAuthReq->pbssDescription );
pMac->ft.ftPEContext.pftSessionEntry = pftSessionEntry;