rt2800: partially restore old mmio txstatus behaviour
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 27 Mar 2019 09:58:24 +0000 (10:58 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 25 Apr 2019 16:43:03 +0000 (19:43 +0300)
commit889bb866baafd191275812574cfe57f6c83910eb
tree1781e2faa2842d31a7517d88d17987459760ee31
parentd5414c2355b20ea8201156d2e874265f1cb0d775
rt2800: partially restore old mmio txstatus behaviour

Do not disable txstatus interrupt and add quota of processed tx statuses in
one tasklet. Quota is needed to allow to fed device with new frames during
processing of tx statuses.

Patch fixes about 15% performance degradation on some scenarios caused by
0b0d556e0ebb ("rt2800mmio: use txdone/txstatus routines from lib").

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c
drivers/net/wireless/ralink/rt2x00/rt2800lib.h
drivers/net/wireless/ralink/rt2x00/rt2800mmio.c
drivers/net/wireless/ralink/rt2x00/rt2800usb.c