Skip to contentSkip to conversation

ath9k: Allow using ath9k-rate-control without forcing it.

PATCH New [email protected] 1 participant 1 message Mar 1, 2013 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k: Allow using ath9k-rate-control without forcing it.

From: Ben Greear <[email protected]>

Let user still pick the rate control method by setting the mac80211 module option, ie:

[root@ct520-6157 lanforge]# cat /etc/modprobe.d/mac80211.conf options mac80211 ieee80211_default_rc_algo=ath9k_rate_control

---

Maybe this instead of outright removing ath9k rate control?

 drivers/net/wireless/ath/ath9k/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath9k/init.c +1 -1
index af932c9..e27764d 100644
@@ -810,7 +810,7 @@ void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
 	sc->ant_tx = hw->wiphy->available_antennas_tx;
 
 #ifdef CONFIG_ATH9K_RATE_CONTROL
-	hw->rate_control_algorithm = "ath9k_rate_control";
+	/* hw->rate_control_algorithm = "ath9k_rate_control"; */
 #endif
 
 	if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ)
Signature · 1 line
1.7.3.4