summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>2013-10-28 18:01:08 +0530
committerMadan Mohan Koyyalamudi <mkoyyala@qca.qualcomm.com>2013-11-14 19:51:37 -0800
commit7eaef24f1c7dfe41cd07e962f9cdf6614be4cd52 (patch)
tree73f6ed149dc6c1d9bf4e50cc7695b1688747351f
parent1ca7a5183b45f3f1cbd275c8146ba92ff4566b2b (diff)
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
-rw-r--r--CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c10
1 files 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,