features.txt (5629B)
1 2 IWD 3 === 4 5 - IWD will start a scheduled scan to the interface if the hardware supports 6 that feature. If the iwd closes or dies so that the kernel netlink socket 7 is closed, then the scheduled scan is cancelled automatically if the kernel 8 supports this. This is done by giving NL80211_ATTR_SOCKET_OWNER netlink 9 attribute when initiating the scheduled scan. 10 11 - IWD contains a network object that will contain a list of BSS that have the 12 same SSID and security setting. From user point of view, we will connect to 13 a certain SSID instead of connecting directly to a BSS. IWD will then pick 14 the best BSS automatically from the BSS list when connecting to a SSID. 15 The "best" BSS in this context is the BSS that has the highest signal strength. 16 17 - IWD uses the DBus agent interface to query information from the user. 18 The information asked include things like passphrase etc. The user can 19 register only one agent to iwd. If the user does not respond in timely 20 manner to the query, then the pending user request is cancelled after a 21 timeout. The pending user request is also cancelled if user disconnects a 22 pending connection attempt. 23 24 - IWD supports the full RSN 4-Way Handshake for PTK generation. Support for 25 handling the optional (second) RSN element from the AP is included. 26 27 - IWD supports Pre-authentication from 802.11-2007. If the currently 28 connected AP supports pre-authentication and iwd determines that a roam is 29 required, then the pre-authentication process is kicked off. This is done 30 using the current connection, running 802.1X over 0x88c7 protocol. This results 31 in the creation of a new PMK which is cached by both the target and iwd. iwd 32 can then roam onto the target AP using the cached PMK. 33 34 - IWD supports Fast Transitions for fast roaming between access points. Only 35 FT-over-Air (fastest option) is currently supported by iwd. Whenever iwd 36 determines that a roam is required and a suitable target that supports fast 37 transitions is available, iwd roams to the target AP using FT automatically. 38 39 - IWD supports Radio Resource Management from 802.11k. In particular iwd 40 can request and utilize Neighbor Reports. When iwd determines that a roam 41 is required, iwd will try to obtain a Neighbor Report from the currently 42 connected AP (using a special Action frame). This enables iwd to optimize 43 the list of channels to scan in order to find a suitable target for roaming 44 much quicker. 45 46 - IWD supports receiving and generating SA Query action frames. If there is a 47 spoofed disassociate frame, IWD will generate a SA Query frame to ask the AP if 48 the disassociate frame was valid. The alternate case is if the AP receives 49 an (re)associate frame while the STA is still connected. In this case the AP 50 will send an SA Query frame, which IWD will respond to if it is still connected. 51 52 - IWD supports Opportunistic Wireless Encryption (OWE). This allows encryption 53 on open networks, by using ECDH to negotiate a PMK. 54 55 - IWD supports the following EAP methods: 56 - EAP-SIM 57 - EAP-AKA 58 - EAP-AKA' 59 - EAP-GTC 60 - EAP-MD5 61 - EAP-MSCHAPV2 62 - EAP-TLS 63 - EAP-WSC 64 - EAP-PEAP 65 - EAP-TTLS 66 67 - In addition to the default station mode, IWD supports: 68 - AdHoc (IBSS) - Both unicast and multicast traffic is supported. 69 - Access Point - Both unicast and multicast traffic is supported. AP 70 mode does not yet support EAP methods. 71 72 - IWD supports SAE (Simultaneous Authentication of Equals). SAE is required for 73 the WPA3 certification. SAE uses a Diffie-Hellman key exchange to produce the 74 PMK that's used in the 4-way handshake. Support for hybrid WPA3/WPA2 AP's is 75 also implemented, where WPA3 is preferred. 76 77 Wireless monitor 78 ================ 79 80 Netlink monitor interface is created if it does not exist 81 82 The iwmon utility automates netlink monitor creation by by using RTNL 83 to find an existing netlink monitor interface, and in case it does not 84 exist, create a new one. By default the netlink monitor interface is 85 named 'nlmon'. Another name can be given with the '--interface' 86 command line option. 87 88 Once iwmon terminates, the netlink monitor interface is removed (in 89 case iwmon created it). 90 91 92 HWSIM 93 ===== 94 95 The radio id from kernel mac80211_hwsim module is parsed properly in 96 hwsim. The radio id is not returned as HWSIM_ATTR_RADIO_ID but instead 97 it is returned in error message. If the error code > 0, then that means 98 the radio id. If the error code < 0, then that indicates a real error. 99 100 The hwsim uses new HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE flag attribute to 101 tell the kernel that when the hwsim process dies, the radios it created 102 should be removed. For testing tools it is beneficial if the newly 103 created radio could be bound to the lifetime of the netlink socket. 104 Alternatively, using the hwsim '-k (--keep)' command line option instructs 105 hwsim to not destroy the created radio automatically. 106 107 The hwsim is using HWSIM_CMD_NEW_RADIO to create a new radio. When the 108 radio has been created, the kernel will return the used radio id and 109 parameters in a HWSIM_CMD_NEW_RADIO multicast event that is sent in 110 "config" netlink multicast group. The command HWSIM_CMD_DEL_RADIO is sent 111 by kernel when a hwsim radio is deleted. In this case the deleted 112 radio id is sent to "config" netlink multicast group. 113 114 hwsim can list radios by sending a HWSIM_CMD_GET_RADIO with the attribute 115 HWSIM_ATTR_RADIO_ID containing the desired radio id. If no radio id is 116 given on the command line, a dump of all radios is requested from the 117 kernel. The attributes returned are identical to those sent to the 118 'config' multicast group when creating a radio.