diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-02-04 16:23:41 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-02-04 16:23:41 +0000 |
commit | d68465470ce1552380a05aae1afa28797addafed (patch) | |
tree | 3d44511a046adeb47100b3594092433ba49b58b1 /sys/net80211/ieee80211_node.h | |
parent | 59e32784feed2d28029aee4a28d5bebc4014abec (diff) |
Restore the BlockAck session timer. It is still required to work around
stalled BA sessions observed with iwn(4). We can revisit this later once
the underlying problem in iwn(4) has been found.
Prompted by report from krw@, I could reproduce the issue.
ok krw@
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
-rw-r--r-- | sys/net80211/ieee80211_node.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h index 2a3ec3ff7b9..f26304a39c4 100644 --- a/sys/net80211/ieee80211_node.h +++ b/sys/net80211/ieee80211_node.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_node.h,v 1.54 2016/02/01 18:43:22 stsp Exp $ */ +/* $OpenBSD: ieee80211_node.h,v 1.55 2016/02/04 16:23:40 stsp Exp $ */ /* $NetBSD: ieee80211_node.h,v 1.9 2004/04/30 22:57:32 dyoung Exp $ */ /*- @@ -112,6 +112,9 @@ struct ieee80211_tx_ba { struct ieee80211_node *ba_ni; /* backpointer for callbacks */ struct timeout ba_to; int ba_timeout_val; +#define IEEE80211_BA_MIN_TIMEOUT (1000 * 1000) /* 1 sec */ +#define IEEE80211_BA_MAX_TIMEOUT (5000 * 1000) /* 5 sec */ + int ba_state; #define IEEE80211_BA_INIT 0 #define IEEE80211_BA_REQUESTED 1 |