diff mbox series

wifi: rtw88: Add additional USB IDs for RTL8812BU

Message ID 20241107002846.13748-1-zenmchen@gmail.com (mailing list archive)
State New
Delegated to: Ping-Ke Shih
Headers show
Series wifi: rtw88: Add additional USB IDs for RTL8812BU | expand

Commit Message

Zenm Chen Nov. 7, 2024, 12:28 a.m. UTC
From: Nick Morrow <usbwifi2024@gmail.com>

Add three additional USB IDs found in
https://github.com/morrownr/88x2bu-20210702
to support more RTL8812BU devices.

Signed-off-by: Nick Morrow <usbwifi2024@gmail.com>
Signed-off-by: Zenm Chen <zenmchen@gmail.com>
---
 drivers/net/wireless/realtek/rtw88/rtw8822bu.c | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Mikhail Novosyolov Nov. 7, 2024, 1:47 p.m. UTC | #1
07.11.2024 03:28, Zenm Chen пишет:
> From: Nick Morrow <usbwifi2024@gmail.com>
>
> Add three additional USB IDs found in
> https://github.com/morrownr/88x2bu-20210702
> to support more RTL8812BU devices.
>
> Signed-off-by: Nick Morrow <usbwifi2024@gmail.com>
> Signed-off-by: Zenm Chen <zenmchen@gmail.com>

Signed-off-by: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>

> ---
>  drivers/net/wireless/realtek/rtw88/rtw8822bu.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/drivers/net/wireless/realtek/rtw88/rtw8822bu.c b/drivers/net/wireless/realtek/rtw88/rtw8822bu.c
> index ab620a0b1dfc..8883300fc6ad 100644
> --- a/drivers/net/wireless/realtek/rtw88/rtw8822bu.c
> +++ b/drivers/net/wireless/realtek/rtw88/rtw8822bu.c
> @@ -67,6 +67,12 @@ static const struct usb_device_id rtw_8822bu_id_table[] = {
>  	  .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* LiteOn */
>  	{ USB_DEVICE_AND_INTERFACE_INFO(0x20f4, 0x808a, 0xff, 0xff, 0xff),
>  	  .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* TRENDnet TEW-808UBM */
> +	{ USB_DEVICE_AND_INTERFACE_INFO(0x20f4, 0x805a, 0xff, 0xff, 0xff),
> +	  .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* TRENDnet TEW-805UBH */
> +	{ USB_DEVICE_AND_INTERFACE_INFO(0x056e, 0x4011, 0xff, 0xff, 0xff),
> +	  .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* ELECOM WDB-867DU3S */

> +	{ USB_DEVICE_AND_INTERFACE_INFO(0x2c4e, 0x0107, 0xff, 0xff, 0xff),
> +	  .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* Mercusys MA30H */

I have verified that the vendor website

https://www.mercusys.com/en/download/ma30h#Software

suggests to download Realtek's 88x2bu driver for hardware v2.

This device also exists in the wild: https://linux-hardware.org/?id=usb:2c4e-0107

All hardware probes by that link show that this device did not work -- was not supported by any in-kernel driver.

LGTM.

>  	{},
>  };
>  MODULE_DEVICE_TABLE(usb, rtw_8822bu_id_table);
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw88/rtw8822bu.c b/drivers/net/wireless/realtek/rtw88/rtw8822bu.c
index ab620a0b1dfc..8883300fc6ad 100644
--- a/drivers/net/wireless/realtek/rtw88/rtw8822bu.c
+++ b/drivers/net/wireless/realtek/rtw88/rtw8822bu.c
@@ -67,6 +67,12 @@  static const struct usb_device_id rtw_8822bu_id_table[] = {
 	  .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* LiteOn */
 	{ USB_DEVICE_AND_INTERFACE_INFO(0x20f4, 0x808a, 0xff, 0xff, 0xff),
 	  .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* TRENDnet TEW-808UBM */
+	{ USB_DEVICE_AND_INTERFACE_INFO(0x20f4, 0x805a, 0xff, 0xff, 0xff),
+	  .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* TRENDnet TEW-805UBH */
+	{ USB_DEVICE_AND_INTERFACE_INFO(0x056e, 0x4011, 0xff, 0xff, 0xff),
+	  .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* ELECOM WDB-867DU3S */
+	{ USB_DEVICE_AND_INTERFACE_INFO(0x2c4e, 0x0107, 0xff, 0xff, 0xff),
+	  .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* Mercusys MA30H */
 	{},
 };
 MODULE_DEVICE_TABLE(usb, rtw_8822bu_id_table);