local-node: obtain channel + op-class

In order to send passive beacon-requests, channel and op-class of nodes
are required. Obtain this information per local-node from hostapd.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer
2022-01-08 23:26:03 +01:00
parent c7830b5319
commit 3b51bfbaf6
6 changed files with 52 additions and 0 deletions

View File

@@ -49,6 +49,8 @@ enum {
APMSG_NODE_RRM_NR,
APMSG_NODE_NODE_INFO,
APMSG_NODE_BSSID,
APMSG_NODE_CHANNEL,
APMSG_NODE_OP_CLASS,
__APMSG_NODE_MAX
};
@@ -57,6 +59,8 @@ struct apmsg_node {
const char *ssid;
const char *bssid;
int freq;
int channel;
int op_class;
int n_assoc;
int max_assoc;
int noise;