git: 7dfaf238562c - main - rtwn: Add device ID for TPLink RTL8192CU

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 15:40:34 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=7dfaf238562cfb9b8f2fe9a025220fd7147fedfe

commit 7dfaf238562cfb9b8f2fe9a025220fd7147fedfe
Author:     Augustin Cavalier <waddlesplash@gmail.com>
AuthorDate: 2024-11-09 18:47:44 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-11-21 15:40:11 +0000

    rtwn: Add device ID for TPLink RTL8192CU
---
 sys/dev/rtwn/usb/rtwn_usb_attach.h | 1 +
 sys/dev/usb/usbdevs                | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys/dev/rtwn/usb/rtwn_usb_attach.h b/sys/dev/rtwn/usb/rtwn_usb_attach.h
index 728a0a6a3b24..cd5485b36678 100644
--- a/sys/dev/rtwn/usb/rtwn_usb_attach.h
+++ b/sys/dev/rtwn/usb/rtwn_usb_attach.h
@@ -96,6 +96,7 @@ static const STRUCT_USB_HOST_ID rtwn_devs[] = {
 	RTWN_RTL8192CU_DEV(SITECOMEU,		RTL8188CU_1),
 	RTWN_RTL8192CU_DEV(SITECOMEU,		RTL8188CU_2),
 	RTWN_RTL8192CU_DEV(SITECOMEU,		RTL8192CU),
+	RTWN_RTL8192CU_DEV(TPLINK,		RTL8192CU),
 	RTWN_RTL8192CU_DEV(TRENDNET,		RTL8188CU),
 	RTWN_RTL8192CU_DEV(TRENDNET,		RTL8192CU),
 	RTWN_RTL8192CU_DEV(ZYXEL,		RTL8192CU),
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 50968a2c80cf..c71ebbaf9405 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -4824,6 +4824,7 @@ product TOSHIBA HSDPA		0x1302	G450 modem
 product TOSHIBA TRANSMEMORY	0x6545	USB ThumbDrive
 
 /* TP-Link products */
+product TPLINK RTL8192CU	0x0100	RTL8192CU
 product TPLINK T4U		0x0101	Archer T4U
 product TPLINK WN821NV5		0x0107	TL-WN821N v5
 product TPLINK WN822NV4		0x0108	TL-WN822N v4