wifi: rtw89: 8852b: enable hw_scan support
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 20 Feb 2023 07:02:01 +0000 (15:02 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 22 Feb 2023 12:32:13 +0000 (14:32 +0200)
This enables hw_scan for 8852b after firmware version 0.29.29.0.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230220070202.29868-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c

index d5b1f1b0fd672a16b9f2c1f0d6116c2f9e55b7a4..dceb033acbc890904d25d5d57d83b4c1544e4142 100644 (file)
@@ -260,6 +260,7 @@ static const struct __fw_feat_cfg fw_feat_tbl[] = {
        __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(RTL8852B, ge, 0, 29, 29, 0, CRASH_TRIGGER),
+       __CFG_FW_FEAT(RTL8852B, ge, 0, 29, 29, 0, SCAN_OFFLOAD),
        __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),