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 <mail@david-bauer.net>
This commit is contained in:
David Bauer
2022-04-01 00:05:33 +02:00
parent 4458b6f1bf
commit bb61f2a598

View File

@@ -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);