diff options
author | sam <sam@FreeBSD.org> | 2009-07-21 19:25:25 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-07-21 19:25:25 +0000 |
commit | 00f47854ed912106658990f774aa6c54f5078362 (patch) | |
tree | 4376c6c05351be0fbb4f71db520f6f7b3f314f01 /tools | |
parent | daa88ec3ac4c1a0ba71d32606241cf48c2af87ac (diff) | |
download | FreeBSD-src-00f47854ed912106658990f774aa6c54f5078362.zip FreeBSD-src-00f47854ed912106658990f774aa6c54f5078362.tar.gz |
update for recent mesh additions
Approved by: re (kib)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/net80211/wlanstats/wlanstats.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/tools/tools/net80211/wlanstats/wlanstats.c b/tools/tools/net80211/wlanstats/wlanstats.c index 1d4ef33..b542566 100644 --- a/tools/tools/net80211/wlanstats/wlanstats.c +++ b/tools/tools/net80211/wlanstats/wlanstats.c @@ -342,7 +342,15 @@ static const struct fmt wlanstats[] = { { 4, "hwmp_rootreqs", "hwmp_rootreqs", "root PREQ frames sent" }, #define S_HWMP_ROOTANN AFTER(S_HWMP_ROOTREQS) { 4, "hwmp_rootann", "hwmp_rootann", "root RANN frames received" }, -#define S_INPUT AFTER(S_HWMP_ROOTANN) +#define S_MESH_BADAE AFTER(S_HWMP_ROOTANN) + { 4, "mesh_badae", "mesh_badae", "frame discarded for bad AddressExtension (AE)" }, +#define S_MESH_RTADDFAILED AFTER(S_MESH_BADAE) + { 4, "mesh_rtadd", "mesh_rtadd", "mesh route add failed" }, +#define S_MESH_NOTPROXY AFTER(S_MESH_RTADDFAILED) + { 8, "mesh_notproxy", "mesh_notproxy","frame discarded because station not acting as a proxy" }, +#define S_RX_BADALIGN AFTER(S_MESH_NOTPROXY) + { 4, "rx_badalign", "rx_badalign","frame discarded because payload re-alignment failed" }, +#define S_INPUT AFTER(S_RX_BADALIGN) { 8, "input", "input", "total data frames received" }, #define S_RX_UCAST AFTER(S_INPUT) { 8, "rx_ucast", "rx_ucast", "unicast data frames received" }, @@ -796,6 +804,10 @@ wlan_get_curstat(struct statfoo *sf, int s, char b[], size_t bs) case S_HWMP_WRONGSEQ: STAT(hwmp_wrongseq); case S_HWMP_ROOTREQS: STAT(hwmp_rootreqs); case S_HWMP_ROOTANN: STAT(hwmp_rootrann); + case S_MESH_BADAE: STAT(mesh_badae); + case S_MESH_RTADDFAILED:STAT(mesh_rtaddfailed); + case S_MESH_NOTPROXY: STAT(mesh_notproxy); + case S_RX_BADALIGN: STAT(rx_badalign); case S_INPUT: NSTAT(rx_data); case S_OUTPUT: NSTAT(tx_data); case S_RX_UCAST: NSTAT(rx_ucast); @@ -950,6 +962,10 @@ wlan_get_totstat(struct statfoo *sf, int s, char b[], size_t bs) case S_HWMP_WRONGSEQ: STAT(hwmp_wrongseq); case S_HWMP_ROOTREQS: STAT(hwmp_rootreqs); case S_HWMP_ROOTANN: STAT(hwmp_rootrann); + case S_MESH_BADAE: STAT(mesh_badae); + case S_MESH_RTADDFAILED:STAT(mesh_rtaddfailed); + case S_MESH_NOTPROXY: STAT(mesh_notproxy); + case S_RX_BADALIGN: STAT(rx_badalign); case S_INPUT: NSTAT(rx_data); case S_OUTPUT: NSTAT(tx_data); case S_RX_UCAST: NSTAT(rx_ucast); |