diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2014-03-01 15:15:54 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-17 13:13:07 -0400 |
commit | c7303263a0ab2af8f7b6344db7e861c67bd7d29c (patch) | |
tree | 5dd918ea70f81a726b0a299ae4e4ccd53fc509d8 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | df728780d2ae2a47ffb9ce6486f0eb190d3371a6 (diff) |
ath9k|ath9k_htc: move IEEE80211_MS_TO_TU to common
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/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index aa4f14444997..44d74495c4de 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h | |||
@@ -403,7 +403,6 @@ void ath9k_calculate_iter_data(struct ieee80211_hw *hw, | |||
403 | #define ATH_BCBUF 8 | 403 | #define ATH_BCBUF 8 |
404 | #define ATH_DEFAULT_BINTVAL 100 /* TU */ | 404 | #define ATH_DEFAULT_BINTVAL 100 /* TU */ |
405 | #define ATH_DEFAULT_BMISS_LIMIT 10 | 405 | #define ATH_DEFAULT_BMISS_LIMIT 10 |
406 | #define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024) | ||
407 | 406 | ||
408 | #define TSF_TO_TU(_h,_l) \ | 407 | #define TSF_TO_TU(_h,_l) \ |
409 | ((((u32)(_h)) << 22) | (((u32)(_l)) >> 10)) | 408 | ((((u32)(_h)) << 22) | (((u32)(_l)) >> 10)) |