Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115935852
D49365.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D49365.diff
View Options
diff --git a/usr.sbin/wlanstats/main.c b/usr.sbin/wlanstats/main.c
--- a/usr.sbin/wlanstats/main.c
+++ b/usr.sbin/wlanstats/main.c
@@ -158,7 +158,7 @@
usage(void)
{
- printf("wlanstats: [-ah] [-i ifname] [-l] [-m station MAC address] [-o fmt] [interval]\n");
+ printf("wlanstats: [-h] [-i ifname] [-l] [-m station_MAC_address] [-o fmt] [interval]\n");
}
int
diff --git a/usr.sbin/wlanstats/wlanstats.8 b/usr.sbin/wlanstats/wlanstats.8
--- a/usr.sbin/wlanstats/wlanstats.8
+++ b/usr.sbin/wlanstats/wlanstats.8
@@ -6,7 +6,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.Dd February 20, 2025
+.Dd March 14, 2025
.Dt WLANSTATS 8
.Os
.Sh NAME
@@ -14,11 +14,10 @@
.Nd query 802.11 wireless network statistics
.Sh SYNOPSIS
.Nm
-.\" .Op Fl a
.Op Fl h
.Op Fl i Ar ifnet
.Op Fl l
-.Op Fl m Ar station MAC address
+.Op Fl m Ar station_MAC_address
.Op Fl o Ar fmt
.Op interval
.Sh DESCRIPTION
@@ -44,19 +43,19 @@
instead of the default
.Em wlan0 .
.It Fl l
-List all fields names and their descriptions.
-.It Fl m Ar station MAC address
+List all field names and their descriptions.
+.It Fl m Ar station_MAC_address
Request information for the station specified by the given
-.Ar MAC address.
+.Ar MAC_address .
.It Fl o Ar fmt
Set format of fields to query.
-This can be either on of the pre-defined tags:
+This can be either a pre-defined tag (one of
.Em default ,
-.Em ampdu , or
-.Em amsdu
+.Em ampdu ,
+or
+.Em amsdu ) ,
or a comma separated list of field names without space.
.El
-.Pp
.Sh SEE ALSO
.Xr ifconfig 8 ,
.Xr wlandebug 8
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 1, 3:06 PM (10 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17884390
Default Alt Text
D49365.diff (1 KB)
Attached To
Mode
D49365: wlanstats: update usage, improve man page
Attached
Detach File
Event Timeline
Log In to Comment