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:
4
remote.h
4
remote.h
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user