APMSG_ID,
APMSG_SEQ,
APMSG_NODES,
+ APMSG_HOST_INFO,
__APMSG_MAX
};
uint32_t id;
uint32_t seq;
struct blob_attr *nodes;
+ struct blob_attr *host_info;
};
enum {
APMSG_NODE_SSID,
APMSG_NODE_MAX_ASSOC,
APMSG_NODE_RRM_NR,
- APMSG_NODE_SCRIPT_DATA,
+ APMSG_NODE_NODE_INFO,
+ APMSG_NODE_BSSID,
+ APMSG_NODE_CHANNEL,
+ APMSG_NODE_OP_CLASS,
__APMSG_NODE_MAX
};
struct apmsg_node {
const char *name;
const char *ssid;
+ const char *bssid;
int freq;
+ int channel;
+ int op_class;
int n_assoc;
int max_assoc;
int noise;
int load;
struct blob_attr *stations;
struct blob_attr *rrm_nr;
- struct blob_attr *script_data;
+ struct blob_attr *node_info;
};
enum {
APMSG_STA_TIMEOUT,
APMSG_STA_SEEN,
APMSG_STA_CONNECTED,
+ APMSG_STA_LAST_CONNECTED,
__APMSG_STA_MAX
};
int signal;
int timeout;
int seen;
+ int last_connected;
};
bool parse_apmsg(struct apmsg *msg, struct blob_attr *data);