Skip to contentSkip to conversation

wifi: rtw88: Add additional USB IDs for RTL8812BU

PATCH In review Zenm Chen 3 participants 5 messages Nov 7, 2024 – Nov 18, 2024 Realtek wireless driver (rtw88)

lore
Share & tools
lore

Zenm Chen

author
#0 lore raw

PATCH 1/1 wifi: rtw88: Add additional USB IDs for RTL8812BU

From: Nick Morrow <[email protected]>

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

---
 drivers/net/wireless/realtek/rtw88/rtw8822bu.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/net/wireless/realtek/rtw88/rtw8822bu.c +6 -0
index ab620a0b1dfc..8883300fc6ad 100644
@@ -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);
Signature · 1 line
2.46.2
#1 lore raw

07.11.2024 03:28, Zenm Chen пишет:

Quoted 8 lines

From: Nick Morrow <[email protected]>

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

Quoted 9 lines
---
 drivers/net/wireless/realtek/rtw88/rtw8822bu.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/net/wireless/realtek/rtw88/rtw8822bu.c +0 -0
index ab620a0b1dfc..8883300fc6ad 100644

drivers/net/wireless/realtek/rtw88/rtw8822bu.c static const struct usb_device_id rtw_8822bu_id_table[] = { · line 76

Quoted 10 lines
drivers/net/wireless/realtek/rtw88/rtw8822bu.c +6 -0
@@ -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.

Quoted 3 lines
drivers/net/wireless/realtek/rtw88/rtw8822bu.c +0 -0
 	{},
 };

MODULE_DEVICE_TABLE(usb, rtw_8822bu_id_table);

#3 lore raw

11.11.2024 10:26, Zenm Chen пишет:

Quoted 8 lines

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.

maintainer
#4 lore raw
In reply to Zenm Chen
Quoted 9 lines · Zenm Chen

From: Nick Morrow <[email protected]>

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

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