From 7eaef24f1c7dfe41cd07e962f9cdf6614be4cd52 Mon Sep 17 00:00:00 2001 From: Rajkumar Manoharan Date: Mon, 28 Oct 2013 18:01:08 +0530 Subject: cld: pe: disable HT for non-QoS stations in AP mode Per spec, WMM/WME IE is mandatory to support HT/VHT mode. In case of non-QoS HT capable STA, the contradicting STA configurations are given to firmware which leads to improper rate control setup in firmware. To fix this properly, downgrade the connection to legacy mode for non-QoS HT stations. Change-Id: I305d7e48e81aa98b9337336354bad29d4f18bb14 CRs-Fixed: 532409 --- CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c b/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c index 98421b8efcea..aedfe6923bd9 100644 --- a/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c +++ b/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c @@ -1032,7 +1032,7 @@ sendIndToSme: pStaDs->curTxMpduCnt = 0; if(IS_DOT11_MODE_HT(psessionEntry->dot11mode) && - (pAssocReq->HTCaps.present)) + pAssocReq->HTCaps.present && pAssocReq->wmeInfoPresent) { pStaDs->htGreenfield = (tANI_U8)pAssocReq->HTCaps.greenField; pStaDs->htAMpduDensity = pAssocReq->HTCaps.mpduDensity; @@ -1074,11 +1074,17 @@ sendIndToSme: pStaDs->htLdpcCapable = (tANI_U8)pAssocReq->HTCaps.advCodingCap; } - if(pAssocReq->VHTCaps.present) + if(pAssocReq->VHTCaps.present && pAssocReq->wmeInfoPresent) { pStaDs->vhtLdpcCapable = (tANI_U8)pAssocReq->VHTCaps.ldpcCodingCap; } + if (!pAssocReq->wmeInfoPresent) { + pStaDs->mlmStaContext.htCapability = 0; +#ifdef WLAN_FEATURE_11AC + pStaDs->mlmStaContext.vhtCapability = 0; +#endif + } #ifdef WLAN_FEATURE_11AC if (limPopulateMatchingRateSet(pMac, pStaDs, -- cgit v1.2.3