diff options
| author | Kiran Kumar Lokere <klokere@qca.qualcomm.com> | 2013-11-25 13:17:43 -0800 |
|---|---|---|
| committer | Prakash Dhavali <pdhavali@qca.qualcomm.com> | 2013-12-03 14:39:42 -0800 |
| commit | 7aee5b110d09c713ab58136cc546b1d57ab96533 (patch) | |
| tree | f9fb1c25c7c2b29d4cb4f4ba0e084ac05a95f7fb | |
| parent | 12c23b4c44603c90b01d72be900a58f8e57d461d (diff) | |
Fix the data rate issue in 11b mode.
Pass the correct phy mode to FW to pick the appropriate data rate
for different modes.
Change-Id: I7393581ab3ffe0f50b881fe44cd403a5e6153c27
CRs-Fixed: 575556
| -rw-r--r-- | CORE/MAC/src/pe/lim/limAssocUtils.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/CORE/MAC/src/pe/lim/limAssocUtils.c b/CORE/MAC/src/pe/lim/limAssocUtils.c index 67fe8e5ce9e4..046289231790 100644 --- a/CORE/MAC/src/pe/lim/limAssocUtils.c +++ b/CORE/MAC/src/pe/lim/limAssocUtils.c @@ -3240,7 +3240,14 @@ tSirRetStatus limStaSendAddBss( tpAniSirGlobal pMac, tpSirAssocRsp pAssocRsp, palCopyMemory( pMac->hHdd, pAddBssParams->rateSet.rate, pAssocRsp->supportedRates.rate, pAssocRsp->supportedRates.numRates ); - pAddBssParams->nwType = bssDescription->nwType; + if (psessionEntry->dot11mode == WNI_CFG_DOT11_MODE_11B) + { + pAddBssParams->nwType = eSIR_11B_NW_TYPE; + } + else + { + pAddBssParams->nwType = bssDescription->nwType; + } pAddBssParams->shortSlotTimeSupported = (tANI_U8)pAssocRsp->capabilityInfo.shortSlotTime; pAddBssParams->llaCoexist = (tANI_U8) psessionEntry->beaconParams.llaCoexist; |
