diff --git a/files/dawn.config b/files/dawn.config index 6a6efbc..9d93de5 100644 --- a/files/dawn.config +++ b/files/dawn.config @@ -1,7 +1,7 @@ config settings network - option broadcast_ip '10.0.0.255' + option broadcast_ip '226.94.1.1' option broadcast_port '1025' - option multicast '0' + option multicast '1' option shared_key 'Niiiiiiiiiiiiiik' option iv 'Niiiiiiiiiiiiiik' @@ -12,7 +12,7 @@ config settings hostapd option hostapd_dir '/var/run/hostapd' config settings times - option update_client '50' + option update_client '10' option remove_client '120' option remove_probe '120' option remove_ap '460' @@ -25,10 +25,10 @@ config settings metric option no_vht_support '0' option rssi '10' option low_rssi '-500' - option freq '50' + option freq '100' option chan_util '50' option max_chan_util '150' option rssi_val '-60' - option low_rssi_val '-79' + option low_rssi_val '-80' option min_probe_count '2' option bandwith_threshold '6' diff --git a/src/utils/dawn_iwinfo.c b/src/utils/dawn_iwinfo.c index 28ef62d..7cacad6 100644 --- a/src/utils/dawn_iwinfo.c +++ b/src/utils/dawn_iwinfo.c @@ -31,7 +31,6 @@ int get_bandwidth_iwinfo(__uint8_t *client_addr, float *rx_rate, float *tx_rate) int sucess = 0; - int count = 0; while ((entry = readdir(dirp)) != NULL) { if (entry->d_type == DT_SOCK) { if(get_bandwith(entry->d_name, client_addr, rx_rate, tx_rate))