Connecting and reconnecting
A client joins a network in a few steps:- Discovery. The client finds the network by listening for beacons or by sending probe requests. See active scan and passive scan.
- 802.11 authentication. A first exchange with the chosen access point. For open, WPA2-Personal, and WPA2-Enterprise networks, this is Open System authentication, a formality that doesn’t verify anything. For WPA3-Personal, this step carries the SAE password exchange.
- Association. The client and access point agree on capabilities, such as rates, channel width, and security, and the access point assigns an association ID.
- Security. On protected networks, the client is authenticated, by 802.1X/EAP on enterprise networks, and the 4-way handshake derives the encryption keys for the connection.
- Network configuration. The client gets or confirms its IP configuration, for example with DHCP.
The client decides when to roam
In 802.11, the decision to roam belongs to the client. The access point can’t move a client to another access point; at most it can suggest a move or disconnect the client. Each client operating system and driver uses its own logic, which typically considers:- When to look for a better access point. Many clients start scanning for candidates when the signal strength of the current access point falls below a threshold, called the roam trigger, or when frames start failing. Apple, for example, publishes the roam triggers its devices use in Wi-Fi roaming support in Apple devices.
- Which candidate to choose. Clients compare candidates by signal strength, and may also consider band, channel load, and capabilities. Most require the candidate to be noticeably better than the current access point, to avoid roaming back and forth.
Roaming assistance: 802.11k, 802.11v, and 802.11r
Three amendments help clients roam, each in a different way. They’re commonly deployed together, and the Wi-Fi Alliance certifies them together in its Wi-Fi Agile Multiband and Voice-Enterprise programs.
802.11r supports two methods: over the air, where the client exchanges FT frames directly with the target access point, and over the distribution system (over the DS), where the exchange is relayed through the current access point. Scanning apps can show whether a network supports FT and which methods.
Vendors also use other techniques, such as delaying or withholding probe responses to steer clients toward a band or access point. These are vendor implementations, not 802.11 roaming mechanisms, and clients respond to them differently.
“RRM” can mean different things. In 802.11, it refers to radio resource measurement, the subject of 802.11k. Many vendors use the same abbreviation for radio resource management: automatic adjustment of channels and transmit power across access points.
Roaming latency
Roaming latency is the time between the last frame exchanged with the old access point and the first data frame through the new one. It includes:- Scanning for candidates, if the client didn’t scan beforehand. Scanning other channels takes time away from the current connection.
- Authentication and reassociation with the new access point.
- Key exchange: a full 802.1X authentication and 4-way handshake, a 4-way handshake alone, or neither with 802.11r.
- Network-side updates, such as moving the client’s traffic to the new access point.
What a BSSID change tells you
Apps that read the connection from the client, such as WiFi Signal Pro, detect a roam when the BSSID of the connection changes between readings. That confirms a roam happened, but not:- Why the client roamed, or whether a BTM request prompted it.
- Which mechanisms were used, such as 802.11r or 802.11k.
- How long the roam took, or whether attempts failed and were retried first.
- Roams undone between readings, such as a move away and straight back.
- The candidates the client considered.
In the Intuitibits apps
- WiFi Signal Pro marks roams on its charts, records every roam in History with the access point, signal strength, and channel before and after, and points out repeated roaming between two BSSIDs and roams to a weaker one. See Roams and Find repeated roaming between access points.
- WiFi Signal can notify you, and log an event, when your Mac moves to a different access point. See Monitor Wi-Fi events.
- WiFi Explorer, WiFi Explorer Pro 3, and WiFi Explorer Pro for Windows show whether each network supports fast BSS transition (802.11r) in the Fast Transition column. See Show or hide columns.
- Airtool 2 captures the frames exchanged during a roam for analysis in Wireshark. See Capture on multiple channels and sensors.
See also
References
- IEEE Std 802.11-2024: authentication and association, radio measurement (originally 802.11k), wireless network management and BSS transition management (originally 802.11v), and fast BSS transition (originally 802.11r).
- Apple, Wi-Fi roaming support in Apple devices.