main: disable load balancing by default
authorStijn Tintel <stijn@linux-ipv6.be>
Mon, 27 Jun 2022 13:19:41 +0000 (16:19 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Tue, 28 Jun 2022 00:27:02 +0000 (03:27 +0300)
As load-balancing only makes sense in specific deployments, it should be
disabled by default.

Update the example config to reflect this change.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: David Bauer <mail@david-bauer.net>
main.c
openwrt/usteer/files/etc/config/usteer

diff --git a/main.c b/main.c
index bb4e9e34fc2d05a2989203c8348ac019bb659bd1..c05b52900baf9c8f2f476e8cedc3414de9d755cf 100644 (file)
--- a/main.c
+++ b/main.c
@@ -92,7 +92,7 @@ void usteer_init_defaults(void)
        config.max_neighbor_reports = 8;
        config.seen_policy_timeout = 30 * 1000;
        config.band_steering_threshold = 5;
-       config.load_balancing_threshold = 5;
+       config.load_balancing_threshold = 0;
        config.remote_update_interval = 1000;
        config.initial_connect_delay = 0;
        config.remote_node_timeout = 10;
index ece7efcf8c8626cf7646956b0d0a4e610e9d1e94..0d37108e1126b63c808bfba9c1d11720b472355b 100644 (file)
@@ -42,7 +42,7 @@ config usteer
        #option seen_policy_timeout 30000
 
        # Minimum number of stations delta between APs before load balancing policy is active
-       #option load_balancing_threshold 5
+       #option load_balancing_threshold 0
 
        # Minimum number of stations delta between bands before band steering policy is active
        #option band_steering_threshold 5