Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2016 20:33:16 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r297563 - head/tools/tools/net80211/wlanstats
Message-ID:  <201604042033.u34KXGq0005039@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Apr  4 20:33:16 2016
New Revision: 297563
URL: https://svnweb.freebsd.org/changeset/base/297563

Log:
  [net80211] teach wlanstats about the ff_encapfail field.
  
  Without this it just displays a blank, short column which is just
  plainly not useful.

Modified:
  head/tools/tools/net80211/wlanstats/wlanstats.c

Modified: head/tools/tools/net80211/wlanstats/wlanstats.c
==============================================================================
--- head/tools/tools/net80211/wlanstats/wlanstats.c	Mon Apr  4 20:32:31 2016	(r297562)
+++ head/tools/tools/net80211/wlanstats/wlanstats.c	Mon Apr  4 20:33:16 2016	(r297563)
@@ -767,6 +767,7 @@ wlan_get_curstat(struct bsdstat *sf, int
 	case S_FF_SPLIT:	STAT(ff_split);
 	case S_FF_DECAP:	STAT(ff_decap);
 	case S_FF_ENCAP:	STAT(ff_encap);
+	case S_FF_ENCAPFAIL:	STAT(ff_encapfail);
 	case S_RX_BADBINTVAL:	STAT(rx_badbintval);
 	case S_RX_MGMT:		STAT(rx_mgmt);
 	case S_RX_DEMICFAIL:	STAT(rx_demicfail);
@@ -929,6 +930,7 @@ wlan_get_totstat(struct bsdstat *sf, int
 	case S_FF_SPLIT:	STAT(ff_split);
 	case S_FF_DECAP:	STAT(ff_decap);
 	case S_FF_ENCAP:	STAT(ff_encap);
+	case S_FF_ENCAPFAIL:	STAT(ff_encapfail);
 	case S_RX_BADBINTVAL:	STAT(rx_badbintval);
 	case S_RX_MGMT:		STAT(rx_mgmt);
 	case S_RX_DEMICFAIL:	STAT(rx_demicfail);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604042033.u34KXGq0005039>