From bb61f2a59869391245798a1bdb4741a550bfcb50 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Fri, 1 Apr 2022 00:05:33 +0200 Subject: [PATCH] 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 --- local_node.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2