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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user