remote: close file on usteer_init_local_id fread fail
[project/usteer.git] / node.h
diff --git a/node.h b/node.h
index 7e708b7c99c055572854ee05a9e60c49df1e8d4e..77a512f08eab1e19e591090333621afeb85f9f21 100644 (file)
--- a/node.h
+++ b/node.h
@@ -25,6 +25,7 @@
 enum local_req_state {
        REQ_IDLE,
        REQ_CLIENTS,
+       REQ_STATUS,
        REQ_RRM_SET_LIST,
        REQ_RRM_GET_OWN,
        __REQ_MAX
@@ -53,6 +54,13 @@ struct usteer_local_node {
 
        struct kvlist node_info;
 
+       struct uloop_timeout bss_tm_queries_timeout;
+       struct list_head bss_tm_queries;
+
+       int beacon_interval;
+
+       uint16_t band_steering_interval;
+
        struct {
                bool present;
                struct uloop_timeout update;
@@ -62,6 +70,8 @@ struct usteer_local_node {
                bool req_pending;
                bool status_complete;
        } netifd;
+
+       unsigned int link_measurement_tries;
 };
 
 struct interface;
@@ -70,6 +80,7 @@ struct usteer_remote_host {
        struct avl_node avl;
 
        struct list_head nodes;
+       struct blob_attr *host_info;
        char *addr;
 };
 
@@ -86,6 +97,7 @@ struct usteer_remote_node {
 
 extern struct avl_tree local_nodes;
 extern struct list_head remote_nodes;
+extern struct avl_tree remote_hosts;
 
 #define for_each_local_node(node)                      \
        avl_for_each_element(&local_nodes, node, avl)   \