2023-12-17 12:30:30

by Zenm Chen

[permalink] [raw]
Subject: [PATCH v3] wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices

Add additional USB IDs found in the vendor driver from
https://github.com/Mange/rtl8192eu-linux-driver to support more
RTL8192EU devices.

Signed-off-by: Zenm Chen <[email protected]>
---
v3:
- Put these new USB IDs back into the CONFIG_RTL8XXXU_UNTESTED section
as Larry Finger suggested.

v2:
- Not to put these USB IDs in CONFIG_RTL8XXXU_UNTESTED
---
.../net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
index 43ee7592bc6e..180907319e8c 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
@@ -7961,6 +7961,18 @@ static const struct usb_device_id dev_table[] = {
.driver_info = (unsigned long)&rtl8192eu_fops},
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818c, 0xff, 0xff, 0xff),
.driver_info = (unsigned long)&rtl8192eu_fops},
+/* D-Link DWA-131 rev C1 */
+{USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x3312, 0xff, 0xff, 0xff),
+ .driver_info = (unsigned long)&rtl8192eu_fops},
+/* TP-Link TL-WN8200ND V2 */
+{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0126, 0xff, 0xff, 0xff),
+ .driver_info = (unsigned long)&rtl8192eu_fops},
+/* Mercusys MW300UM */
+{USB_DEVICE_AND_INTERFACE_INFO(0x2c4e, 0x0100, 0xff, 0xff, 0xff),
+ .driver_info = (unsigned long)&rtl8192eu_fops},
+/* Mercusys MW300UH */
+{USB_DEVICE_AND_INTERFACE_INFO(0x2c4e, 0x0104, 0xff, 0xff, 0xff),
+ .driver_info = (unsigned long)&rtl8192eu_fops},
#endif
{ }
};
--
2.43.0



2023-12-18 02:52:07

by Ping-Ke Shih

[permalink] [raw]
Subject: RE: [PATCH v3] wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices



> -----Original Message-----
> From: Zenm Chen <[email protected]>
> Sent: Sunday, December 17, 2023 8:30 PM
> To: [email protected]
> Cc: [email protected]; [email protected]; [email protected]; Ping-Ke Shih
> <[email protected]>; [email protected]; [email protected]; Zenm Chen <[email protected]>
> Subject: [PATCH v3] wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices
>
> Add additional USB IDs found in the vendor driver from
> https://github.com/Mange/rtl8192eu-linux-driver to support more
> RTL8192EU devices.
>
> Signed-off-by: Zenm Chen <[email protected]>

Reviewed-by: Ping-Ke Shih <[email protected]>