Commit 1209f487 authored by Chun Qiu's avatar Chun Qiu Committed by Kalle Valo

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

TP-Link TL-WN823N V2 (2357:0135) is based on rtl8192fu and has been
tested to work with the rtl8xxxu driver.
Signed-off-by: default avatarChun Qiu <cqca@cock.lu>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240129053030.16369-1-cqca@cock.lu
parent 5f0e4aed
...@@ -7734,7 +7734,7 @@ static int rtl8xxxu_probe(struct usb_interface *interface, ...@@ -7734,7 +7734,7 @@ static int rtl8xxxu_probe(struct usb_interface *interface,
untested = 0; untested = 0;
break; break;
case 0x2357: case 0x2357:
if (id->idProduct == 0x0109) if (id->idProduct == 0x0109 || id->idProduct == 0x0135)
untested = 0; untested = 0;
break; break;
case 0x0b05: case 0x0b05:
...@@ -8027,6 +8027,9 @@ static const struct usb_device_id dev_table[] = { ...@@ -8027,6 +8027,9 @@ static const struct usb_device_id dev_table[] = {
.driver_info = (unsigned long)&rtl8192fu_fops}, .driver_info = (unsigned long)&rtl8192fu_fops},
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x318b, 0xff, 0xff, 0xff), {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x318b, 0xff, 0xff, 0xff),
.driver_info = (unsigned long)&rtl8192fu_fops}, .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 #ifdef CONFIG_RTL8XXXU_UNTESTED
/* Still supported by rtlwifi */ /* Still supported by rtlwifi */
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8176, 0xff, 0xff, 0xff), {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8176, 0xff, 0xff, 0xff),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment