sta-info: add last_connected field

Add a last_connected field to the sta_info struct. This field can be
used to determine, if and when a client was last connected to a given
node. This way, other nodes can determine where a client roamed to or
from.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer
2021-09-27 20:56:41 +02:00
parent 681354256f
commit 6a20591b20
5 changed files with 15 additions and 2 deletions

View File

@@ -210,6 +210,7 @@ struct sta_info {
struct sta_info_stats stats[__EVENT_TYPE_MAX];
uint64_t created;
uint64_t seen;
uint64_t last_connected;
int signal;
enum roam_trigger_state roam_state;