diff options
| author | Kiran Kumar Lokere <klokere@qca.qualcomm.com> | 2014-04-10 00:54:19 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-04-11 08:44:23 -0700 |
| commit | 1eaa70642d47aab157f5cdb0ea64be6c38d1f663 (patch) | |
| tree | 81256c66348dfbadb62fddaf47e47bee35915145 | |
| parent | 373a944980a5eb84aa28b7c12d1597cf51012224 (diff) | |
Fix the IOT uplink throughput issue.
Compare the max AMPDU size between HT IE and VHT IE and pass the
greater value to the FW so that max no.of MPDUs gets aggregated
in an AMPDU.
CRs-Fixed: 618895
Change-Id: I76b6349977e09d248de5c3935659dd1d2a9266dc
| -rw-r--r-- | CORE/MAC/src/pe/lim/limAssocUtils.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/CORE/MAC/src/pe/lim/limAssocUtils.c b/CORE/MAC/src/pe/lim/limAssocUtils.c index c7f230c2f85a..1ed16b4e7ed6 100644 --- a/CORE/MAC/src/pe/lim/limAssocUtils.c +++ b/CORE/MAC/src/pe/lim/limAssocUtils.c @@ -4058,9 +4058,13 @@ tSirRetStatus limStaSendAddBss( tpAniSirGlobal pMac, tpSirAssocRsp pAssocRsp, if (!pAddBssParams->staContext.vhtCapable) // Use max ampd factor advertised in HTCAP for non-vht connection #endif - { - pAddBssParams->staContext.maxAmpduSize= pAssocRsp->HTCaps.maxRxAMPDUFactor; - } + { + pAddBssParams->staContext.maxAmpduSize = pAssocRsp->HTCaps.maxRxAMPDUFactor; + } + else if (pAddBssParams->staContext.maxAmpduSize < pAssocRsp->HTCaps.maxRxAMPDUFactor) + { + pAddBssParams->staContext.maxAmpduSize = pAssocRsp->HTCaps.maxRxAMPDUFactor; + } if( pAddBssParams->staContext.vhtTxBFCapable && pMac->lim.disableLDPCWithTxbfAP ) { pAddBssParams->staContext.htLdpcCapable = 0; |
