From: nbd Date: Fri, 22 Feb 2013 20:13:26 +0000 (+0000) Subject: ath9k: fix rssi issues X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=22fda353ac0ea079a291939125aebcbf52cdd80a;p=12.09%2Fopenwrt.git ath9k: fix rssi issues Backport of r35750 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35752 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index a601aeb..3607e76 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)