MFC 1.46: correct conversions between TU and ms/ticks
Submitted by: sephe
This commit is contained in:
parent
1d8ad74d0e
commit
d4ffe23b32
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user