wifi: rtw89: add tx_wake notify for 8851B
authorChin-Yen Lee <timlee@realtek.com>
Fri, 19 May 2023 03:14:59 +0000 (11:14 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 25 May 2023 16:11:31 +0000 (19:11 +0300)
8851B has the same issue: management frames get stuck when WiFi
chip enters low PS mode, so we also 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>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230519031500.21087-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c

index f7d4f9d..32a9563 100644 (file)
@@ -256,6 +256,7 @@ struct __fw_feat_cfg {
        }
 
 static const struct __fw_feat_cfg fw_feat_tbl[] = {
+       __CFG_FW_FEAT(RTL8851B, ge, 0, 29, 37, 1, TX_WAKE),
        __CFG_FW_FEAT(RTL8852A, le, 0, 13, 29, 0, OLD_HT_RA_FORMAT),
        __CFG_FW_FEAT(RTL8852A, ge, 0, 13, 35, 0, SCAN_OFFLOAD),
        __CFG_FW_FEAT(RTL8852A, ge, 0, 13, 35, 0, TX_WAKE),