summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Klausen <kristian@klausen.dk>2019-09-19 10:46:33 +0200
committerLubomir Rintel <lkundrak@v3.sk>2019-09-20 12:57:16 +0200
commit24bbceed9badb74dcbfbba51fa2a2df5bf90558d (patch)
tree50b534146cc0255337c26b56ef84075e3f7e77dc
parentd4fd1ea4caadfc209fdddece7e1613b01a8709cc (diff)
wifi: roam more aggressively
-80dBm is a very weak signal and we should roam sooner. iwd[1] and iOS[2] default to -70dBm, Android[3] default to -73dBm. So lets change the roaming threshold to -70dBm. [1] https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=45a51613c4c24067fe0e35b4c084a50124282b36 [2] https://support.apple.com/en-us/HT203068 [3] https://android.googlesource.com/platform/frameworks/base/+/68a4599a37e07745cbe0d441e29152da388b5baa/core/res/res/values/config.xml#609 https://android.googlesource.com/platform/frameworks/opt/net/wifi/+/dacacbf69da8844232d938437b3b38471a3d2827/service/java/com/android/server/wifi/ScoringParams.java#218 https://android.googlesource.com/platform/frameworks/opt/net/wifi/+/dacacbf69da8844232d938437b3b38471a3d2827/service/java/com/android/server/wifi/ScoringParams.java#325 https://android.googlesource.com/platform/frameworks/opt/net/wifi/+/ee0920fb68d2f4447936301ce3192c345224e8e7/service/java/com/android/server/wifi/WifiNetworkSelector.java#149 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/201 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/278
-rw-r--r--src/supplicant/nm-supplicant-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supplicant/nm-supplicant-config.c b/src/supplicant/nm-supplicant-config.c
index 7b0ad221e..31740730d 100644
--- a/src/supplicant/nm-supplicant-config.c
+++ b/src/supplicant/nm-supplicant-config.c
@@ -585,7 +585,7 @@ nm_supplicant_config_add_bgscan (NMSupplicantConfig *self,
* (b) since EAP/802.1x isn't used and thus there are fewer steps to fail
* during a roam, we can wait longer before scanning for roam candidates.
*/
- bgscan = "simple:30:-80:86400";
+ bgscan = "simple:30:-70:86400";
/* If using WPA Enterprise or Dynamic WEP use a shorter bgscan interval on
* the assumption that this is a multi-AP ESS in which we want more reliable