Stanislaw Gruszka <[email protected]> wrote:

> 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]>

2 patches applied to wireless-drivers-next.git, thanks.

b305a6ab0247 mt7601u: use EWMA to calculate avg_rssi
2019c39a2d60 mt7601u: run calibration works after finishing scanning

-- 
https://patchwork.kernel.org/patch/10342803/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Reply via email to