]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7925: fix fails to enter low power mode in suspend state
authorQuan Zhou <quan.zhou@mediatek.com>
Tue, 14 Jan 2025 05:06:22 +0000 (13:06 +0800)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Mar 2025 13:47:02 +0000 (14:47 +0100)
commit2d5630b0c9466ac6549495828aa7dce7424a272a
treeef3b8e6fa6a2b0653cbba06ec2186d699cf2f800
parent5fd0ff3b96494e6a2eaf876ace3152a01dca9c1f
wifi: mt76: mt7925: fix fails to enter low power mode in suspend state

The mt7925 sometimes fails to enter low power mode during suspend.
This is caused by the chip firmware sending an additional ACK event
to the host after processing the suspend command. Due to timing issues,
this event may not reach the host, causing the chip to get stuck.
To resolve this, the ACK flag in the suspend command is removed,
as it is not needed in the MT7925 architecture. This prevents the
firmware from sending the additional ACK event, ensuring the device
can reliably enter low power mode during suspend.

Signed-off-by: Quan Zhou <quan.zhou@mediatek.com>
Link: https://patch.msgid.link/d056938144a3a0336c3a4e3cec6f271899f32bf7.1736775666.git.quan.zhou@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c