rtw88: 8821ce: add support for device ID 0xb821
authorJimmy Hon <honyuenkwun@gmail.com>
Thu, 7 Apr 2022 07:51:22 +0000 (02:51 -0500)
committerKalle Valo <kvalo@kernel.org>
Tue, 12 Apr 2022 13:52:54 +0000 (16:52 +0300)
New device ID 0xb821 found on TP-Link T2E
Tested it with c821 driver. 2.4GHz and 5GHz works.

PCI id:
05:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b821
        Subsystem: Realtek Semiconductor Co., Ltd. Device b821

Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220407075123.420696-2-honyuenkwun@gmail.com
drivers/net/wireless/realtek/rtw88/rtw8821ce.c

index f34de11..56d22f9 100644 (file)
@@ -9,6 +9,10 @@
 
 static const struct pci_device_id rtw_8821ce_id_table[] = {
        {
+               PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xB821),
+               .driver_data = (kernel_ulong_t)&rtw8821c_hw_spec
+       },
+       {
                PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xC821),
                .driver_data = (kernel_ulong_t)&rtw8821c_hw_spec
        },