aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-15 01:36:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-15 01:36:45 +0000
commit8144d60d83f29b9520df4d56196616d53871005c (patch)
treee945cca0261fd51b83581628bf83ccb6bc22b857
parent1b66204ccd937fe2c5bfc7f0c2d7e343fe67564d (diff)
downloadupstream-8144d60d83f29b9520df4d56196616d53871005c.tar.gz
upstream-8144d60d83f29b9520df4d56196616d53871005c.tar.bz2
upstream-8144d60d83f29b9520df4d56196616d53871005c.zip
ath9k: enable an ar913x specific hardware fix for sending block-ack
SVN-Revision: 26167
-rw-r--r--package/mac80211/patches/540-ath9k_ar9100_blockack_fix.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/mac80211/patches/540-ath9k_ar9100_blockack_fix.patch b/package/mac80211/patches/540-ath9k_ar9100_blockack_fix.patch
new file mode 100644
index 0000000000..2a09f7fc38
--- /dev/null
+++ b/package/mac80211/patches/540-ath9k_ar9100_blockack_fix.patch
@@ -0,0 +1,21 @@
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -411,6 +411,8 @@ static void ath9k_hw_init_defaults(struc
+ ah->sta_id1_defaults =
+ AR_STA_ID1_CRPT_MIC_ENABLE |
+ AR_STA_ID1_MCAST_KSRCH;
++ if (AR_SREV_9100(ah))
++ ah->sta_id1_defaults |= AR_STA_ID1_AR9100_BA_FIX;
+ ah->enable_32kHz_clock = DONT_USE_32KHZ;
+ ah->slottime = 20;
+ ah->globaltxtimeout = (u32) -1;
+--- a/drivers/net/wireless/ath/ath9k/reg.h
++++ b/drivers/net/wireless/ath/ath9k/reg.h
+@@ -1396,6 +1396,7 @@ enum {
+ #define AR_STA_ID1_PCF 0x00100000
+ #define AR_STA_ID1_USE_DEFANT 0x00200000
+ #define AR_STA_ID1_DEFANT_UPDATE 0x00400000
++#define AR_STA_ID1_AR9100_BA_FIX 0x00400000
+ #define AR_STA_ID1_RTS_USE_DEF 0x00800000
+ #define AR_STA_ID1_ACKCTS_6MB 0x01000000
+ #define AR_STA_ID1_BASE_RATE_11B 0x02000000