usteer: add BSSID to node struct

Add the node BSSID to the usteer_node struct. This will be helpful in
the future when evaluating beacon reports from STAs.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer
2021-09-21 16:02:16 +02:00
parent fc1fadf5eb
commit 8af7b6cb06
3 changed files with 7 additions and 0 deletions

1
ubus.c
View File

@@ -275,6 +275,7 @@ void usteer_dump_node(struct blob_buf *buf, struct usteer_node *node)
void *c;
c = blobmsg_open_table(buf, usteer_node_name(node));
blobmsg_printf(buf, "bssid", MAC_ADDR_FMT, MAC_ADDR_DATA(node->bssid));
blobmsg_add_u32(buf, "freq", node->freq);
blobmsg_add_u32(buf, "n_assoc", node->n_assoc);
blobmsg_add_u32(buf, "noise", node->noise);