mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
Parse AUTH and ASSOC
This commit is contained in:
parent
43896b179b
commit
958e04e8a4
4 changed files with 87 additions and 10 deletions
|
|
@ -40,6 +40,17 @@ typedef struct probe_entry_s {
|
|||
int counter;
|
||||
} probe_entry;
|
||||
|
||||
typedef struct auth_entry_s {
|
||||
uint8_t bssid_addr[ETH_ALEN];
|
||||
uint8_t client_addr[ETH_ALEN];
|
||||
uint8_t target_addr[ETH_ALEN];
|
||||
uint32_t signal;
|
||||
uint32_t freq;
|
||||
} auth_entry;
|
||||
|
||||
typedef struct auth_entry_s assoc_entry;
|
||||
|
||||
|
||||
typedef struct {
|
||||
uint32_t freq;
|
||||
} client_request;
|
||||
|
|
@ -100,6 +111,8 @@ void probe_array_insert(probe_entry entry);
|
|||
|
||||
probe_entry probe_array_delete(probe_entry entry);
|
||||
|
||||
probe_entry probe_array_get_entry(uint8_t bssid_addr[], uint8_t client_addr[]);
|
||||
|
||||
void print_array();
|
||||
|
||||
void *remove_array_thread(void *arg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue