diff options
| author | Krishna Kumaar Natarajan <kknatara@qca.qualcomm.com> | 2015-07-30 21:48:09 -0700 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2015-08-03 15:39:44 +0530 |
| commit | 613f1c9bbda45c00a621be54567cfe52b37bd287 (patch) | |
| tree | 1e8b1eb80119df6b1b171fe6f81e1324022cbae7 /CORE/MAC/src | |
| parent | 385bccc4728ef26a01a2a9d2c279de56a893fad3 (diff) | |
qcacld-2.0: Set phymode in SME considering HT and VHT capability.
Set phymode to 11ac only when HT Caps and VHT Caps are present.
Earlier we were setting phymode in SME based on HT/VHT capability
independently. If a rogue AP sends only VHT Capability but not HT
capability, our phymode computation was incorrect.
Change-Id: Id3db66798a1a1e3ebc42da59a66cea04093e78aa
CRs-Fixed: 879830
Diffstat (limited to 'CORE/MAC/src')
| -rw-r--r-- | CORE/MAC/src/pe/lim/limSendManagementFrames.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CORE/MAC/src/pe/lim/limSendManagementFrames.c b/CORE/MAC/src/pe/lim/limSendManagementFrames.c index 26f7e6912567..d81c5d29e33c 100644 --- a/CORE/MAC/src/pe/lim/limSendManagementFrames.c +++ b/CORE/MAC/src/pe/lim/limSendManagementFrames.c @@ -1292,6 +1292,7 @@ limSendAssocRspMgmtFrame(tpAniSirGlobal pMac, if ( pSta->mlmStaContext.htCapability && psessionEntry->htCapability ) { + limLog(pMac, LOG1, FL("Populate HT IEs in Assoc Response")); PopulateDot11fHTCaps( pMac, psessionEntry, &frm.HTCaps ); PopulateDot11fHTInfo( pMac, &frm.HTInfo, psessionEntry ); } @@ -2176,6 +2177,7 @@ limSendAssocReqMgmtFrame(tpAniSirGlobal pMac, * when AP is also operating in 11n mode */ if (psessionEntry->htCapability && pMac->lim.htCapabilityPresentInBeacon) { + limLog(pMac, LOG1, FL("Populate HT IEs in Assoc Request")); PopulateDot11fHTCaps(pMac, psessionEntry, &pFrm->HTCaps); } #ifdef WLAN_FEATURE_11AC |
