mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
add print
This commit is contained in:
parent
cb58960bc1
commit
ca566fff43
4 changed files with 2 additions and 11 deletions
|
@ -1,7 +1,3 @@
|
|||
//
|
||||
// Created by nick on 06.02.18.
|
||||
//
|
||||
|
||||
#ifndef DAWN_IEEE80211_UTILS_H
|
||||
#define DAWN_IEEE80211_UTILS_H
|
||||
|
||||
|
|
|
@ -1451,8 +1451,8 @@ void print_probe_entry(probe_entry entry) {
|
|||
|
||||
printf(
|
||||
"bssid_addr: %s, client_addr: %s, signal: %d, freq: "
|
||||
"%d, counter: %d, vht: %d\n",
|
||||
mac_buf_ap, mac_buf_client, entry.signal, entry.freq, entry.counter, entry.vht_support);
|
||||
"%d, counter: %d, vht: %d, min_rate: %d, max_rate: %d\n",
|
||||
mac_buf_ap, mac_buf_client, entry.signal, entry.freq, entry.counter, entry.vht_support, entry.min_supp_datarate, entry.max_supp_datarate);
|
||||
}
|
||||
|
||||
void print_auth_entry(auth_entry entry) {
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
//
|
||||
// Created by nick on 06.02.18.
|
||||
//
|
||||
#include "ieee80211_utils.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
|
|
@ -911,7 +911,6 @@ int parse_to_clients(struct blob_attr *msg, int do_kick, uint32_t id) {
|
|||
ap_entry.station_count = 0;
|
||||
}
|
||||
|
||||
printf("INSERTING TO AP ARRAY!\n");
|
||||
insert_to_ap_array(ap_entry);
|
||||
|
||||
if (do_kick) {
|
||||
|
@ -933,7 +932,6 @@ static void ubus_get_clients_cb(struct ubus_request *req, int type, struct blob_
|
|||
blobmsg_add_u32(&b_domain, "bandwidth", network_config.bandwidth);
|
||||
|
||||
char* collision_string = blobmsg_format_json(b_domain.head, 1);
|
||||
printf("ADDED COLLISION DOMAIN AND BANDWITDH: %s\n", collision_string);
|
||||
|
||||
send_blob_attr_via_network(b_domain.head, "clients");
|
||||
parse_to_clients(b_domain.head, 1, req->peer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue