summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStijn Tintel2022-06-27 13:19:41 +0000
committerStijn Tintel2022-06-28 00:27:02 +0000
commit80b0b652bc2c6f33c205d3ac55db660953e7f609 (patch)
tree862f9bfdac9eabf5bbba0ec3061f1037bbb72ae0
parent5be681931f2de1a7c8865a2c291fff064ab0d7ce (diff)
downloadusteer-80b0b652bc2c6f33c205d3ac55db660953e7f609.tar.gz
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 <stijn@linux-ipv6.be> Acked-by: David Bauer <mail@david-bauer.net>
-rw-r--r--main.c2
-rw-r--r--openwrt/usteer/files/etc/config/usteer2
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