mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
treewide: improve beacon request handling
Updated approach to sending BEACON REQUEST. Each AP asks every 802.11k enabled client for the BEACON REPORT of a single other AP in the network at N second intervals, where N is the refresh period / num-APs. N seconds later the request is sent for the next AP. [cleanup commit message] Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
359dd085aa
commit
92eac61d30
6 changed files with 93 additions and 45 deletions
|
|
@ -275,6 +275,7 @@ typedef struct ap_s {
|
|||
|
||||
// ---------------- Global variables ----------------
|
||||
extern struct ap_s* ap_set;
|
||||
extern int ap_entry_last;
|
||||
extern pthread_mutex_t ap_array_mutex;
|
||||
|
||||
extern struct client_s *client_set_bc;
|
||||
|
|
@ -338,7 +339,7 @@ ap *ap_array_get_ap(struct dawn_mac bssid_mac);
|
|||
int probe_array_set_all_probe_count(struct dawn_mac client_addr, uint32_t probe_count);
|
||||
|
||||
//int ap_get_collision_count(int col_domain);
|
||||
void send_beacon_requests(ap *a, int id);
|
||||
void send_beacon_requests(ap* h, ap* a, int id);
|
||||
|
||||
/* Utils */
|
||||
struct kicking_nr {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue