From: Felix Fietkau Date: Fri, 22 Feb 2013 20:13:26 +0000 (+0000) Subject: ath9k: fix rssi issues X-Git-Tag: attitude_adjustment_12.09~21 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d0bf3078d5da4bd09dd16ebc9f6a277ff09403d4;p=openwrt%2Fsvn-archive%2Fopenwrt.git ath9k: fix rssi issues Backport of r35750 SVN-Revision: 35752 --- 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)