mt76x2: introduce mt76x2_mac_load_tx_status routine
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Tue, 31 Jul 2018 08:09:07 +0000 (10:09 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 2 Aug 2018 18:47:56 +0000 (21:47 +0300)
commitd3c94b40460b8786d55380abf5dbd42fc3be7dfb
tree3010f90b90539d955fb419065f4238d96c6c24b6
parent4681e0c79e4312c30a458ab87c8cea6b8f909b95
mt76x2: introduce mt76x2_mac_load_tx_status routine

Add mt76x2_mac_load_tx_status routine since tx stats register map is
shared between usb and pci based devices but usb devices do not have a
tx stat irq line as pcie ones and it is necessary to load tx statistics
using a workqueue

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt76x2_mac.c