aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/300-pending_work.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-02-22 20:13:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-02-22 20:13:26 +0000
commitf50efd9ccab2c771f86f2091feb3401e0d531c61 (patch)
tree12faf5e23e7bff7c93a16ef5db29fc6671f64179 /package/mac80211/patches/300-pending_work.patch
parent4a6b0eb9a55362b57a19c4a2cbe37ab3c257c8aa (diff)
downloadupstream-f50efd9ccab2c771f86f2091feb3401e0d531c61.tar.gz
upstream-f50efd9ccab2c771f86f2091feb3401e0d531c61.tar.bz2
upstream-f50efd9ccab2c771f86f2091feb3401e0d531c61.zip
ath9k: fix rssi issues
Backport of r35750 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35752 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/300-pending_work.patch')
-rw-r--r--package/mac80211/patches/300-pending_work.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index a601aeb02b..3607e76657 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -2049,3 +2049,14 @@
rx_status->mactime = be64_to_cpu(rxbuf->rxstatus.rs_tstamp);
rx_status->band = hw->conf.channel->band;
+--- a/drivers/net/wireless/ath/ath9k/common.h
++++ b/drivers/net/wireless/ath/ath9k/common.h
+@@ -35,7 +35,7 @@
+ #define WME_AC_BK 3
+ #define WME_NUM_AC 4
+
+-#define ATH_RSSI_DUMMY_MARKER 0x127
++#define ATH_RSSI_DUMMY_MARKER 127
+ #define ATH_RSSI_LPF_LEN 10
+ #define RSSI_LPF_THRESHOLD -20
+ #define ATH_RSSI_EP_MULTIPLIER (1<<7)