diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-02-22 20:13:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-02-22 20:13:26 +0000 |
commit | f50efd9ccab2c771f86f2091feb3401e0d531c61 (patch) | |
tree | 12faf5e23e7bff7c93a16ef5db29fc6671f64179 | |
parent | 4a6b0eb9a55362b57a19c4a2cbe37ab3c257c8aa (diff) | |
download | upstream-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
-rw-r--r-- | package/mac80211/patches/300-pending_work.patch | 11 |
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) |