From 5c49ad209642f108f25854da86b6d2e99e4b6bee Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Fri, 29 Jun 2012 17:59:39 +0000
Subject: [PATCH] ath9k: revert an upstream initval update to fix a rx
 sensitivity regression on ar9380 (fixes #11756)

SVN-Revision: 32528
---
 .../567-ath9k_revert_initval_change.patch     | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 package/mac80211/patches/567-ath9k_revert_initval_change.patch

diff --git a/package/mac80211/patches/567-ath9k_revert_initval_change.patch b/package/mac80211/patches/567-ath9k_revert_initval_change.patch
new file mode 100644
index 000000000000..49aea350c77e
--- /dev/null
+++ b/package/mac80211/patches/567-ath9k_revert_initval_change.patch
@@ -0,0 +1,19 @@
+--- a/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
++++ b/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
+@@ -778,11 +778,11 @@ static const u32 ar9300Common_rx_gain_ta
+ 	{0x0000a074, 0x00000000},
+ 	{0x0000a078, 0x00000000},
+ 	{0x0000a07c, 0x00000000},
+-	{0x0000a080, 0x1a1a1a1a},
+-	{0x0000a084, 0x1a1a1a1a},
+-	{0x0000a088, 0x1a1a1a1a},
+-	{0x0000a08c, 0x1a1a1a1a},
+-	{0x0000a090, 0x171a1a1a},
++	{0x0000a080, 0x22222229},
++	{0x0000a084, 0x1d1d1d1d},
++	{0x0000a088, 0x1d1d1d1d},
++	{0x0000a08c, 0x1d1d1d1d},
++	{0x0000a090, 0x171d1d1d},
+ 	{0x0000a094, 0x11111717},
+ 	{0x0000a098, 0x00030311},
+ 	{0x0000a09c, 0x00000000},
-- 
2.30.2