iw-phy
Show and configure wireless PHY (physical device) settings
TLDR
SYNOPSIS
iw phy [phyname] command
DESCRIPTION
iw phy operates on a wireless PHY, the physical radio device that one or more network interfaces are built on. With no arguments it lists every wiphy and its capabilities: supported bands and channels, bitrates, ciphers, antenna configuration, and which interface modes and features the hardware allows.Targeting a named PHY (for example phy0) lets you query it with info or change radio-wide settings such as the operating channel, transmit power, retry limits, and antenna mask. The interface add form creates additional virtual interfaces (managed, monitor, AP, mesh, and so on) on top of the same radio.
PARAMETERS
info
Print the full capability listing for the PHY.set channel N [HT/VHT]
Set the operating channel, optionally with a width specifier.set freq FREQ
Set the operating frequency directly.set txpower auto|fixed|limit [mBm]
Control transmit power, fixed or capped at the given level.set name NAME
Rename the wireless PHY.set antenna TX RX
Configure the TX and RX antenna bitmasks.interface add NAME type TYPE
Create a new virtual interface of TYPE on this PHY.
CAVEATS
Most set operations require root privileges, and some can only be applied while the interface is down or unused. The exact set of supported channels, powers, and interface types depends on the driver and the active regulatory domain.
