mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
fix exp thr
This commit is contained in:
parent
28c71fa44e
commit
a42778c616
1 changed files with 2 additions and 1 deletions
|
@ -419,7 +419,8 @@ void kick_clients(uint8_t bssid[], uint32_t id) {
|
|||
// update rssi
|
||||
int rssi = get_rssi_iwinfo(client_array[j].client_addr);
|
||||
int exp_thr = get_expected_throughput_iwinfo(client_array[j].client_addr);
|
||||
printf("Expectd throughput %f Mbit/sec\n", iee80211_calculate_expected_throughput_mbit(exp_thr));
|
||||
double exp_thr_tmp = iee80211_calculate_expected_throughput_mbit(exp_thr);
|
||||
printf("Expectd throughput %f Mbit/sec\n", exp_thr_tmp);
|
||||
|
||||
if (rssi != INT_MIN) {
|
||||
pthread_mutex_unlock(&probe_array_mutex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue