mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
utils/storage: improve descriptions
Add messages that help users understand what PROBE and BEACON messages are being used. Remove a few things that are no longer needed: #includes, etc [cleanup commit message] Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
39d7e838ae
commit
4a88222722
4 changed files with 58 additions and 43 deletions
|
|
@ -224,11 +224,10 @@ probe_entry *parse_to_probe_req(struct blob_attr* msg) {
|
|||
|
||||
int handle_deauth_req(struct blob_attr* msg) {
|
||||
|
||||
dawnlog_debug_func("Entering...");
|
||||
hostapd_notify_entry notify_req;
|
||||
parse_to_hostapd_notify(msg, ¬ify_req);
|
||||
|
||||
dawnlog_debug_func("Entering...");
|
||||
|
||||
dawn_mutex_lock(&client_array_mutex);
|
||||
|
||||
client_array_delete_bc(notify_req.bssid_addr, notify_req.client_addr);
|
||||
|
|
@ -300,10 +299,18 @@ int handle_network_msg(char* msg) {
|
|||
if (entry != NULL) {
|
||||
if (entry != insert_to_probe_array(entry, false, true, false, time(0))) // use 802.11k values
|
||||
{
|
||||
dawnlog_info("Remote PROBE updated client / BSSID = " MACSTR " / " MACSTR " \n",
|
||||
MAC2STR(entry->client_addr.u8), MAC2STR(entry->bssid_addr.u8));
|
||||
|
||||
// insert found an existing entry, rather than linking in our new one
|
||||
dawn_free(entry);
|
||||
entry = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
dawnlog_info("Remote PROBE is for new client / BSSID = " MACSTR " / " MACSTR " \n",
|
||||
MAC2STR(entry->client_addr.u8), MAC2STR(entry->bssid_addr.u8));
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (strncmp(method, "clients", 5) == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue