summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2007-11-03 18:12:25 +0000
committersam <sam@FreeBSD.org>2007-11-03 18:12:25 +0000
commit8135d90244869e9f1e26e7cb7c5a410c9e2de87e (patch)
tree5e73fb396a8d69bba6af459d06ca72b6d0a64c89 /tools
parent8c7a082867ca9bd39e5c4fe27833ff2c265660c3 (diff)
downloadFreeBSD-src-8135d90244869e9f1e26e7cb7c5a410c9e2de87e.zip
FreeBSD-src-8135d90244869e9f1e26e7cb7c5a410c9e2de87e.tar.gz
o add -o ampdu shorthand for viewing most useful ampdu stats
o remove noise from default stat list MFC after: 1 week
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/net80211/wlanstats/main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/tools/net80211/wlanstats/main.c b/tools/tools/net80211/wlanstats/main.c
index f3276d1..55cdeae 100644
--- a/tools/tools/net80211/wlanstats/main.c
+++ b/tools/tools/net80211/wlanstats/main.c
@@ -54,7 +54,9 @@
#include "wlanstats.h"
#define S_DEFAULT \
- "input,output,rx_ucast,rx_mcast,tx_ucast,tx_mcast,signal,noise,rate"
+ "input,output,rx_ucast,rx_mcast,tx_ucast,tx_mcast,rssi,rate"
+#define S_AMPDU \
+ "input,output,ampdu_reorder,ampdu_oor,rx_dup,ampdu_flush,ampdu_move,ampdu_drop,ampdu_bar,ampdu_baroow,ampdu_barmove,rssi,rate"
static int signalled;
@@ -163,7 +165,10 @@ main(int argc, char *argv[])
mac = ea->octet;
break;
case 'o':
- wf->setfmt(wf, optarg);
+ if (strcasecmp(optarg, "ampdu") == 0)
+ wf->setfmt(wf, S_AMPDU);
+ else
+ wf->setfmt(wf, optarg);
break;
default:
errx(-1, "usage: %s [-a] [-i ifname] [-l] [-o fmt] [interval]\n", argv[0]);
OpenPOWER on IntegriCloud