diff options
author | 2016-04-28 13:58:00 +0000 | |
---|---|---|
committer | 2016-04-28 13:58:00 +0000 | |
commit | 08fd8c90567abdc44cef0a70bdf0c397142f03e9 (patch) | |
tree | cf505d93efe0bd6e3d98a7c000cffdeb01bfc072 | |
parent | Show 11n HT rate in ifconfig scan output. Needs a new kernel. (diff) | |
download | wireguard-openbsd-08fd8c90567abdc44cef0a70bdf0c397142f03e9.tar.xz wireguard-openbsd-08fd8c90567abdc44cef0a70bdf0c397142f03e9.zip |
When a frame which falls into the block ack window is received, clear
counters that keep track of consecutive frames falling outside the window.
-rw-r--r-- | sys/net80211/ieee80211_input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 7f7d1418973..d6161a5e6fa 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_input.c,v 1.172 2016/04/27 11:58:10 stsp Exp $ */ +/* $OpenBSD: ieee80211_input.c,v 1.173 2016/04/28 13:58:00 stsp Exp $ */ /*- * Copyright (c) 2001 Atsushi Onoe @@ -767,6 +767,8 @@ ieee80211_input_ba(struct ieee80211com *ic, struct mbuf *m, } /* WinStartB <= SN <= WinEndB */ + ba->ba_winmiss = 0; + ba->ba_missedsn = 0; idx = (sn - ba->ba_winstart) & 0xfff; idx = (ba->ba_head + idx) % IEEE80211_BA_MAX_WINSZ; /* store the received MPDU in the buffer */ |