diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-02-10 21:25:45 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 19:45:32 +0100 |
commit | 20ad19d0ac7389b04b566ebf3e0e497974f63ffa (patch) | |
tree | af1a3d93f6f16f20f514fb940003dd0a85aef196 /net/mac80211/ieee80211_i.h | |
parent | mac80211: remove stray aggregation debugfs definition (diff) | |
download | linux-20ad19d0ac7389b04b566ebf3e0e497974f63ffa.tar.xz linux-20ad19d0ac7389b04b566ebf3e0e497974f63ffa.zip |
mac80211: fix RX aggregation timeouts
The values are in TUs (1.024ms), not ms.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 67bd5220cf40..5b230015f938 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -57,6 +57,8 @@ struct ieee80211_local; */ #define IEEE80211_SCAN_RESULT_EXPIRE (10 * HZ) +#define TU_TO_EXP_TIME(x) (jiffies + usecs_to_jiffies((x) * 1024)) + struct ieee80211_fragment_entry { unsigned long first_frag_time; unsigned int seq; |