summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2023-07-28 10:51:01 +0300
committerFelix Fietkau <nbd@nbd.name>2023-09-30 21:03:02 +0300
commitbaa19b2e4b7bbb509a7ca7939c8785477dcd40ee (patch)
treec79514880c99788de9ce3d419a91db26da46e062 /scripts
parentaa75cc029e053627743fba2cde8a73519abe8421 (diff)
downloadlinux-baa19b2e4b7bbb509a7ca7939c8785477dcd40ee.tar.xz
wifi: mt76: mt7603: rework/fix rx pse hang check
It turns out that the code in mt7603_rx_pse_busy() does not detect actual hardware hangs, it only checks for busy conditions in PSE. A reset should only be performed if these conditions are true and if there is no rx activity as well. Reset the counter whenever a rx interrupt occurs. In order to also deal with a fully loaded CPU that leaves interrupts disabled with continuous NAPI polling, also check for pending rx interrupts in the function itself. Fixes: c8846e101502 ("mt76: add driver for MT7603E and MT7628/7688") Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions