diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2014-02-04 04:27:40 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-12 15:35:57 -0500 |
commit | 1274603646a82c62776680db85446f767beb9694 (patch) | |
tree | 64f86b28704c4bdeaca643976d596d93d1fd005a /drivers/net/wireless/ath/ath9k/common.h | |
parent | 32efb0cc5b614d1ca6c1804107270154c318709a (diff) |
ath9k: move ath9k_process_rate to common.c
we can reuse this function in ath9k_htc
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 aaf4a9b5ad99..729482f4c35d 100644 --- a/drivers/net/wireless/ath/ath9k/common.h +++ b/drivers/net/wireless/ath/ath9k/common.h | |||
@@ -42,6 +42,10 @@ | |||
42 | #define ATH_EP_RND(x, mul) \ | 42 | #define ATH_EP_RND(x, mul) \ |
43 | (((x) + ((mul)/2)) / (mul)) | 43 | (((x) + ((mul)/2)) / (mul)) |
44 | 44 | ||
45 | int ath9k_cmn_process_rate(struct ath_common *common, | ||
46 | struct ieee80211_hw *hw, | ||
47 | struct ath_rx_status *rx_stats, | ||
48 | struct ieee80211_rx_status *rxs); | ||
45 | void ath9k_cmn_process_rssi(struct ath_common *common, | 49 | void ath9k_cmn_process_rssi(struct ath_common *common, |
46 | struct ieee80211_hw *hw, | 50 | struct ieee80211_hw *hw, |
47 | struct ath_rx_status *rx_stats, | 51 | struct ath_rx_status *rx_stats, |