update config

This commit is contained in:
PolynomialDivision 2017-12-12 13:18:25 +01:00
parent ff6da824d4
commit 947ccb85f0
2 changed files with 5 additions and 6 deletions

View file

@ -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'

View file

@ -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))