kern/165517: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Tue Feb 28 04:10:13 UTC 2012
The following reply was made to PR kern/165517; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: kern/165517: commit references a PR
Date: Tue, 28 Feb 2012 04:06:52 +0000 (UTC)
Author: adrian
Date: Tue Feb 28 04:06:42 2012
New Revision: 232245
URL: http://svn.freebsd.org/changeset/base/232245
Log:
Add is_beacon_bad.
PR: kern/165517
Modified:
head/tools/tools/net80211/wlanstats/wlanstats.c
Modified: head/tools/tools/net80211/wlanstats/wlanstats.c
==============================================================================
--- head/tools/tools/net80211/wlanstats/wlanstats.c Tue Feb 28 04:05:35 2012 (r232244)
+++ head/tools/tools/net80211/wlanstats/wlanstats.c Tue Feb 28 04:06:42 2012 (r232245)
@@ -370,6 +370,8 @@ static const struct fmt wlanstats[] = {
{ 5, "noise", "noise", "current noise floor (dBm)" },
#define S_SIGNAL AFTER(S_NOISE)
{ 5, "signal", "sig", "current signal (dBm)" },
+#define S_BEACON_BAD AFTER(S_SIGNAL)
+ { 9, "beacon_bad", "beaconbad", "bad beacons received" },
};
struct wlanstatfoo_p {
@@ -814,6 +816,7 @@ wlan_get_curstat(struct statfoo *sf, int
case S_RX_MCAST: NSTAT(rx_mcast);
case S_TX_UCAST: NSTAT(tx_ucast);
case S_TX_MCAST: NSTAT(tx_mcast);
+ case S_BEACON_BAD: STAT(beacon_bad);
}
return wlan_getinfo(wf, s, b, bs);
#undef NSTAT
@@ -972,6 +975,7 @@ wlan_get_totstat(struct statfoo *sf, int
case S_RX_MCAST: NSTAT(rx_mcast);
case S_TX_UCAST: NSTAT(tx_ucast);
case S_TX_MCAST: NSTAT(tx_mcast);
+ case S_BEACON_BAD: STAT(beacon_bad);
}
return wlan_getinfo(wf, s, b, bs);
#undef NSTAT
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-wireless
mailing list