summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2016-04-28 14:46:50 +0000
committerstsp <stsp@openbsd.org>2016-04-28 14:46:50 +0000
commit83304234612ee3d8916a8b8613732b14b5ce6d30 (patch)
treee3fdfbeffc307db330ca2058b0b223a009bd5d3e
parentAdd a net80211 stat counter for block ack window "slides" as opposed (diff)
downloadwireguard-openbsd-83304234612ee3d8916a8b8613732b14b5ce6d30.tar.xz
wireguard-openbsd-83304234612ee3d8916a8b8613732b14b5ce6d30.zip
Display block ack window slide counter.
with and ok tb@
-rw-r--r--usr.bin/netstat/net80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/net80211.c b/usr.bin/netstat/net80211.c
index 8d55ca824dc..e9dfb333358 100644
--- a/usr.bin/netstat/net80211.c
+++ b/usr.bin/netstat/net80211.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: net80211.c,v 1.14 2016/04/27 11:59:03 stsp Exp $ */
+/* $OpenBSD: net80211.c,v 1.15 2016/04/28 14:46:50 stsp Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -128,6 +128,7 @@ net80211_ifstats(char *ifname)
"\t%lu input frame%s below block ack window start\n");
p(is_ht_rx_frame_above_ba_winend,
"\t%lu input frame%s above block ack window end\n");
+ p(is_ht_rx_ba_window_slide, "\t%lu input block ack window slide%s\n");
p(is_ht_rx_ba_window_jump, "\t%lu input block ack window jump%s\n");
p(is_ht_rx_ba_no_buf, "\t%lu duplicate input block ack frame%s\n");
p(is_ht_rx_ba_frame_lost,