mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
low rssi and so on
This commit is contained in:
parent
2a4cbce855
commit
73a36f34b3
2 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,7 @@ config metric
|
||||||
option no_ht_support '0'
|
option no_ht_support '0'
|
||||||
option no_vht_support '0'
|
option no_vht_support '0'
|
||||||
option rssi '0'
|
option rssi '0'
|
||||||
option low_rssi '0'
|
option low_rssi '-500'
|
||||||
option freq '100'
|
option freq '100'
|
||||||
option chan_util '0'
|
option chan_util '0'
|
||||||
option max_chan_util '0'
|
option max_chan_util '0'
|
||||||
|
|
|
@ -235,6 +235,9 @@ int eval_probe_metric(struct probe_entry_s probe_entry) {
|
||||||
printf("SCORE: %d of:\n", score);
|
printf("SCORE: %d of:\n", score);
|
||||||
print_probe_entry(probe_entry);
|
print_probe_entry(probe_entry);
|
||||||
|
|
||||||
|
if(score < 0)
|
||||||
|
score = 0;
|
||||||
|
|
||||||
return score;
|
return score;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue