mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
mac80211: update to wireless-testing 2010-03-24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20497 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
14
package/mac80211/patches/540-ath9k_use_minstrel.patch
Normal file
14
package/mac80211/patches/540-ath9k_use_minstrel.patch
Normal file
@@ -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] =
|
||||
Reference in New Issue
Block a user