ath9k: populate legacy rate in rate init
RFC 1/1 ath9k: populate legacy rate in rate init
Currently the legacy mode OFDM rate are never be populated while initializing rate control. The assumption is that most of legacy mode OFDM rates by MCS series. But this could also end up with no legacy rates being filled in 11NA mode whereas CCK rates are filled in 11NG mode. This patch fills up supported legacy rate during rate control init. So that the frames can be tried in legacy rate also in 5GHz.
Signed-off-by Rajkumar Manoharan <[email protected]>
--- drivers/net/wireless/ath/ath9k/rc.c | 2 -- 1 file changed, 2 deletions(-)
drivers/net/wireless/ath/ath9k/rc.c +0 -2
@@ -541,8 +541,6 @@ static u8 ath_rc_setvalid_rates(struct ath_rate_priv *ath_rc_priv,* (VALID/VALID_20/VALID_40) flags */ if ((rate == dot11rate) && - (rate_flags &WLAN_RC_CAP_MODE (capflag)) == -WLAN_RC_CAP_MODE (capflag) && (rate_flags &WLAN_RC_CAP_STREAM (capflag)) && !WLAN_RC_PHY_HT (phy)) {u8 valid_rate_count =0 ;
Signature · 1 line
1.7.10.2