From: David Bauer Date: Thu, 31 Mar 2022 22:05:33 +0000 (+0200) Subject: local-node: enable link-measurement capability X-Git-Url: http://git.openwrt.org/openwrt/svn-archive.git?a=commitdiff_plain;h=bb61f2a59869391245798a1bdb4741a550bfcb50;p=project%2Fusteer.git local-node: enable link-measurement capability Request hostap to enable the link-measurement capability in the BSS beacons. Otherwise, STAs might reject link-measurement requests despite being capable of performing such. Signed-off-by: David Bauer --- diff --git a/local_node.c b/local_node.c index 140af78..e5620e5 100644 --- a/local_node.c +++ b/local_node.c @@ -783,6 +783,7 @@ usteer_register_node(struct ubus_context *ctx, const char *name, uint32_t id) blob_buf_init(&b, 0); blobmsg_add_u8(&b, "neighbor_report", 1); + blobmsg_add_u8(&b, "link_measurement", 1); blobmsg_add_u8(&b, "beacon_report", 1); blobmsg_add_u8(&b, "bss_transition", 1); ubus_invoke(ctx, id, "bss_mgmt_enable", b.head, NULL, NULL, 1000);