summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/common.h
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2014-02-04 10:27:39 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-02-12 15:35:56 -0500
commit32efb0cc5b614d1ca6c1804107270154c318709a (patch)
tree077ad2b17ae5cc0406cfafd58f7ff2660ba874bc /drivers/net/wireless/ath/ath9k/common.h
parent2f2cb326f9fb8eee6ebbe134261d39506f9fa59a (diff)
ath9k: move ath9k_process_rssi to common.c
we can reuse this fucntion on ath9k_htc. Now we will need to use common version last_rssi, so switch it too. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/common.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/common.h b/drivers/net/wireless/ath/ath9k/common.h
index eb85e1bdca88..aaf4a9b5ad99 100644
--- a/drivers/net/wireless/ath/ath9k/common.h
+++ b/drivers/net/wireless/ath/ath9k/common.h
@@ -42,6 +42,10 @@
#define ATH_EP_RND(x, mul) \
(((x) + ((mul)/2)) / (mul))
+void ath9k_cmn_process_rssi(struct ath_common *common,
+ struct ieee80211_hw *hw,
+ struct ath_rx_status *rx_stats,
+ struct ieee80211_rx_status *rxs);
int ath9k_cmn_get_hw_crypto_keytype(struct sk_buff *skb);
struct ath9k_channel *ath9k_cmn_get_channel(struct ieee80211_hw *hw,
struct ath_hw *ah,