OSDN Git Service

mt76: mt76x02u: update ewma pkt len in mt76x02u_tx_prepare_skb
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 17 Oct 2019 22:50:04 +0000 (00:50 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Nov 2019 12:23:50 +0000 (13:23 +0100)
commitb86b173f634f9d53ae226c8e7e8af9e163f759c0
tree11436419cde23ad9c2b3589c7ce91076f7d1e6eb
parent3473750cd412e5506213e773e9fdd0729d1affe5
mt76: mt76x02u: update ewma pkt len in mt76x02u_tx_prepare_skb

Update ewma packet length in mt76x02u_tx_prepare_skb as it is
done for pci counterpart in order to properly estimate tx time on
current channel

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c