mediatek: fix WED + wifi reset
authorFelix Fietkau <nbd@nbd.name>
Fri, 19 Jan 2024 13:48:05 +0000 (14:48 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 19 Jan 2024 13:48:22 +0000 (14:48 +0100)
commit2c5b3bee38eb0d76f5afe90f9969b73e19d28685
tree763bde09e88c92e05e425e18c35be48d7eef1bfc
parenta28cedbdab96be9bee39bb70098a1508c0252a8a
mediatek: fix WED + wifi reset

The WLAN + WED reset sequence relies on being able to receive interrupts from
the card, in order to synchronize individual steps with the firmware.
When WED is stopped, leave interrupts running and rely on the driver turning
off unwanted ones.
WED DMA also needs to be disabled before resetting.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/mediatek/patches-5.15/963-net-ethernet-mtk_eth_soc-fix-WED-wifi-reset.patch [new file with mode: 0644]
target/linux/mediatek/patches-6.1/963-net-ethernet-mtk_eth_soc-fix-WED-wifi-reset.patch [new file with mode: 0644]