Skip to contentSkip to conversation

wifi: rtl8xxxu: Add TP-Link TL-WN823N V2 to the USB ID list

PATCH In review Chun Qiu 3 participants 4 messages Jan 29, 2024 – Feb 5, 2024 RTL8XXXU wireless driver (rtl8xxxu)

lore
Share & tools
lore

Chun Qiu

author
#0 lore raw

PATCH 1/1 wifi: rtl8xxxu: Add TP-Link TL-WN823N V2 to the USB ID list

TP-Link TL-WN823N V2 (2357:0135) is based on rtl8192fu and has been tested to work with the rtl8xxxu driver.

---
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +4 -1
index 180907319e8c..ea099a90b1a4 100644
@@ -7522,7 +7522,7 @@ static int rtl8xxxu_probe(struct usb_interface *interface,
 			untested = 0;
 		break;
 	case 0x2357:
-		if (id->idProduct == 0x0109)
+		if (id->idProduct == 0x0109 || id->idProduct == 0x0135)
 			untested = 0;
 		break;
 	case 0x0b05:
@@ -7806,6 +7806,9 @@ static const struct usb_device_id dev_table[] = {
 	.driver_info = (unsigned long)&rtl8192fu_fops},
 {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x318b, 0xff, 0xff, 0xff),
 	.driver_info = (unsigned long)&rtl8192fu_fops},
+/* TP-Link TL-WN823N V2 */
+{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0135, 0xff, 0xff, 0xff),
+	.driver_info = (unsigned long)&rtl8192fu_fops},
 #ifdef CONFIG_RTL8XXXU_UNTESTED
 /* Still supported by rtlwifi */
 {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8176, 0xff, 0xff, 0xff),
Signature · 1 line
2.43.0
#1 lore raw
Quoted 3 lines · Chun Qiu

TP-Link TL-WN823N V2 (2357:0135) is based on rtl8192fu and has been tested to work with the rtl8xxxu driver.

Nice, thanks. Just out of curiosity, does the LED blink? And do you know what RFE type it has? It's in byte 0xca in the efuse dump.

author
#2 lore raw
Quoted 5 lines · Bitterblue Smith
Quoted 3 lines · Chun Qiu

TP-Link TL-WN823N V2 (2357:0135) is based on rtl8192fu and has been tested to work with the rtl8xxxu driver.

Nice, thanks. Just out of curiosity, does the LED blink?

Yes, the LED blinks during transmission.

Quoted 2 lines

And do you know what RFE type it has? It's in byte 0xca in the efuse dump.

The byte 0xca in my efuse dump is 0x05.

#3 lore raw

Re: wifi: rtl8xxxu: Add TP-Link TL-WN823N V2

In reply to Chun Qiu
Quoted 4 lines · Chun Qiu

TP-Link TL-WN823N V2 (2357:0135) is based on rtl8192fu and has been tested to work with the rtl8xxxu driver.

Patch applied to wireless-next.git, thanks.

1209f487d452 wifi: rtl8xxxu: Add TP-Link TL-WN823N V2

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches