mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
feed hostapd with nr reports
This commit is contained in:
parent
1804d18bf5
commit
a63c723e31
5 changed files with 64 additions and 2 deletions
|
|
@ -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 -------------------
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue