ath9k: fix rssi issues
authorFelix Fietkau <nbd@openwrt.org>
Fri, 22 Feb 2013 20:13:26 +0000 (20:13 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 22 Feb 2013 20:13:26 +0000 (20:13 +0000)
Backport of r35750

SVN-Revision: 35752

package/mac80211/patches/300-pending_work.patch

index a601aeb02beca3f35f9274fd0e5fe97b10de1b6c..3607e76657bc33c8d044c2b74d4de6b3691daca1 100644 (file)
  
        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)