From: Deren Wu deren.wu@mediatek.com
Hi,
The bug is found on some devices which power off pcie bus in suspend mode. In this case, mt7921 would resume fail on interactive commands. This patch could recover the failure in command timeout.
Need to apply patches below for dependency. Those patches work for stability improvment as well.
upstream patches: commit f92f81d35ac2 ("mt76: mt7921: check mcu returned values in mt7921_start") commit d32464e68ffc ("mt76: mt7921: introduce mt7921_run_firmware utility routine.") commit 1f7396acfef4 ("mt76: mt7921: introduce __mt7921_start utility routine") commit 3990465db682 ("mt76: dma: introduce mt76_dma_queue_reset routine") commit c001df978e4c ("mt76: dma: export mt76_dma_rx_cleanup routine") commit 0c1ce9884607 ("mt76: mt7921: add wifi reset support") commit e513ae49088b ("mt76: mt7921: abort uncompleted scan by wifi reset")
Lorenzo Bianconi (1): mt76: mt7921: get rid of mcu_reset function pointer
drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)