diff mbox series

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

Message ID 20240129053030.16369-1-cqca@cock.lu (mailing list archive)
State Accepted
Commit 1209f487d452ff7e822dec30661fd6b5163fb8cf
Delegated to: Kalle Valo
Headers show
Series wifi: rtl8xxxu: Add TP-Link TL-WN823N V2 to the USB ID list | expand

Commit Message

Chun Qiu Jan. 29, 2024, 5:30 a.m. UTC
TP-Link TL-WN823N V2 (2357:0135) is based on rtl8192fu and has been
tested to work with the rtl8xxxu driver.

Signed-off-by: Chun Qiu <cqca@cock.lu>
---
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Bitterblue Smith Jan. 31, 2024, 3:37 p.m. UTC | #1
On 29/01/2024 07:30, Chun Qiu wrote:
> 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.
Chun Qiu Feb. 2, 2024, 8:32 a.m. UTC | #2
On 2024/1/31 23:37, Bitterblue Smith wrote:
> On 29/01/2024 07:30, Chun Qiu wrote:
>> 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.

> 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.
Kalle Valo Feb. 5, 2024, 6:15 p.m. UTC | #3
Chun Qiu <cqca@cock.lu> wrote:

> TP-Link TL-WN823N V2 (2357:0135) is based on rtl8192fu and has been
> tested to work with the rtl8xxxu driver.
> 
> Signed-off-by: Chun Qiu <cqca@cock.lu>

Patch applied to wireless-next.git, thanks.

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

Patch

diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
index 180907319e8c..ea099a90b1a4 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
@@ -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),