node: move roam-events to dedicated struct

Move the roam event counters to a dedicated struct.

Update the ubus output to represent this new organization.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer
2021-11-26 01:36:43 +01:00
parent edbe7d41dd
commit e51ea7ac1a
5 changed files with 15 additions and 9 deletions

View File

@@ -88,8 +88,10 @@ struct usteer_node {
int max_assoc;
int load;
int roam_source;
int roam_destination;
struct {
int source;
int target;
} roam_events;
uint64_t created;
};