wifi: mt76: mt7925: add flow to avoid chip bt function fail
authorQuan Zhou <quan.zhou@mediatek.com>
Fri, 29 Dec 2023 03:09:35 +0000 (11:09 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 22 Feb 2024 08:55:17 +0000 (09:55 +0100)
commit9300ae0cd9e8f2407b20e0e67ee3ea03dc8b06af
tree528afb9841237e5596e9be1839d9dac486216bc7
parentd8cf7e1344727b80b4ec3dc17ca520238d55a88d
wifi: mt76: mt7925: add flow to avoid chip bt function fail

A sub-process of Wifi L0.5 reset will make chip common partition
enter low power, and have chance lead to Bluetooth host-to-chip
command timeout, modify the software flow according to the chip's
design to solve the problem.

Fixes: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips")
Signed-off-by: Quan Zhou <quan.zhou@mediatek.com>
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/pci.c
drivers/net/wireless/mediatek/mt76/mt792x_regs.h