local_node: query client MBO support from hostapd

Query client MBO support from hostapd and display it in the output of
the connected_clients ubus method as "multi-band-operation".

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
Stijn Tintel
2022-08-11 12:53:01 +03:00
parent 9059b9a537
commit 041e884240
3 changed files with 17 additions and 1 deletions

3
ubus.c
View File

@@ -442,6 +442,9 @@ usteer_ubus_get_connected_clients(struct ubus_context *ctx, struct ubus_object *
/* BSS-Transition support */
blobmsg_add_u8(&b, "bss-transition-management", si->bss_transition);
/* MBO support */
blobmsg_add_u8(&b, "multi-band-operation", si->mbo);
/* Measurements */
a = blobmsg_open_array(&b, "measurements");
list_for_each_entry(mr, &si->sta->measurements, sta_list) {