ath9k: dynack: make ewma estimation faster
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Fri, 2 Nov 2018 20:49:58 +0000 (21:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 18:46:14 +0000 (19:46 +0100)
commitd2e843ea4804d2ab530065a033c4b71180463b0c
tree3326192478b652dc0b338d740ee297333092c5ad
parentdb85eb4162da282b1c25b1d62ed01a434bfdd6d0
ath9k: dynack: make ewma estimation faster

commit 0c60c490830a1a756c80f8de8d33d9c6359d4a36 upstream.

In order to make propagation time estimation faster,
use current sample as ewma output value during 'late ack'
tracking

Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/dynack.c
drivers/net/wireless/ath/ath9k/dynack.h
drivers/net/wireless/ath/ath9k/xmit.c