qcacld-3.0: Add extended rates in Assoc req if AP has it

qcacld-2.0 to qcacld-3.0 propagation

Extended Supported Rates are filled in Assoc req based on the
dot11mode and in Case dot11mode is 11A it's not filled.
Some AP have Basic rate in Extended Rate set in 11A mode.
Thus AP reject the association as Driver does not sent the extended
rate set in 11A mode.

Removed the dot11mode dependency for Extended Supported Rates.
With this change if AP have Extended Supported Rates driver will
add the Extended Supported Rates IE in Assoc req.

Change-Id: Ibd1c98a7cfae46988ff4434579edde7d4222841d
CRs-Fixed: 903270
このコミットが含まれているのは:
Abhishek Singh
2015-12-03 16:06:59 +05:30
committed by Akash Patel
コミット e2a14d2f25

ファイルの表示

@@ -3841,18 +3841,12 @@ static CDF_STATUS csr_get_rate_set(tpAniSirGlobal pMac,
} }
} }
} }
if ((eCSR_CFG_DOT11_MODE_11G == cfgDot11Mode || /*
eCSR_CFG_DOT11_MODE_11N == cfgDot11Mode || * If there are Extended Rates in the beacon, we will reflect the
eCSR_CFG_DOT11_MODE_ABG == cfgDot11Mode * extended rates that we support in our Extended Operational Rate
#ifdef WLAN_FEATURE_11AC * set.
|| eCSR_CFG_DOT11_MODE_11AC == cfgDot11Mode */
#endif if (pIes->ExtSuppRates.present) {
) && pIes->ExtSuppRates.present) {
/*
* If there are extended rates in the beacon,
* we will reflect those extended rates that we support in our
* extended operational rate
*/
pDstRate = pExRateSet->rate; pDstRate = pExRateSet->rate;
for (i = 0; i < pIes->ExtSuppRates.num_rates; i++) { for (i = 0; i < pIes->ExtSuppRates.num_rates; i++) {
if (csr_rates_is_dot11_rate_supported(pMac, if (csr_rates_is_dot11_rate_supported(pMac,