diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-02-05 19:42:05 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-02-05 19:42:05 +0000 |
commit | ad621eef40be51d60c4eac8caf3ca831bc52d236 (patch) | |
tree | d614688e4b0a7b390317107ed1f08b27c72f06bd /sys/net80211 | |
parent | 826c722febf68f99a454f9f10fd1d0b33476f1b9 (diff) |
Count A-MPDU subframes with sequence number below the current BA window as
duplicates rather than input errors. These subframes have either already
been received, or the window was moved by the gap timeout which should only
happen with buggy APs. Neither condition indicates a severe problem.
Perhaps we will introduce a separate counter for this later.
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 6b8106106fb..6db5e492915 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_input.c,v 1.157 2016/02/05 16:07:57 stsp Exp $ */ +/* $OpenBSD: ieee80211_input.c,v 1.158 2016/02/05 19:42:04 stsp Exp $ */ /*- * Copyright (c) 2001 Atsushi Onoe @@ -707,7 +707,7 @@ ieee80211_input_ba(struct ieee80211com *ic, struct mbuf *m, timeout_add_usec(&ba->ba_to, ba->ba_timeout_val); if (SEQ_LT(sn, ba->ba_winstart)) { /* SN < WinStartB */ - ifp->if_ierrors++; + ic->ic_stats.is_rx_dup++; m_freem(m); /* discard the MPDU */ return; } |