You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.9 KiB
57 lines
1.9 KiB
1 year ago
|
From 7ff78adf4cef672ea8aeea5289981b4b150e01c6 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Huguet?= <ihuguet@redhat.com>
|
||
|
Date: Wed, 24 May 2023 15:00:40 +0200
|
||
|
Subject: [PATCH 141/142] wifi: rtw89: move H2C of del_pkt_offload before
|
||
|
polling FW status ready
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
Bugzilla: https://bugzilla.redhat.com/2207499
|
||
|
|
||
|
commit ce1ba4d782d94fc8ed9116c774e2e5885626836b
|
||
|
Author: Chin-Yen Lee <timlee@realtek.com>
|
||
|
Date: Tue Feb 14 19:43:14 2023 +0800
|
||
|
|
||
|
wifi: rtw89: move H2C of del_pkt_offload before polling FW status ready
|
||
|
|
||
|
The H2C of del_pkt_offload must be called before polling FW status
|
||
|
ready, otherwise the following downloading normal FW will fail.
|
||
|
|
||
|
Fixes: 5c12bb66b79d ("wifi: rtw89: refine packet offload flow")
|
||
|
Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
|
||
|
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
|
||
|
Signed-off-by: Kalle Valo <kvalo@kernel.org>
|
||
|
Link: https://lore.kernel.org/r/20230214114314.5268-1-pkshih@realtek.com
|
||
|
|
||
|
Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
|
||
|
---
|
||
|
drivers/net/wireless/realtek/rtw89/wow.c | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/drivers/net/wireless/realtek/rtw89/wow.c b/drivers/net/wireless/realtek/rtw89/wow.c
|
||
|
index 92fa366ccfcf7..c78ee2ab732c9 100644
|
||
|
--- a/drivers/net/wireless/realtek/rtw89/wow.c
|
||
|
+++ b/drivers/net/wireless/realtek/rtw89/wow.c
|
||
|
@@ -710,6 +710,8 @@ static int rtw89_wow_fw_stop(struct rtw89_dev *rtwdev)
|
||
|
goto out;
|
||
|
}
|
||
|
|
||
|
+ rtw89_fw_release_general_pkt_list(rtwdev, true);
|
||
|
+
|
||
|
ret = rtw89_wow_check_fw_status(rtwdev, false);
|
||
|
if (ret) {
|
||
|
rtw89_err(rtwdev, "wow: failed to check disable fw ready\n");
|
||
|
@@ -779,8 +781,6 @@ static int rtw89_wow_disable(struct rtw89_dev *rtwdev)
|
||
|
goto out;
|
||
|
}
|
||
|
|
||
|
- rtw89_fw_release_general_pkt_list(rtwdev, true);
|
||
|
-
|
||
|
ret = rtw89_wow_swap_fw(rtwdev, false);
|
||
|
if (ret) {
|
||
|
rtw89_err(rtwdev, "wow: failed to disable trx_post\n");
|
||
|
--
|
||
|
2.13.6
|
||
|
|