WLANCTL(8) | System Manager's Manual | WLANCTL(8) |
wlanctl
— examine
IEEE 802.11 wireless LAN client/peer table
wlanctl |
[-p ] interface [...] |
wlanctl |
[-p ] -a |
Use the wlanctl
utility to print node
tables from IEEE 802.11 interfaces. Use the -a
flag
to print the nodes for all interfaces, or list one or more 802.11 interfaces
to select their tables for examination. The -p
flag
causes only nodes that do not have encryption enabled to be printed. For
example, to examine the node tables for atw0, use:
wlanctl atw0
wlanctl
may print this node table, for
example:
atw0: mac 00:02:6f:20:f6:2e bss 02:02:6f:20:f6:2e node flags 0001<bss> ess <netbsd> chan 11 freq 2462MHz flags 00a0<cck,2.4GHz> capabilities 0022<ibss,short preamble> beacon-interval 100 TU tsft 18425852102545544165 us rates [1.0] 2.0 5.5 11.0 assoc-id 0 assoc-failed 0 inactivity 0s rssi 161 txseq 10 rxseq 1420 atw0: mac 00:02:2d:2e:3c:f4 bss 02:02:6f:20:f6:2e node flags 0000 ess <netbsd> chan 11 freq 2462MHz flags 00a0<cck,2.4GHz> capabilities 0002<ibss> beacon-interval 100 TU tsft 18425852105450086784 us rates [1.0] 2.0 5.5 11.0 assoc-id 0 assoc-failed 0 inactivity 0s rssi 159 txseq 2 rxseq 551 atw0: mac 00:02:6f:20:f6:2e bss 02:02:6f:20:f6:2e node flags 0000 ess <netbsd> chan 11 freq 2462MHz flags 00a0<cck,2.4GHz> capabilities 0022<ibss,short preamble> beacon-interval 100 TU tsft 18425852102558548069 us rates [1.0] 2.0 5.5 6.0 9.0 11.0 12.0 18.0 24.0 36.0 48.0 54.0 assoc-id 0 assoc-failed 0 inactivity 145s rssi 163 txseq 9 rxseq 2563
This example is taken from a network consisting of three stations running in ad hoc mode. The key for interpreting the node print-outs follows:
wlanctl
prints the channel number, the center
frequency in megahertz, and the channel flags. The channel flags indicate
the frequency band (“2.4GHz” or “5GHz”),
modulation (“cck”, “gfsk”,
“ofdm”, “turbo”, and “dynamic
cck-ofdm”), and operation constraints (“passive
scan”). Common combinations of band and modulation are these:
Band | Modulation | Description |
2.4GHz | cck | 11Mb/s DSSS 802.11b |
2.4GHz | gfsk | 1-2Mb/s FHSS 802.11 |
2.4GHz | ofdm | 54Mb/s 802.11g |
2.4GHz | dynamic cck-ofdm | mixed 802.11b/g network |
5GHz | ofdm | 54Mb/s 802.11a |
5GHz | turbo | 108Mb/s 802.11a |
wlanctl
understands these capability flags:
Flag | Description |
ess | infrastructure (access point) network |
ibss | ad hoc network (no access point) |
cf pollable | TBD |
request cf poll | TBD |
privacy | WEP encryption |
short preamble | reduce 802.11b overhead |
pbcc | 22Mbps ``802.11b+'' |
channel agility | change channel for licensed services |
short slot-time | TBD |
rsn | TBD Real Soon Now |
dsss-ofdm | TBD |
wlanctl
prints a station's supported bit-rates in
1Mb/s units. A station's basic rates are flagged by an asterisk
(‘*’). The last bit-rate at which a packet was sent to the
station is enclosed by square brackets.wlanctl
first appeared in
NetBSD 3.0.
David Young <dyoung@NetBSD.org>
July 15, 2004 | NetBSD 10.99 |