From 80b0b652bc2c6f33c205d3ac55db660953e7f609 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Mon, 27 Jun 2022 16:19:41 +0300 Subject: [PATCH] main: disable load balancing by default 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 Acked-by: David Bauer --- main.c | 2 +- openwrt/usteer/files/etc/config/usteer | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index bb4e9e3..c05b529 100644 --- 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; diff --git a/openwrt/usteer/files/etc/config/usteer b/openwrt/usteer/files/etc/config/usteer index ece7efc..0d37108 100644 --- a/openwrt/usteer/files/etc/config/usteer +++ b/openwrt/usteer/files/etc/config/usteer @@ -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 -- 2.30.2