]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7915: reset the device after MCU timeout
authorFelix Fietkau <nbd@nbd.name>
Tue, 27 Aug 2024 09:30:02 +0000 (11:30 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 6 Sep 2024 12:23:06 +0000 (14:23 +0200)
commit10f73bb3938f7c5cee78b8bdb7dca328c639c9e6
treee547615cf9b0d98804b1280adbcb38e4f0b10b63
parent3688c18b65aeb2a1f2fde108400afbab129a8cc1
wifi: mt76: mt7915: reset the device after MCU timeout

On MT7915, MCU hangs do not trigger watchdog interrupts, so they can only
be detected through MCU message timeouts. Ensure that the hardware gets
restarted when that happens in order to prevent a permanent stuck state.

Link: https://patch.msgid.link/20240827093011.18621-15-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c