diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-02-22 20:11:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-02-22 20:11:55 +0000 |
commit | c4c43eed046e4107fb24e79099159af63e535003 (patch) | |
tree | da261b34b32146b6881983af2bbf07af540f8665 /package/mac80211/patches | |
parent | d642c4465fd2084dbef63349de973a70cd0013bf (diff) | |
download | upstream-c4c43eed046e4107fb24e79099159af63e535003.tar.gz upstream-c4c43eed046e4107fb24e79099159af63e535003.tar.bz2 upstream-c4c43eed046e4107fb24e79099159af63e535003.zip |
ath9k: fix rssi issues
SVN-Revision: 35750
Diffstat (limited to 'package/mac80211/patches')
-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 7bd287fbbf..071bdf4eff 100644 --- a/package/mac80211/patches/300-pending_work.patch +++ b/package/mac80211/patches/300-pending_work.patch @@ -3184,3 +3184,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 +@@ -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) |