diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-15 01:36:48 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-15 01:36:48 +0000 |
commit | 8d08f4473bd0b20f7bbac803534d9768eab90d21 (patch) | |
tree | ea21ef799033eed4c8ca015f8e35a10652897b28 /package/mac80211/patches | |
parent | 8144d60d83f29b9520df4d56196616d53871005c (diff) | |
download | upstream-8d08f4473bd0b20f7bbac803534d9768eab90d21.tar.gz upstream-8d08f4473bd0b20f7bbac803534d9768eab90d21.tar.bz2 upstream-8d08f4473bd0b20f7bbac803534d9768eab90d21.zip |
ath9k: force the rx chainmask on ar913x to 0x7 - fixes calibration issues with 2-antenna devices such as the wrt160nl
SVN-Revision: 26168
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r-- | package/mac80211/patches/541-ath9k_ar9100_rx_chainmask_fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/541-ath9k_ar9100_rx_chainmask_fix.patch b/package/mac80211/patches/541-ath9k_ar9100_rx_chainmask_fix.patch new file mode 100644 index 0000000000..fb06f01ec4 --- /dev/null +++ b/package/mac80211/patches/541-ath9k_ar9100_rx_chainmask_fix.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/wireless/ath/ath9k/hw.c ++++ b/drivers/net/wireless/ath/ath9k/hw.c +@@ -1878,6 +1878,8 @@ int ath9k_hw_fill_cap_info(struct ath_hw + !(AR_SREV_9271(ah))) + /* CB71: GPIO 0 is pulled down to indicate 3 rx chains */ + pCap->rx_chainmask = ath9k_hw_gpio_get(ah, 0) ? 0x5 : 0x7; ++ else if (AR_SREV_9100(ah)) ++ pCap->rx_chainmask = 0x7; + else + /* Use rx_chainmask from EEPROM. */ + pCap->rx_chainmask = ah->eep_ops->get_eeprom(ah, EEP_RX_MASK); |