mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
remove debug
This commit is contained in:
parent
e8b43ebbb6
commit
0d5c1bef11
2 changed files with 1 additions and 22 deletions
|
@ -429,7 +429,7 @@ void kick_clients(uint8_t bssid[], uint32_t id) {
|
|||
|
||||
|
||||
// here we should send a messsage to set the probe.count for all aps to the min that there is no delay between switching
|
||||
|
||||
// the hearing map is full...
|
||||
send_set_probe(client_array[j].client_addr);
|
||||
|
||||
del_client_interface(id, client_array[j].client_addr, 5, 1, 1000);
|
||||
|
|
|
@ -436,9 +436,6 @@ static int handle_set_probe(struct blob_attr *msg) {
|
|||
memcpy(client_entry.bssid_addr, notify_req.bssid_addr, sizeof(uint8_t) * ETH_ALEN );
|
||||
memcpy(client_entry.client_addr, notify_req.client_addr, sizeof(uint8_t) * ETH_ALEN );
|
||||
|
||||
printf("SETTING CLIENT MACS ENTRY!!!!\n");
|
||||
print_client_entry(client_entry);
|
||||
|
||||
probe_array_set_all_probe_count(client_entry.client_addr, dawn_metric.min_probe_count);
|
||||
|
||||
return 0;
|
||||
|
@ -984,24 +981,6 @@ static int get_hearing_map(struct ubus_context *ctx, struct ubus_object *obj,
|
|||
|
||||
build_hearing_map_sort_client(&b);
|
||||
ubus_send_reply(ctx, req, b.head);
|
||||
|
||||
int tmp_int_mac[ETH_ALEN];
|
||||
uint8_t tmp_mac[ETH_ALEN];
|
||||
sscanf("10:0B:A9:6D:33:90", MACSTR, STR2MAC(tmp_int_mac));
|
||||
for (int i = 0; i < ETH_ALEN; ++i)
|
||||
tmp_mac[i] = (uint8_t) tmp_int_mac[i];
|
||||
|
||||
char mac_buf_target[20];
|
||||
sprintf(mac_buf_target, MACSTR, MAC2STR(tmp_mac));
|
||||
printf("SETTING PROBE COUNT OF MAC!!! %s\n", mac_buf_target);
|
||||
|
||||
|
||||
|
||||
printf("SENDING MAP!\n");
|
||||
|
||||
|
||||
send_set_probe(tmp_mac);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue