In modern wireless networks, especially in large homes or offices with multiple access points, connection stability directly depends on how devices switch between signal sources. This process is controlled by a setting often hidden in equipment settings under the name "roaming aggressiveness." Understanding how this mechanism works allows you to avoid client "stuckness" on a distant router and ensure a smooth transition to a stronger signal source.
Many users encounter a situation where their smartphone or laptop continues to lock onto a distant access point with a signal strength of -80 dBm, while ignoring a nearby one with a full signal strength of -30 dBm. This results in slower speeds and dropped video calls. Roaming aggressiveness β is a software mechanism that forces the client device to initiate a search for a new connection point earlier, without waiting for a critical drop in connection quality.
In this article, we will examine in detail the physical meaning of this parameter and consider how it interacts with protocols. 802.11k/v/r, and we'll determine optimal values ββfor various use cases. You'll learn why blindly increasing aggressiveness can harm the network and how to properly diagnose switching issues.
Physical meaning of the parameter and operating principle
To understand the essence of roaming aggressiveness, it's necessary to look at how a client device (smartphone, laptop) makes the decision to switch. In the WiFi standard, the client decides for itself when to disconnect from its current access point (AP) and connect to another. The router can only "nudge" it to do so by sending special control frames or simulating deteriorating connection conditions.
The aggressiveness parameter determines the signal strength (RSSI) threshold at which the device begins actively searching for alternatives. With low aggressiveness, the client will cling to the current AP until the connection is physically interrupted. High aggressiveness forces the device to "drop" the current connection much earlier, even when an acceptable, but less than ideal, signal is present.
There is an important nuance here: RSSI triggers They don't guarantee instant switching. They merely create conditions that make switching probable. If there's no other point with a better signal within the coverage area, the device may simply lose connection, trying to find something better but failing to find it.
β οΈ Attention: Roaming mechanisms only work when there's overlapping coverage. If there's a "dead zone" between two routers, increasing the aggressiveness will lead to a complete loss of connection in that area, as the device will disconnect from the first router but still be unable to connect to the second.
In professional equipment such as Ubiquiti UniFi or MikroTikThis setting is often referred to as "Roaming Sensitivity" or "Minimum RSSI." Setting it requires precise signal strength calculations to avoid devices constantly hopping between access points unnecessarily.
Impact on connection speed and stability
The main goal of setting aggressiveness is to balance the stability of the current connection with the speed of a potential new one. When a device becomes stuck on a distant router, it is forced to reduce its data transfer rate (modulation) to maintain the connection at its maximum capacity. This phenomenon is often called the "worst client effect," as a slow client consumes airtime, slowing down the entire network.
By increasing aggressiveness, the network administrator forces devices to move more quickly to points with a better signal where higher speeds are available. physical levelHowever, there's a downside: overly aggressive settings can lead to a "ping-pong" effect. This occurs when the device constantly switches between two access points with roughly equal signal strength, failing to properly transmit data.
Let's look at a practical example. You have two routers: one in the living room (-40 dBm), the other in the bedroom (-75 dBm). If you're in the kitchen in the middle (-60 dBm from both):
- π At low aggressiveness, the phone will stick to the router in the living room until the signal drops to -85 dBm, even if the router in the bedroom is already nearby.
- β‘ With medium aggressiveness, switching will occur smoothly as soon as the signal from the current router becomes worse than from the neighboring one by a certain delta.
- π At maximum aggressiveness, the phone may start jumping between routers if signal levels fluctuate due to interference or human movement.
For streaming video and VoIP telephony, it is critical to avoid frequent handoffs. Protocols like 802.11r (Fast BSS Transition) help speed up this process, but the basic threshold setting remains the foundation of stability.
The difference between client and server roaming
It's important to understand who makes the final decision on switching. In classic WiFi (standards before the introduction of complex controllers), the decision is always made by client deviceThe router can only recommend or softly disconnect a client, but it cannot strictly order it to move to a different frequency or access point.
The situation changes in corporate networks with controllers (for example, Cisco WLC, Aruba, Keenetic (In controller mode). This is where server-based roaming is implemented, with the intelligent system deciding when and where to move the client. In such systems, the aggressiveness parameter is often controlled centrally and depends on channel load and the number of connected users.
In home settings, where a combination of several independent routers or entry-level mesh systems is used, we most often deal with client-side decision making. Therefore, setting thresholds on the router side (if available) is only recommended.
β οΈ Attention: Some router manufacturers hide roaming aggressiveness settings from the standard interface. Accessing them may require using the CLI (command line) or installing alternative firmware, such as OpenWrt or DD-WRT.
The table below compares network behavior at different configuration levels:
| Customization level | Customer behavior | Risk of ruptures | Recommended use |
|---|---|---|---|
| Low | Holds until the very end (-85 dBm) | High (in dead zones) | Static devices (PC, TV) |
| Medium | Switches at -70..-75 dBm | Short | Universal mode (default) |
| High | Looks for the best one immediately at -65 dBm | Medium (ping-pong effect) | Mobile devices, VoIP phones |
βοΈ Check before changing settings
The problem of "stuck" clients and solutions
One of the most common problems in WiFi networks is a "sticky client." This is a device that refuses to switch to a closer access point, continuing to transmit data through a distant one at a low speed. This reduces overall throughput for all users.
Mechanism Min RSSI (minimum signal level) is the primary tool for combating this. When the client's signal strength drops below a set threshold, the router forcibly terminates the connection (death frame). The client, left without a connection, is forced to rescan the airwaves and, as a rule, connects to the nearest available point with a better signal.
However, this method requires caution. If the threshold is set too high (for example, -60 dBm), devices with weak Wi-Fi modules (such as older IoT sensors or budget smartphones) may get caught in a constant reconnection loop. They will disconnect, try to reconnect, be rejected again, and so on ad infinitum.
To address this issue, advanced systems use "Band Steering" and "Airtime Fairness." These don't simply drop clients, but rather prioritize traffic from devices with a strong signal, indirectly encouraging weaker clients to seek a better connection.
Technical details of Deauth frames
A forced connection termination is accomplished by sending a deauthentication frame with the reason code "Previous authentication no longer valid." This forces the client device to consider the session terminated and initiate a full reconnection procedure (Association Request).
Configuration in various hardware ecosystems
The implementation of roaming aggressiveness settings varies greatly by vendor. In consumer routers, this setting is often masked or automated. Let's look at where to find these settings in popular systems.
In equipment MikroTik (RouterOS) has the βAccess Listβ functionality and connection profiles where you can set signal-rangeThis allows for flexible configuration of shutdown thresholds for specific groups of devices. The command might look like this:
/interface wireless access-list add signal-range=-70.120 comment="High Aggression"
In systems Ubiquiti UniFi The setting is called "Minimum RSSI" and is located in the WiFi settings. You can also enable "Fast Roaming" (802.11r) there. 11r can cause compatibility issues with older devices (iOS versions prior to version 7, older Android devices), so it's best to disable it on guest networks.
Routers Keenetic Offers a "Minimum signal level for clients" setting in the WiFi section. It also implements Mesh technology, which automatically manages roaming between system nodes, minimizing the need for manual threshold adjustments.
β οΈ Attention: Settings interfaces and parameter names may change with firmware updates. Always consult the manufacturer's official documentation for your specific model and software version before making any changes.
For home mesh systems (TP-Link Deco, Tenda Nova), roaming aggressiveness is usually fixed by the system's algorithms and cannot be adjusted manually. In such cases, it is recommended to physically reposition the satellite modules to optimize coverage.
Diagnostics and optimal values
How do you find the ideal value for your network? There's no universal figure, as it depends on wall materials, noise levels, and client device types. However, there are some rules of thumb to start with.
First, set the value Min RSSI at -75 dBm. This is a safe threshold that will cut off very distant connections but won't throw out devices within range. Run tests: walk around your house with the ping running or make a video call.
If you notice that switching occurs too late (the video freezes in the hallway), try increasing the aggressiveness to -70 dBm. If you see micro-breaks in areas where the signal seems strong, adjust the value back or reduce it to -80 dBm.
Use router logs to monitor events. Look for "disassociated" or "deauthenticated" entries. If you see a specific device constantly disconnecting and reconnecting at the same point, the threshold is set too aggressively for that client.
What is the optimal signal level for switching?
The optimal range is considered to be between -65 and -70 dBm. Below -75 dBm, speed begins to drop noticeably, and above -60 dBm, there is a high risk of false switching during temporary signal fading.
Does aggressive roaming affect smartphone battery life?
Yes, it does. High aggressiveness forces the smartphone's WiFi module to scan the air more frequently and perform reconnection procedures, which increases power consumption.
Do I need to configure aggressiveness for IoT devices (lamps, sockets)?
No, for static IoT devices, roaming aggressiveness isn't important. In fact, low thresholds or exceptions are better for them to avoid unnecessary reconnections, which could confuse them.
Can high aggression help in online games?
Quite the opposite. Ping stability is crucial in gaming. Frequent switching (even fast) introduces jitter (latency). For gaming, it's better to ensure coverage with a single, powerful point or configure roaming for minimal interference.
Does this work on 5GHz the same as 2.4GHz?
At 5 GHz, the signal attenuates faster, resulting in a smaller coverage area. Here, aggressive roaming plays a significant role, helping devices switch between access points more quickly, as the signal "tail" at this frequency is shorter.