mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
wifi: rtw89: wow: disable interrupt before swapping FW for 8922D
Except for the 8852A, 8852B, 8851B, 8852BT, all subsequent chips use HAXIDMA. Therefore, interrupts need to be disabled before swapping firmware to avoid unexpected SER. Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260127085036.44060-4-pkshih@realtek.com
This commit is contained in:
parent
6792fcf6a6
commit
734bb61782
|
|
@ -1267,15 +1267,15 @@ static int rtw89_wow_swap_fw(struct rtw89_dev *rtwdev, bool wow)
|
|||
enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id;
|
||||
const struct rtw89_chip_info *chip = rtwdev->chip;
|
||||
bool include_bb = !!chip->bbmcu_nr;
|
||||
bool disable_intr_for_dlfw = false;
|
||||
bool disable_intr_for_dlfw = true;
|
||||
struct ieee80211_sta *wow_sta;
|
||||
struct rtw89_sta_link *rtwsta_link = NULL;
|
||||
struct rtw89_sta *rtwsta;
|
||||
bool is_conn = true;
|
||||
int ret;
|
||||
|
||||
if (chip_id == RTL8852C || chip_id == RTL8922A)
|
||||
disable_intr_for_dlfw = true;
|
||||
if (chip->chip_gen == RTW89_CHIP_AX && chip_id != RTL8852C)
|
||||
disable_intr_for_dlfw = false;
|
||||
|
||||
wow_sta = ieee80211_find_sta(wow_vif, wow_vif->cfg.ap_addr);
|
||||
if (wow_sta) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user