From e1be588776a801e97073c25a48feb9dfaf2c0e24 Mon Sep 17 00:00:00 2001 From: Mushtaq A Mujale Date: Fri, 14 Mar 2014 11:52:33 -0700 Subject: 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 --- CORE/MAC/src/pe/lim/limSendManagementFrames.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 ) ) { -- cgit v1.2.3