Ver Fonte

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 há 9 anos atrás
pai
commit
10112381b7
1 ficheiros alterados com 6 adições e 12 exclusões
  1. 6 12
      core/sme/src/csr/csr_api_roam.c

+ 6 - 12
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,