mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
Add channel utilzation to ap struct
This commit is contained in:
parent
32c5de1a5d
commit
e0ee421722
2 changed files with 2 additions and 2 deletions
|
@ -862,7 +862,7 @@ void print_ap_entry(ap entry) {
|
|||
char mac_buf_ap[20];
|
||||
|
||||
sprintf(mac_buf_ap, "%x:%x:%x:%x:%x:%x", MAC2STR(entry.bssid_addr));
|
||||
printf("bssid_addr: %s, freq: %d, ht: %d, vht: %d, ch_utilz: %d\n",
|
||||
printf("bssid_addr: %s, freq: %d, ht: %d, vht: %d, chan_utilz: %d\n",
|
||||
mac_buf_ap, entry.freq, entry.ht, entry.vht, entry.channel_utilization);
|
||||
}
|
||||
|
||||
|
|
|
@ -484,7 +484,7 @@ int parse_to_clients(struct blob_attr *msg, int do_kick, uint32_t id) {
|
|||
|
||||
if((tb[CLIENT_TABLE_CHAN_UTIL]))
|
||||
{
|
||||
//printf("\n\nCHANNEL UTILIZAITON: %d\n\n", blobmsg_get_u8(tb[CLIENT_TABLE_CHAN_UTIL]));
|
||||
printf("CHANNEL UTILIZAITON: %d\n", blobmsg_get_u8(tb[CLIENT_TABLE_CHAN_UTIL]));
|
||||
}
|
||||
|
||||
if (do_kick) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue