diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-05-15 15:56:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-05-15 15:56:51 +0000 |
commit | 48e4708a34a37be043ae0471047127430702b39a (patch) | |
tree | c5d6df8c3628e6c8a5e9a61ce111715dc9b0113c /package/mac80211/patches/510-ath9k_use_minstrel.patch | |
parent | cfec944f426b948f8bd5ef81e402c81e29e3eb1c (diff) | |
download | upstream-48e4708a34a37be043ae0471047127430702b39a.tar.gz upstream-48e4708a34a37be043ae0471047127430702b39a.tar.bz2 upstream-48e4708a34a37be043ae0471047127430702b39a.zip |
mac80211: update to wireless-testing 2010-05-12 plus some pending patches
SVN-Revision: 21454
Diffstat (limited to 'package/mac80211/patches/510-ath9k_use_minstrel.patch')
-rw-r--r-- | package/mac80211/patches/510-ath9k_use_minstrel.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mac80211/patches/510-ath9k_use_minstrel.patch b/package/mac80211/patches/510-ath9k_use_minstrel.patch new file mode 100644 index 0000000000..6f1877f161 --- /dev/null +++ b/package/mac80211/patches/510-ath9k_use_minstrel.patch @@ -0,0 +1,14 @@ +--- a/drivers/net/wireless/ath/ath9k/init.c ++++ b/drivers/net/wireless/ath/ath9k/init.c +@@ -686,7 +686,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] = |