Usage: /usr/bin/iw [options] command Options: --debug enable netlink debugging --version show version (6.17) Commands: dev ap stop Stop AP functionality dev ap start [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz|160MHz|320MHz] [punct ] [hidden-ssid|zeroed-ssid] head [tail ] [inactivity-time ] [key0:abcde d:1:6162636465] dev ap start [5|10|20|40|80|80+80|160|320] [ []] [punct ] [hidden-ssid|zeroed-ssid] head [tail ] [inactivity-time ] [key0:abcde d:1:6162636465] Start an AP. Note that this usually requires hostapd or similar. phy coalesce show Show coalesce status. phy coalesce disable Disable coalesce. phy coalesce enable Enable coalesce with given configuration. The configuration file contains coalesce rules: delay= condition= patterns=<[offset1+],<[offset2+],...> delay= condition= patterns=<[offset1+],<[offset2+],...> ... delay: maximum coalescing delay in msec. condition: 1/0 i.e. 'not match'/'match' the patterns patterns: each pattern is given as a bytestring with '-' in places where any byte may be present, e.g. 00:11:22:-:44 will match 00:11:22:33:44 and 00:11:22:33:ff:44 etc. Offset and pattern should be separated by '+', e.g. 18+43:34:00:12 will match '43:34:00:12' after 18 bytes of offset in Rx packet. dev auth [key 0:abcde d:1:6162636465] Authenticate with the given network. dev connect [-w] [] [] [auth open|shared] [key 0:abcde d:1:6162636465] [mfp:req/opt/no] Join the network with the given SSID (and frequency, BSSID). With -w, wait for the connect to finish or fail. dev disconnect Disconnect from the current network. dev cqm rssi [] Set connection quality monitor RSSI threshold. event [-t|-T|-r] [-f] Monitor events from the kernel. -t - print timestamp -T - print absolute, human-readable timestamp -r - print relative timestamp -f - print full frame for auth/assoc etc. dev ftm start_responder [lci=] [civic=] Start an FTM responder. Needs a running ap interface dev ftm get_stats Get FTM responder statistics. phy hwsim wakequeues phy hwsim stopqueues phy hwsim setps phy hwsim getps dev ibss join [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [] [beacon-interval ] [basic-rates ] [mcast-rate ] [key d:0:abcde] Join the IBSS cell with the given SSID, if it doesn't exist create it on the given frequency. When fixed frequency is requested, don't join/create a cell on a different frequency. When a fixed BSSID is requested use that BSSID and do not adopt another cell's BSSID even if it has higher TSF and the same SSID. If an IBSS is created, create it with the specified basic-rates, multicast-rate and beacon-interval. dev ibss leave Leave the current IBSS cell. features commands list all known commands and their decimal & hex value phy list List all wireless devices and their capabilities. phy info Show capabilities for the specified wireless device. dev switch channel [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [beacons ] [block-tx] dev switch freq [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [beacons ] [block-tx] dev switch freq [5|10|20|40|80|80+80|160] [ []] [beacons ] [block-tx] Switch the operating channel by sending a channel switch announcement (CSA). dev List all network interfaces for wireless hardware. dev info Show information for this interface. dev del Remove this virtual interface dev interface add type [mesh_id ] [4addr on|off] [flags *] [addr ] phy interface add type [mesh_id ] [4addr on|off] [flags *] [addr ] Add a new virtual interface with the given configuration. Valid interface types are: managed, ibss, monitor, mesh, wds. The flags are only used for monitor interfaces, valid flags are: none: no special flags fcsfail: show frames with FCS errors control: show control frames otherbss: show frames from other BSSes cook: use cooked mode active: use active mode (ACK incoming unicast packets) mumimo-groupid : use MUMIMO according to a group id mumimo-follow-mac : use MUMIMO according to a MAC address The mesh_id is used only for mesh mode. help [command] Print usage for all or a specific command, e.g. "help wowlan" or "help wowlan enable". dev key get Retrieve a key and key sequence. dev link Print information about the current connection, if any. dev measurement ftm_request [timeout=] [randomise[=/]] Send an FTM request to the targets supplied in the config file. Each line in the file represents a target, with the following format: bw=<[20|40|80|80+80|160]> cf= [cf1=] [cf2=] [ftms_per_burst=] [ap-tsf] [asap] [bursts_exp=] [burst_period=] [retries=] [burst_duration=] [preamble=] [lci] [civic] [tb] [non_tb] dev mesh_param dump List all supported mesh parameters dev mesh leave Leave a mesh. dev mesh join [[freq ] [basic-rates ]], [mcast-rate ] [beacon-interval