diff mbox series

wifi: rtw88: Add additional USB IDs for RTL8812BU

Message ID 20241107002846.13748-1-zenmchen@gmail.com (mailing list archive)
State Accepted
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);
Zenm Chen Nov. 11, 2024, 7:26 a.m. UTC | #2
Hi Mikhail,

According to the guide of submitting patches [1], "Signed-off-by" can only
be used by patch author and people handling and transporting the patch, so
Ping-Ke said he may change your s-o-b into "Reviewed-by:" or other suitable
tag. We would appreciate your kind understanding.

[1] https://github.com/torvalds/linux/blob/master/Documentation/process/submitting-patches.rst
Mikhail Novosyolov Nov. 11, 2024, 4:33 p.m. UTC | #3
11.11.2024 10:26, Zenm Chen пишет:
> Hi Mikhail,
>
> According to the guide of submitting patches [1], "Signed-off-by" can only
> be used by patch author and people handling and transporting the patch, so
> Ping-Ke said he may change your s-o-b into "Reviewed-by:" or other suitable
> tag. We would appreciate your kind understanding.
>
> [1] https://github.com/torvalds/linux/blob/master/Documentation/process/submitting-patches.rst
Thanks for correction! I am totally OK with Reviewed-by.
Ping-Ke Shih Nov. 18, 2024, 1:45 a.m. UTC | #4
Zenm Chen <zenmchen@gmail.com> wrote:

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

1 patch(es) applied to rtw-next branch of rtw.git, thanks.

d4c4903508f9 wifi: rtw88: Add additional USB IDs for RTL8812BU

---
https://github.com/pkshih/rtw.git
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);