ath9k: fix rssi issues
authorFelix Fietkau <nbd@openwrt.org>
Fri, 22 Feb 2013 20:11:55 +0000 (20:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 22 Feb 2013 20:11:55 +0000 (20:11 +0000)
SVN-Revision: 35750

package/mac80211/patches/300-pending_work.patch

index 7bd287fbbf25f731fcad1aa5c93fc053bc54ddcc..071bdf4eff7334f1a9f3c7f288a55f9bbd88b3c7 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
+@@ -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)