ubus: add BSS-transition-management support
authorDavid Bauer <mail@david-bauer.net>
Fri, 18 Feb 2022 23:04:17 +0000 (00:04 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sat, 19 Feb 2022 15:10:34 +0000 (16:10 +0100)
Signed-off-by: David Bauer <mail@david-bauer.net>
ubus.c

diff --git a/ubus.c b/ubus.c
index b8697950ac75aa10c59bb3ee3207c461e3dd7111..fc77ac946fdee4eec65dd409924dc5e079aec005 100644 (file)
--- a/ubus.c
+++ b/ubus.c
@@ -431,6 +431,9 @@ usteer_ubus_get_connected_clients(struct ubus_context *ctx, struct ubus_object *
                                blobmsg_add_string(&b, "", "TABLE");
                        blobmsg_close_array(&b, a);
 
+                       /* BSS-Transition support */
+                       blobmsg_add_u8(&b, "bss-transition-management", si->sta->bss_transition);
+
                        /* Measurements */
                        a = blobmsg_open_array(&b, "measurements");
                        list_for_each_entry(mr, &si->sta->measurements, sta_list) {