node: keep track of roam-sources and roam-destinations

Keep track of STA journeys between multiple nodes. When a new STA is
reported from a foreign node, check whether this STA was previously
associated with a local node.

Vice versa, check upon association whether or not the STA was previously
associated with a foreign node.

Keep track of these roaming transactions using two new (local) fields of
the node struct.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer
2021-09-27 21:48:58 +02:00
parent 6a20591b20
commit 4862080de7
7 changed files with 53 additions and 3 deletions

View File

@@ -87,6 +87,9 @@ struct usteer_node {
int n_assoc;
int max_assoc;
int load;
int roam_source;
int roam_destination;
};
struct usteer_scan_request {
@@ -160,6 +163,8 @@ struct usteer_config {
uint32_t signal_diff_threshold;
int32_t roam_scan_snr;
uint32_t roam_process_timeout;
uint32_t roam_scan_tries;
uint32_t roam_scan_interval;