diff options
author | Stanislaw Gruszka <[email protected]> | 2018-04-16 13:56:17 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2018-04-24 20:33:02 +0300 |
commit | b305a6ab02475f52ef604b36e4cecd3bf4aa5eb7 (patch) | |
tree | 6cc4efa47af1e17075cfd80e131fef7ba5cd5d81 /tools/perf/scripts/python | |
parent | b9e5d4feb4fc0ec0823e5da3bdea1c01d38f448e (diff) |
mt7601u: use EWMA to calculate avg_rssi
avr_rssi is not calculated correctly as we do not divide result
by 256 (mt76 sum avg_rssi1 and avg_rssi2 and divide by 512).
However dividing by 256 will make avg_rssi almost the same as
last rssi value - not really an average. So use EWMA to calculate
avg_rssi. I've chosen weight_rcp=4 to convergence quicker on signal
strength changes.
Signed-off-by: Stanislaw Gruszka <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions