记录一下iw list输出内容的解释。
我手机上 iw list
的结果
Wiphy phy0
wiphy index: 0
max # scan SSIDs: 10
max scan IEs length: 2048 bytes
max # sched scan SSIDs: 16
max # match sets: 16
max # scan plans: 2
max scan plan interval: 3600
max scan plan iterations: 10
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports roaming.
Device supports T-DLS.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* 00-40-96:254
* 00-40-96:255
* CCMP-128 (00-0f-ac:4)
* WPI-SMS4 (00-14-72:1)
* CMAC (00-0f-ac:6)
* GMAC-128 (00-0f-ac:11)
* GMAC-256 (00-0f-ac:12)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* monitor
* P2P-client
* P2P-GO
Band 1:
Capabilities: 0x90f2
HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
TX STBC
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
L-SIG TXOP protection
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15
VHT Capabilities (0x00000000):
Max MPDU length: 3895
Supported Channel Width: neither 160 nor 80+80
VHT RX MCS set:
1 streams: MCS 0-7
2 streams: MCS 0-7
3 streams: MCS 0-7
4 streams: MCS 0-7
5 streams: MCS 0-7
6 streams: MCS 0-7
7 streams: MCS 0-7
8 streams: MCS 0-7
VHT RX highest supported: 0 Mbps
VHT TX MCS set:
1 streams: MCS 0-7
2 streams: MCS 0-7
3 streams: MCS 0-7
4 streams: MCS 0-7
5 streams: MCS 0-7
6 streams: MCS 0-7
7 streams: MCS 0-7
8 streams: MCS 0-7
VHT TX highest supported: 0 Mbps
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps
* 5.5 Mbps
* 11.0 Mbps
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm)
* 2472 MHz [13] (20.0 dBm)
* 2484 MHz [14] (disabled)
Band 2:
Capabilities: 0x90f2
HT20/HT40
Static SM Power Save
RX Greenfield
RX HT20 SGI
RX HT40 SGI
TX STBC
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
L-SIG TXOP protection
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15
VHT Capabilities (0x0391fbfa):
Max MPDU length: 11454
Supported Channel Width: 160 MHz, 80+80 MHz
RX LDPC
short GI (80 MHz)
short GI (160/80+80 MHz)
TX STBC
SU Beamformer
SU Beamformee
MU Beamformee
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 866 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 866 Mbps
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 5180 MHz [36] (23.0 dBm)
* 5200 MHz [40] (23.0 dBm)
* 5220 MHz [44] (23.0 dBm)
* 5240 MHz [48] (23.0 dBm)
* 5260 MHz [52] (23.0 dBm) (radar detection)
* 5280 MHz [56] (23.0 dBm) (radar detection)
* 5300 MHz [60] (23.0 dBm) (radar detection)
* 5320 MHz [64] (23.0 dBm) (radar detection)
* 5500 MHz [100] (disabled)
* 5520 MHz [104] (disabled)
* 5540 MHz [108] (disabled)
* 5560 MHz [112] (disabled)
* 5580 MHz [116] (disabled)
* 5600 MHz [120] (disabled)
* 5620 MHz [124] (disabled)
* 5640 MHz [128] (disabled)
* 5660 MHz [132] (disabled)
* 5680 MHz [136] (disabled)
* 5700 MHz [140] (disabled)
* 5720 MHz [144] (disabled)
* 5745 MHz [149] (33.0 dBm)
* 5765 MHz [153] (33.0 dBm)
* 5785 MHz [157] (33.0 dBm)
* 5805 MHz [161] (33.0 dBm)
* 5825 MHz [165] (33.0 dBm)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* set_bss
* join_ibss
* set_pmksa
* del_pmksa
* flush_pmksa
* remain_on_channel
* frame
* frame_wait_cancel
* set_channel
* tdls_mgmt
* tdls_oper
* start_sched_scan
* testmode
* channel_switch
* update_connect_params
* update_ft_ies
* connect
* disconnect
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0 Supported RX frame types:
* IBSS: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* managed: 0x40 0xb0 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
WoWLAN support:
* wake up on anything (device continues operating normally)
* wake up on disconnect
* wake up on magic packet
* wake up on pattern match, up to 4 patterns of 6-64 bytes,
maximum packet offset 0 bytes
* can do GTK rekeying
* wake up on GTK rekey failure
* wake up on EAP identity request
* wake up on 4-way handshake
* wake up on rfkill release
software interface modes (can always be added):
valid interface combinations:
* #{ managed } <= 3,
total <= 3, #channels <= 2
* #{ managed } <= 1, #{ IBSS } <= 1,
total <= 2, #channels <= 2
* #{ AP } <= 3,
total <= 3, #channels <= 2
* #{ P2P-client } <= 1, #{ P2P-GO } <= 1,
total <= 2, #channels <= 2
* #{ managed } <= 2, #{ AP } <= 2,
total <= 4, #channels <= 2, STA/AP BI must match
* #{ managed } <= 2, #{ P2P-client, P2P-GO } <= 2,
total <= 4, #channels <= 2, STA/AP BI must match
* #{ managed } <= 2, #{ P2P-GO } <= 1, #{ AP } <= 1,
total <= 4, #channels <= 2, STA/AP BI must match
* #{ managed } <= 1, #{ P2P-client, P2P-GO } <= 1, #{ AP } <= 1,
total <= 3, #channels <= 2, STA/AP BI must match
* #{ managed } <= 1, #{ P2P-client, P2P-GO } <= 2,
total <= 3, #channels <= 2, STA/AP BI must match
* #{ monitor } <= 3,
total <= 3, #channels <= 2
Device supports HT-IBSS.
Device has client inactivity timer.
Device accepts cell base station regulatory hints.
Device supports SAE with AUTHENTICATE command
Device supports scan flush.
Device supports per-vif TX power setting
Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
Device supports randomizing MAC-addr in scans.
Device supports randomizing MAC-addr in sched scans.
Maximum associated stations in AP mode: 8
Supported extended features:
* [ VHT_IBSS ]: VHT-IBSS
* [ BEACON_RATE_LEGACY ]: legacy beacon rate setting
* [ BEACON_RATE_HT ]: HT beacon rate setting
* [ BEACON_RATE_VHT ]: VHT beacon rate setting
* [ MGMT_TX_RANDOM_TA ]: randomized TA while not associated
* [ SCHED_SCAN_RELATIVE_RSSI ]: sched_scan for BSS with better RSSI report
* [ FILS_SK_OFFLOAD ]: FILS shared key authentication offload
* [ LOW_SPAN_SCAN ]: low span scan
* [ LOW_POWER_SCAN ]: low power scan
* [ HIGH_ACCURACY_SCAN ]: high accuracy scan
上述输出是使用 iw list
命令查看的 Wi-Fi 芯片(Wiphy)的详细信息。以下是每个部分的解释:
- Wiphy phy0: 这是 Wiphy 的名称,通常是物理 Wi-Fi 芯片的编号。
- wiphy index: Wi-Fi 芯片的索引号。
- max # scan SSIDs: 最大扫描 SSID 的数量。表示一次扫描最多可以搜索多少个不同的网络名称(SSID)。
- max scan IEs length: 最大扫描信息元素(IE)长度。信息元素是用于在 Wi-Fi 管理帧中传递附加信息的一种结构。
- max # sched scan SSIDs: 最大计划扫描 SSID 的数量。表示支持调度扫描的最大 SSID 数量。
- max # match sets: 最大匹配集合的数量。
- max # scan plans: 最大扫描计划的数量。
- max scan plan interval: 最大扫描计划间隔的时间(以秒为单位)。
- max scan plan iterations: 最大扫描计划迭代次数。
- Retry short limit: 重试短限制。
- Retry long limit: 重试长限制。
- Coverage class: 覆盖范围类别,通常用于估计覆盖范围。
- Device supports roaming: 表示设备支持漫游功能,允许在不同的接入点之间无缝切换。
- Device supports T-DLS: 表示设备支持 Tunneled Direct Link Setup(T-DLS)功能,允许设备通过 Wi-Fi 直接与其他设备通信。
- Supported Ciphers: 支持的加密算法列表。
- Available Antennas: 可用天线的数量,分为 TX(发送)和 RX(接收)。
- Supported interface modes: 支持的接口模式,如 IBSS、managed、AP、monitor、P2P-client、P2P-GO 等。
- Band 1 和 Band 2: 分别列出了设备在不同频段(例如,2.4 GHz 和 5 GHz)上的支持能力,包括支持的信道宽度、最大数据速率、支持的 MCS 码率等。
- Frequencies: 列出了设备支持的频率和对应的发射功率。
- Supported commands: 设备支持的命令列表,包括设置接口、创建 AP、设置 BSS、连接、断开连接等。
- Supported TX frame types 和 Supported RX frame types: 分别列出了设备支持的发送和接收帧类型。
- WoWLAN support: Wake on Wireless LAN 的支持,指示设备是否支持在特定条件下唤醒。
- Software interface modes: 软件接口模式的支持情况。
- Valid interface combinations: 有效的接口组合,表示支持的接口模式组合。
- Device supports HT-IBSS: 设备是否支持 HT-IBSS 模式。
- Device has client inactivity timer: 设备是否具有客户端不活动计时器。
- Device accepts cell base station regulatory hints: 设备是否接受基于小区基站的规范提示。
- Supported SAE with AUTHENTICATE command: 设备是否支持使用 AUTHENTICATE 命令的 Simultaneous Authentication of Equals (SAE)。
- Supported scan flush: 设备是否支持扫描刷新。
- Supported per-vif TX power setting: 是否支持每个虚拟接口的发射功率设置。
- Driver/device bandwidth changes during BSS lifetime (AP/GO mode): 在 BSS 生命周期内,驱动程序或设备是否支持更改带宽设置(适用于 AP 或 GO 模式)。
- Device supports randomizing MAC-addr in scans: 设备是否支持在扫描中随机化 MAC 地址。
- Device supports randomizing MAC-addr in sched scans: 设备是否支持在调度扫描中随机化 MAC 地址。
- Maximum associated stations in AP mode: 在 AP 模式下支持的最大关联站点数量。
- Supported extended features: 支持的扩展功能列表,包括 VHT-IBSS、BEACON_RATE_LEGACY、BEACON_RATE_HT 等。
这些信息提供了有关 Wi-Fi 芯片功能和特性的详细信息,对于配置和使用 Wi-Fi 设备非常有帮助。