diff mbox series

[1/2] rtw88: 8821ce: add support for device ID 0xb821

Message ID 20220407075123.420696-2-honyuenkwun@gmail.com
State New
Headers show
Series rtw88: 8821ce: add support for device ID 0xb821 | expand

Commit Message

Jimmy Hon April 7, 2022, 7:51 a.m. UTC
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>
---
 drivers/net/wireless/realtek/rtw88/rtw8821ce.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Kalle Valo April 12, 2022, 1:53 p.m. UTC | #1
Jimmy Hon <honyuenkwun@gmail.com> wrote:

> 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>

2 patches applied to wireless-next.git, thanks.

d5286826201e rtw88: 8821ce: add support for device ID 0xb821
b9eb5f0742d1 rtw88: 8821ce: Disable PCIe ASPM L1 for 8821CE using chip ID
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw88/rtw8821ce.c b/drivers/net/wireless/realtek/rtw88/rtw8821ce.c
index f34de115e4bc..56d22f9de904 100644
--- a/drivers/net/wireless/realtek/rtw88/rtw8821ce.c
+++ b/drivers/net/wireless/realtek/rtw88/rtw8821ce.c
@@ -8,6 +8,10 @@ 
 #include "rtw8821ce.h"
 
 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