correct conversions between TU and ms/ticks; these are not used

by any code in the tree[1] and are close enough for common values
that this change is a noop

[1] ath uses one macro to calculate a value that is not used
Submitted by:	sephe
MFC after:	1 week
This commit is contained in:
Sam Leffler 2007-03-05 18:52:35 +00:00
parent ee12856f1d
commit f48ad55ef5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167242

View File

@ -76,9 +76,9 @@
#define IEEE80211_RTS_DEFAULT IEEE80211_RTS_MAX
#define IEEE80211_FRAG_DEFAULT IEEE80211_FRAG_MAX
#define IEEE80211_MS_TO_TU(x) (((x) * 1024) / 1000)
#define IEEE80211_TU_TO_MS(x) (((x) * 1000) / 1024)
#define IEEE80211_TU_TO_TICKS(x)(((x) * hz) / 1024)
#define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024)
#define IEEE80211_TU_TO_MS(x) (((x) * 1024) / 1000)
#define IEEE80211_TU_TO_TICKS(x)(((x) * 1024 * hz) / (1000 * 1000))
struct ieee80211_aclator;
struct sysctl_ctx_list;