Re: ieee80211 ms and tu convert macros

2008-02-21 Thread Sepherosa Ziehau
On Thu, Feb 21, 2008 at 1:30 AM, Barbieri, Paul (US SSA) <[EMAIL PROTECTED]> wrote: > I happened to be looking in net80211/ieee80211_var.h and examined the > macros IEEE80211_MS_TO_TU and IEEE80211_TU_TO_MS. The conversions seem > backward to me. The macros are: > > > > #define IEEE80211_MS_TO_

ieee80211 ms and tu convert macros

2008-02-20 Thread Barbieri, Paul (US SSA)
I happened to be looking in net80211/ieee80211_var.h and examined the macros IEEE80211_MS_TO_TU and IEEE80211_TU_TO_MS. The conversions seem backward to me. The macros are: #define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024) #define IEEE80211_TU_TO_MS(x) (((x) * 1024) / 1000)