diff options
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r-- | include/linux/ieee80211.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index b3ce299782af..23a8877f4ded 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h | |||
@@ -2288,4 +2288,8 @@ static inline bool ieee80211_check_tim(const struct ieee80211_tim_ie *tim, | |||
2288 | return !!(tim->virtual_map[index] & mask); | 2288 | return !!(tim->virtual_map[index] & mask); |
2289 | } | 2289 | } |
2290 | 2290 | ||
2291 | /* convert time units */ | ||
2292 | #define TU_TO_JIFFIES(x) (usecs_to_jiffies((x) * 1024)) | ||
2293 | #define TU_TO_EXP_TIME(x) (jiffies + TU_TO_JIFFIES(x)) | ||
2294 | |||
2291 | #endif /* LINUX_IEEE80211_H */ | 2295 | #endif /* LINUX_IEEE80211_H */ |