aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-02-22 20:11:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-02-22 20:11:55 +0000
commit39e831c44568e58e22f939cabbd0a4f22542e42a (patch)
tree52ac60db6b8f8357ff6404d7a0f0da9264ea6dd1 /package
parent929f20666b551de6d88d8805a42569ad3ad06518 (diff)
downloadupstream-39e831c44568e58e22f939cabbd0a4f22542e42a.tar.gz
upstream-39e831c44568e58e22f939cabbd0a4f22542e42a.tar.bz2
upstream-39e831c44568e58e22f939cabbd0a4f22542e42a.zip
ath9k: fix rssi issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35750 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 7bd287fbbf..071bdf4eff 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -3184,3 +3184,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
+@@ -27,7 +27,7 @@
+ #define WME_MAX_BA WME_BA_BMP_SIZE
+ #define ATH_TID_MAX_BUFS (2 * WME_MAX_BA)
+
+-#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)