local-node: prioritize neighbor candidates

Prioritize neighbor candidates installed to hostapd. Add a new config
option to set a limit for neighbor reports installed to hostapd. This is
due to the fact, most devices will only evaluate a certain amount of
neighbor reports. Furthermore, the number of neighbor reports possible
is limited by the maximum frame size.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer
2021-09-29 00:42:37 +02:00
parent 4862080de7
commit 532a48d23e
7 changed files with 141 additions and 11 deletions

1
main.c
View File

@@ -88,6 +88,7 @@ void usteer_init_defaults(void)
config.local_sta_timeout = 120 * 1000;
config.local_sta_update = 1 * 1000;
config.max_retry_band = 5;
config.max_neighbor_reports = 8;
config.seen_policy_timeout = 30 * 1000;
config.band_steering_threshold = 5;
config.load_balancing_threshold = 5;