From e2a14d2f251668db4edd0066a3a16fb7e1c495b3 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Thu, 3 Dec 2015 16:06:59 +0530 Subject: [PATCH] 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 --- core/sme/src/csr/csr_api_roam.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c index 6d65e8136297..eb325093529b 100644 --- a/core/sme/src/csr/csr_api_roam.c +++ b/core/sme/src/csr/csr_api_roam.c @@ -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 || - eCSR_CFG_DOT11_MODE_ABG == cfgDot11Mode -#ifdef WLAN_FEATURE_11AC - || eCSR_CFG_DOT11_MODE_11AC == cfgDot11Mode -#endif - ) && 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 - */ + /* + * If there are Extended Rates in the beacon, we will reflect the + * extended rates that we support in our Extended Operational Rate + * set. + */ + if (pIes->ExtSuppRates.present) { pDstRate = pExRateSet->rate; for (i = 0; i < pIes->ExtSuppRates.num_rates; i++) { if (csr_rates_is_dot11_rate_supported(pMac,