Indicate STA capability for handling link-measurement requests in
connected_clients output.
Signed-off-by: David Bauer <mail@david-bauer.net>
return false;
}
+bool
+usteer_sta_supports_link_measurement(struct sta_info *si)
+{
+ return si->rrm & (1 << 0);
+}
+
static void __usteer_init usteer_sta_init(void)
{
usteer_timeout_init(&tq);
blobmsg_add_string(&b, "", "TABLE");
blobmsg_close_array(&b, a);
+ /* Link-Measurement support */
+ blobmsg_add_u8(&b, "link-measurement", usteer_sta_supports_link_measurement(si));
+
/* BSS-Transition support */
blobmsg_add_u8(&b, "bss-transition-management", si->bss_transition);
struct sta_info *usteer_sta_info_get(struct sta *sta, struct usteer_node *node, bool *create);
bool usteer_sta_supports_beacon_measurement_mode(struct sta_info *si, enum usteer_beacon_measurement_mode mode);
+bool usteer_sta_supports_link_measurement(struct sta_info *si);
void usteer_sta_disconnected(struct sta_info *si);
void usteer_sta_info_update_timeout(struct sta_info *si, int timeout);