summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/600-ath9k_use_minstrel.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-01 21:48:55 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-01 21:48:55 +0000
commitc5a04aaadcc0cd1cee7174ed5fbb376ee30332d1 (patch)
tree992187fb4c1827e684bf6b3fa5aed0be0aba797b /package/mac80211/patches/600-ath9k_use_minstrel.patch
parentf55444d39843bffc12af38292f31bd72e129a96a (diff)
mac80211: add the new 802.11n minstrel rate control implementation (optional, not used by default)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19943 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/600-ath9k_use_minstrel.patch')
-rw-r--r--package/mac80211/patches/600-ath9k_use_minstrel.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mac80211/patches/600-ath9k_use_minstrel.patch b/package/mac80211/patches/600-ath9k_use_minstrel.patch
new file mode 100644
index 000000000..0983abf33
--- /dev/null
+++ b/package/mac80211/patches/600-ath9k_use_minstrel.patch
@@ -0,0 +1,14 @@
+--- a/drivers/net/wireless/ath/ath9k/init.c
++++ b/drivers/net/wireless/ath/ath9k/init.c
+@@ -655,7 +655,11 @@ void ath9k_set_hw_capab(struct ath_softc
+ hw->sta_data_size = sizeof(struct ath_node);
+ hw->vif_data_size = sizeof(struct ath_vif);
+
++#ifdef ATH9K_USE_MINSTREL
++ hw->rate_control_algorithm = "minstrel_ht";
++#else
+ hw->rate_control_algorithm = "ath9k_rate_control";
++#endif
+
+ if (test_bit(ATH9K_MODE_11G, sc->sc_ah->caps.wireless_modes))
+ hw->wiphy->bands[IEEE80211_BAND_2GHZ] =