mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
update
This commit is contained in:
parent
7e5f9a36d8
commit
9372c0d4e9
1 changed files with 3 additions and 1 deletions
|
@ -437,7 +437,7 @@ void kick_clients(uint8_t bssid[], uint32_t id) {
|
|||
// kick after algorithm decided to kick several times
|
||||
// + rssi is changing a lot
|
||||
// + chan util is changing a lot
|
||||
// + ping pong behavior of clients will be reduced...
|
||||
// + ping pong behavior of clients will be reduced
|
||||
client_array[j].kick_count++;
|
||||
if(client_array[j].kick_count < dawn_metric.min_kick_count){
|
||||
continue;
|
||||
|
@ -484,6 +484,8 @@ void kick_clients(uint8_t bssid[], uint32_t id) {
|
|||
} else {
|
||||
printf("AP is best. Client will stay:\n");
|
||||
print_client_entry(client_array[j]);
|
||||
// set kick counter to 0 again
|
||||
client_array[j].kick_count = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue