xref: /freebsd/usr.sbin/wlanstats/wlanstats.8 (revision ee3960cba1068e12fb032a68c46d74841d9edab3)
1.\"
2.\" Copyright (c) 2025 The FreeBSD Foundation
3.\"
4.\" This documentation was written by Björn Zeeb under sponsorship from
5.\" the FreeBSD Foundation.
6.\"
7.\" SPDX-License-Identifier: BSD-2-Clause
8.\"
9.Dd March 14, 2025
10.Dt WLANSTATS 8
11.Os
12.Sh NAME
13.Nm wlanstats
14.Nd query 802.11 wireless network statistics
15.Sh SYNOPSIS
16.Nm
17.Op Fl h
18.Op Fl i Ar ifnet
19.Op Fl l
20.Op Fl m Ar station_MAC_address
21.Op Fl o Ar fmt
22.Op interval
23.Sh DESCRIPTION
24The
25.Nm
26command is a tool to query 802.11 statistics for
27.Xr wlan 4
28interface.
29Running
30.Nm
31without any options will display the current statistics
32for the
33.Em wlan0
34network interface.
35.Pp
36The following options are available:
37.Bl -tag -width indent
38.It Fl h
39Print usage and exit.
40.It Fl i Ar ifnet
41Report information for the specified
42.Ar ifnet
43instead of the default
44.Em wlan0 .
45.It Fl l
46List all field names and their descriptions.
47.It Fl m Ar station_MAC_address
48Request information for the station specified by the given
49.Ar MAC_address .
50.It Fl o Ar fmt
51Set format of fields to query.
52This can be either a pre-defined tag (one of
53.Em default ,
54.Em ampdu ,
55or
56.Em amsdu ) ,
57or a comma separated list of field names without space.
58.El
59.Sh SEE ALSO
60.Xr ifconfig 8 ,
61.Xr wlandebug 8
62.Pp
63The
64.Pa /usr/src/tools/tools/net80211
65directory contains more utilities that might be relevant to debug wireless
66issues.
67