diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2014-02-04 10:27:39 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-12 15:35:56 -0500 |
commit | 32efb0cc5b614d1ca6c1804107270154c318709a (patch) | |
tree | 077ad2b17ae5cc0406cfafd58f7ff2660ba874bc /drivers/net/wireless/ath/ath9k/common.h | |
parent | 2f2cb326f9fb8eee6ebbe134261d39506f9fa59a (diff) | |
download | op-kernel-dev-32efb0cc5b614d1ca6c1804107270154c318709a.zip op-kernel-dev-32efb0cc5b614d1ca6c1804107270154c318709a.tar.gz |
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.h | 4 |
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 eb85e1b..aaf4a9b5 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, |