mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
spelling
This commit is contained in:
parent
a001c95840
commit
ff36ff63bb
1 changed files with 3 additions and 3 deletions
|
@ -182,12 +182,12 @@ void kick_clients(uint8_t bssid[], uint32_t id) {
|
||||||
// only use rx_rate for indicating if transmission is going on
|
// only use rx_rate for indicating if transmission is going on
|
||||||
// <= 6MBits <- probably no transmission
|
// <= 6MBits <- probably no transmission
|
||||||
// tx_rate has always some weird value so don't use ist
|
// tx_rate has always some weird value so don't use ist
|
||||||
if(rx_rate >= dawn_metric.bandwith_threshold){
|
if(rx_rate > dawn_metric.bandwith_threshold){
|
||||||
printf("Client is propaly in active transmisison. Don't kick! RxRate is: %f\n", rx_rate);
|
printf("Client is probably in active transmisison. Don't kick! RxRate is: %f\n", rx_rate);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
printf("Client is propaly NOT in active transmisison. KICK! RxRate is: %f\n", rx_rate);
|
printf("Client is probably NOT in active transmisison. KICK! RxRate is: %f\n", rx_rate);
|
||||||
|
|
||||||
del_client_interface(id, client_array[j].client_addr, 5, 1, 60000);
|
del_client_interface(id, client_array[j].client_addr, 5, 1, 60000);
|
||||||
client_array_delete(client_array[j]);
|
client_array_delete(client_array[j]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue