feed hostapd with nr reports

This commit is contained in:
Polynomialdivision 2020-04-17 00:48:51 +02:00
parent 1804d18bf5
commit a63c723e31
5 changed files with 64 additions and 2 deletions

View file

@ -62,6 +62,7 @@ struct probe_metric_s {
int use_driver_recog;
int min_kick_count;
int chan_util_avg_period;
int set_hostapd_nr;
int kicking;
int op_class;
int duration;
@ -267,6 +268,8 @@ int ap_get_collision_count(int col_domain);
void send_beacon_reports(uint8_t bssid[], int id);
int ap_get_nr(struct blob_buf *b, uint8_t own_bssid_addr[]);
/* Utils */
// ---------------- Defines -------------------

View file

@ -8,6 +8,7 @@
#define STR2MAC(a) &(a)[0], &(a)[1], &(a)[2], &(a)[3], &(a)[4], &(a)[5]
#define MACSTR "%02X:%02X:%02X:%02X:%02X:%02X"
#define MACSTRLOWER "%02x:%02x:%02x:%02x:%02x:%02x"
/**
* Convert char to binary.