From b7d89132c8c298fa6f5f082a418ac70256a4c284 Mon Sep 17 00:00:00 2001 From: Tobias Strobel Date: Fri, 20 Jan 2023 20:59:20 +0100 Subject: [PATCH] iwd: Increase roam threshold --- etc/iwd/main.conf | 6 ++++++ install.sh | 1 + 2 files changed, 7 insertions(+) create mode 100644 etc/iwd/main.conf diff --git a/etc/iwd/main.conf b/etc/iwd/main.conf new file mode 100644 index 0000000..8617884 --- /dev/null +++ b/etc/iwd/main.conf @@ -0,0 +1,6 @@ +[General] +# Increase the threshold to allow a worse connection, +# preventing early roaming to other access points. +# See: https://wiki.archlinux.org/title/Iwd#iwd_keeps_roaming +RoamThreshold=-75 +RoamThreshold5G=-80 diff --git a/install.sh b/install.sh index ff8cfc0..d705d49 100755 --- a/install.sh +++ b/install.sh @@ -328,6 +328,7 @@ install -Dpm644 "$DIR/etc/systemd/user-service-oomd.conf" /etc/systemd/system/us # Services configuration install -Dpm644 "$DIR/etc/networkmanager-mdns.conf" /etc/NetworkManager/conf.d/50-mdns.conf +install -Dpm644 "$DIR/etc/iwd/main.conf" /etc/iwd/main.conf install -Dpm644 "$DIR/etc/reflector.conf" /etc/xdg/reflector/reflector.conf install -Dpm644 "$DIR/etc/bluetooth.conf" /etc/bluetooth/main.conf install -Dpm644 "$DIR/etc/snapper-root.conf" /etc/snapper/configs/root