mt76: mt76u: rely on a dedicated stats workqueue
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 28 Oct 2019 16:38:05 +0000 (17:38 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Nov 2019 12:23:50 +0000 (13:23 +0100)
commit284efb473ef5f02a7f2c13fdf8d516ecc589bdf1
treed7b932f71946e88611836c7011921c442da4a942
parent80df01f4dc79abbed724bbe0851cab3fe8ad9d99
mt76: mt76u: rely on a dedicated stats workqueue

rate controller and throughput are very sensitive to tx status timing.
In order to improve performances when the system is heavily loaded,
substitute stat_work delayed_work with a regular work_struct and create
a mt76u dedicated workqueue for tx status reporting

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