summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMushtaq A Mujale <mmujale@qca.qualcomm.com>2014-03-14 11:52:33 -0700
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-03-16 21:21:02 -0700
commite1be588776a801e97073c25a48feb9dfaf2c0e24 (patch)
treecf1e29f2e421d1f333cef982965d5a80b58b5aa3
parenta55d0f8c29b382fa14ff1c6d977cec0b1f917867 (diff)
wlan: VHT IEs missing in Reassoc Request during roam
The routine that sends out the Reassoc Request is modified to look at the VHT information and add the VHT IEs to the frame if appropriate. Change-Id: I39e82c1a2d001ff0ee090f1a2a0c0027598b2471 CRs-Fixed: 630625
-rw-r--r--CORE/MAC/src/pe/lim/limSendManagementFrames.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/CORE/MAC/src/pe/lim/limSendManagementFrames.c b/CORE/MAC/src/pe/lim/limSendManagementFrames.c
index c000ece0653c..973dc3723199 100644
--- a/CORE/MAC/src/pe/lim/limSendManagementFrames.c
+++ b/CORE/MAC/src/pe/lim/limSendManagementFrames.c
@@ -2600,6 +2600,7 @@ limSendReassocReqWithFTIEsMgmtFrame(tpAniSirGlobal pMac,
#endif
tANI_U8 txFlag = 0;
tANI_U8 smeSessionId = 0;
+ tANI_BOOLEAN isVHTEnabled = eANI_BOOLEAN_FALSE;
if (NULL == psessionEntry)
{
@@ -2823,6 +2824,18 @@ limSendReassocReqWithFTIEsMgmtFrame(tpAniSirGlobal pMac,
}
#endif
+#ifdef WLAN_FEATURE_11AC
+ if ( psessionEntry->vhtCapability &&
+ psessionEntry->vhtCapabilityPresentInBeacon)
+ {
+ limLog( pMac, LOG1, FL("Populate VHT IEs in Re-Assoc Request"));
+ PopulateDot11fVHTCaps( pMac, psessionEntry, &frm.VHTCaps );
+ isVHTEnabled = eANI_BOOLEAN_TRUE;
+ }
+#endif
+
+ PopulateDot11fExtCap(pMac, isVHTEnabled, &frm.ExtCap);
+
nStatus = dot11fGetPackedReAssocRequestSize( pMac, &frm, &nPayload );
if ( DOT11F_FAILED( nStatus ) )
{