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>
This commit is contained in:
Stijn Tintel
2022-06-27 16:19:41 +03:00
parent 5be681931f
commit 80b0b652bc
2 changed files with 2 additions and 2 deletions

2
main.c
View File

@@ -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;

View 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