Forráskód Böngészése

qcacld-3.0: Don't send legacy rates in 6GHz band

When operating in 6GHz band, don't send the peer legacy rates as it can
cause a rate mismatch and eventually a crash.

Change-Id: Idda718daaa66aeb5a80ed036055317e64f8226a2
CRs-fixed: 3005578
Lincoln Tran 3 éve
szülő
commit
aa6b97d7f3
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      core/wma/src/wma_mgmt.c

+ 2 - 1
core/wma/src/wma_mgmt.c

@@ -1383,7 +1383,8 @@ QDF_STATUS wma_send_peer_assoc(tp_wma_handle wma,
 		phymode = vdev_phymode;
 	}
 
-	if (!mac->mlme_cfg->rates.disable_abg_rate_txdata) {
+	if (!mac->mlme_cfg->rates.disable_abg_rate_txdata &&
+	    !WLAN_REG_IS_6GHZ_CHAN_FREQ(des_chan->ch_freq)) {
 		/* Legacy Rateset */
 		rate_pos = (uint8_t *) peer_legacy_rates.rates;
 		for (i = 0; i < SIR_NUM_11B_RATES; i++) {