]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: rtw89: 8852c: update supported firmware format to 2
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 16 Apr 2025 08:12:38 +0000 (16:12 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Sat, 26 Apr 2025 07:20:40 +0000 (15:20 +0800)
After firmware 0.27.125.0, it adds more fields to support firmware secure
boot. Though current driver has supported the format, old driver can't
recognize the new format, increase firmware format to 2 to avoid failed
to load the firmware by old driver.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250416081241.36138-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8852c.c

index a8fd573d50481510fd77d4e0aa19f08d72f9b012..9a2235f28e243863125c103fd5f6e7ea2be7ef04 100644 (file)
@@ -15,7 +15,7 @@
 #include "sar.h"
 #include "util.h"
 
-#define RTW8852C_FW_FORMAT_MAX 1
+#define RTW8852C_FW_FORMAT_MAX 2
 #define RTW8852C_FW_BASENAME "rtw89/rtw8852c_fw"
 #define RTW8852C_MODULE_FIRMWARE \
        RTW8852C_FW_BASENAME "-" __stringify(RTW8852C_FW_FORMAT_MAX) ".bin"