diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-06-10 23:12:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-06-10 23:12:10 +0000 |
commit | 68779160b037598bcdeba35337a2ac8b50ff0e61 (patch) | |
tree | 39f6e68ecac969bb898107eb7d81b786ea8ade28 /package/mac80211/patches/500-ath9k_use_minstrel.patch | |
parent | 97904a9d2f8d088cfe20c0e7311392f607910bd4 (diff) | |
download | mtk-20170518-68779160b037598bcdeba35337a2ac8b50ff0e61.zip mtk-20170518-68779160b037598bcdeba35337a2ac8b50ff0e61.tar.gz mtk-20170518-68779160b037598bcdeba35337a2ac8b50ff0e61.tar.bz2 |
mac80211: update to 2010-06-10, add pending work with stability and throughput fixes for ath9k
SVN-Revision: 21756
Diffstat (limited to 'package/mac80211/patches/500-ath9k_use_minstrel.patch')
-rw-r--r-- | package/mac80211/patches/500-ath9k_use_minstrel.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mac80211/patches/500-ath9k_use_minstrel.patch b/package/mac80211/patches/500-ath9k_use_minstrel.patch new file mode 100644 index 0000000..8669c8c --- /dev/null +++ b/package/mac80211/patches/500-ath9k_use_minstrel.patch @@ -0,0 +1,14 @@ +--- a/drivers/net/wireless/ath/ath9k/init.c ++++ b/drivers/net/wireless/ath/ath9k/init.c +@@ -677,7 +677,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] = |