summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2021-11-22 11:01:13 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2021-11-22 11:01:13 +0000
commitf6ede9bd8af60902e9c2b009903b62d880cedce5 (patch)
tree69ad8aead06cc74a5b57c4d363940f45b58003a4 /sys
parent1e063e0a1e1ba956665e71204112a008580da65b (diff)
Make iwx(4) update an Rx BA session's last_rx timestamp when a frame
is received which matches the session. Same change as just made in iwm(4).
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_iwx.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/if_iwx.c b/sys/dev/pci/if_iwx.c
index b7072c166ed..d20e233a57d 100644
--- a/sys/dev/pci/if_iwx.c
+++ b/sys/dev/pci/if_iwx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwx.c,v 1.123 2021/11/22 10:54:36 stsp Exp $ */
+/* $OpenBSD: if_iwx.c,v 1.124 2021/11/22 11:01:12 stsp Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
@@ -4202,6 +4202,9 @@ iwx_rx_reorder(struct iwx_softc *sc, struct mbuf *m, int chanidx,
if (rxba == NULL || tid != rxba->tid || rxba->sta_id != IWX_STATION_ID)
return 0;
+ if (rxba->timeout != 0)
+ getmicrouptime(&rxba->last_rx);
+
/* Bypass A-MPDU re-ordering in net80211. */
rxi->rxi_flags |= IEEE80211_RXI_AMPDU_DONE;