@@ -170,6 +170,25 @@ Properties string State [readonly]
BSS the device is currently connected to or to which
a connection is in progress.
+ ao Affinities [optional]
+
+ Array of net.connman.iwd.BasicServiceSet object paths
+ that will be treated with higher affinity compared to
+ other BSS's. The affinity comes into play in two
+ scenarios:
+
+ 1. If the connected BSS is in the Affinities list the
+ roaming threshold will be lowered to loosly lock IWD
+ to its current BSS. This prevents IWD from roaming
+ unless the signal drops below the critical threshold
+ (i.e. main.conf: [General].CriticalRoamThreshold).
+
+ 2. A ranking factor will be applied to all BSS in the
+ Affinities list while choosing a roaming candidate.
+ The only exception here is if the BSS's signal
+ is below the critical roaming threshold.
+ (i.e. main.conf: [General].CriticalRoamTreshold)
+
SignalLevelAgent hierarchy
==========================
@@ -130,6 +130,26 @@ The group ``[General]`` contains general settings.
This value can be used to control how aggressively **iwd** roams when
connected to a 5GHz access point.
+ * - CriticalRoamThreshold
+ - Value: rssi dBm value, from -100 to 1, default: **-80**
+
+ The threshold (for 2.4GHz) at which IWD will roam regardless of the
+ affinity set to the current BSS. This is used in two ways:
+
+ 1. If the connected BSS has affinity (set in Station's Affinities list)
+ the roam threshold will be lowed to this value and IWD will not
+ attempt to roam (or roam scan) until either the affinity is cleared,
+ or the signal drops below this threshold.
+
+ 2. The affinity ranking factor will not be appled if the BSS's signal is
+ below this threshold.
+
+ * - CriticalRoamThreshold5G
+ - Value: rssi dBm value, from -100 to 1, default: **-82**
+
+ This has the same effect as ``CriticalRoamThreshold``, but for the 5GHz
+ band.
+
* - RoamRetryInterval
- Value: unsigned int value in seconds (default: **60**)