aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2007-11-03 18:12:25 +0000
committerSam Leffler <sam@FreeBSD.org>2007-11-03 18:12:25 +0000
commitcf9b84e3dfa0f7d18a74db54ffdf3745cf8a991a (patch)
tree5e73fb396a8d69bba6af459d06ca72b6d0a64c89 /tools
parentfee67c1a146aeade819ffb47ebd8b49173a70cdb (diff)
Notes
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 f3276d157f7d..55cdeaed7699 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]);