]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: rtw89: align CUSTID defined by firmware
authorPing-Ke Shih <pkshih@realtek.com>
Sat, 10 Jan 2026 02:20:16 +0000 (10:20 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 15 Jan 2026 01:17:19 +0000 (09:17 +0800)
Firmware does customized features by CUSTID, so align the ID definition
to have expected features enabled.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260110022019.2254969-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h

index 29625c4fe4e95caccab64da1a3c866f965423266..1abd09d9d29c28a85047e96aece6ee47e1ae4f79 100644 (file)
@@ -5193,13 +5193,15 @@ enum rtw89_quirks {
 };
 
 enum rtw89_custid {
-       RTW89_CUSTID_NONE,
-       RTW89_CUSTID_ACER,
-       RTW89_CUSTID_AMD,
-       RTW89_CUSTID_ASUS,
-       RTW89_CUSTID_DELL,
-       RTW89_CUSTID_HP,
-       RTW89_CUSTID_LENOVO,
+       RTW89_CUSTID_NONE = 0,
+       RTW89_CUSTID_HP = 1,
+       RTW89_CUSTID_ASUS = 2,
+       RTW89_CUSTID_ACER = 3,
+       RTW89_CUSTID_LENOVO = 4,
+       RTW89_CUSTID_NEC = 5,
+       RTW89_CUSTID_AMD = 6,
+       RTW89_CUSTID_FUJITSU = 7,
+       RTW89_CUSTID_DELL = 8,
 };
 
 enum rtw89_pkt_drop_sel {