diff mbox series

[1/6] wifi: rtw89: add tx_wake notify for 8852B

Message ID 20230220070202.29868-2-pkshih@realtek.com (mailing list archive)
State Accepted
Commit aa4e055945462e645224795e174c25c82f6002ac
Delegated to: Kalle Valo
Headers show
Series wifi: rtw89: add firmware features for 8852B | expand

Commit Message

Ping-Ke Shih Feb. 20, 2023, 7:01 a.m. UTC
From: Chin-Yen Lee <timlee@realtek.com>

8852B has the same issue: management frames get stuck when wifi
chip enters low ps mode, so we alse add notify wake function to
trigger wifi chip wake before forwarding management frames.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw89/fw.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Kalle Valo Feb. 22, 2023, 12:32 p.m. UTC | #1
Ping-Ke Shih <pkshih@realtek.com> wrote:

> From: Chin-Yen Lee <timlee@realtek.com>
> 
> 8852B has the same issue: management frames get stuck when wifi
> chip enters low ps mode, so we alse add notify wake function to
> trigger wifi chip wake before forwarding management frames.
> 
> Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

6 patches applied to wireless-next.git, thanks.

aa4e05594546 wifi: rtw89: add tx_wake notify for 8852B
31c416e69dbf wifi: rtw89: fw: configure CRASH_TRIGGER feature for 8852B
bb9040b3ff97 wifi: rtw89: adjust channel encoding to common function
4f24d7aa575a wifi: rtw89: 8852b: add channel encoding for hw_scan
357277e1afda wifi: rtw89: 8852b: enable hw_scan support
0d1f7ff19d4f wifi: rtw89: refine FW feature judgement on packet drop
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw89/fw.c b/drivers/net/wireless/realtek/rtw89/fw.c
index 0b73dc2e9ad77..3acbb0e3a55a3 100644
--- a/drivers/net/wireless/realtek/rtw89/fw.c
+++ b/drivers/net/wireless/realtek/rtw89/fw.c
@@ -258,6 +258,7 @@  static const struct __fw_feat_cfg fw_feat_tbl[] = {
 	__CFG_FW_FEAT(RTL8852A, ge, 0, 13, 36, 0, CRASH_TRIGGER),
 	__CFG_FW_FEAT(RTL8852A, ge, 0, 13, 38, 0, PACKET_DROP),
 	__CFG_FW_FEAT(RTL8852B, ge, 0, 29, 26, 0, NO_LPS_PG),
+	__CFG_FW_FEAT(RTL8852B, ge, 0, 29, 26, 0, TX_WAKE),
 	__CFG_FW_FEAT(RTL8852C, ge, 0, 27, 20, 0, PACKET_DROP),
 	__CFG_FW_FEAT(RTL8852C, le, 0, 27, 33, 0, NO_DEEP_PS),
 	__CFG_FW_FEAT(RTL8852C, ge, 0, 27, 34, 0, TX_WAKE),