NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/55140: Add support for DWA-121 rev B1 to urtwn(4)



>Number:         55140
>Category:       kern
>Synopsis:       Add support for DWA-121 rev B1 to urtwn(4)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 03 19:10:00 +0000 2020
>Originator:     Miguel Landaeta
>Release:        HEAD
>Organization:
>Environment:
NetBSD joss.nomadium.net 9.99.52 NetBSD 9.99.52 (GENERIC64) #1: Thu Apr  2 17:54:31 UTC 2020
miguel%joss.nomadium.net@localhost:/usr/obj/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:
Add support for DWA-121 rev B1 to urtwn(4)

[     7.433394] urtwn0 at uhub8 port 1
[     7.433394] urtwn0: Realtek (0x2001) product 331b (0x331b), rev 2.00/0.00, addr 3
[     7.543398] urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R, address 60:63:4c:xx:xx:xx
[     7.543398] urtwn0: 1 rx pipe, 2 tx pipes

miguel@joss:~$ sysctl kern.version
kern.version = NetBSD 9.99.52 (GENERIC64) #1: Thu Apr  2 17:54:31 UTC 2020
        miguel%joss.nomadium.net@localhost:/usr/obj/sys/arch/evbarm/compile/GENERIC64


>How-To-Repeat:

>Fix:
Index: sys/dev/usb/if_urtwn.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/if_urtwn.c,v
retrieving revision 1.84
diff -u -r1.84 if_urtwn.c
--- sys/dev/usb/if_urtwn.c	15 Mar 2020 23:04:51 -0000	1.84
+++ sys/dev/usb/if_urtwn.c	2 Apr 2020 18:58:40 -0000
@@ -212,6 +212,7 @@
 	URTWN_RTL8188E_DEV(REALTEK, RTL8188EU),
 	URTWN_RTL8188E_DEV(ABOCOM, RTL8188EU),
 	URTWN_RTL8188E_DEV(TPLINK, RTL8188EU),
+	URTWN_RTL8188E_DEV(DLINK, DWA121B1),
 
 	/* URTWN_RTL8192EU */
 	URTWN_RTL8192EU_DEV(DLINK,	DWA131E),
Index: sys/dev/usb/usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.777
diff -u -r1.777 usbdevs
--- sys/dev/usb/usbdevs	13 Mar 2020 07:42:26 -0000	1.777
+++ sys/dev/usb/usbdevs	2 Apr 2020 18:58:40 -0000
@@ -1401,6 +1401,7 @@
 product DLINK DWA131B		0x330d	DWA-131 rev B
 product DLINK DWA125D1		0x330f	DWA-125 rev D1
 product DLINK DWA131E		0x3319	DWA-131 rev E
+product DLINK DWA121B1		0x331b	DWA-121 rev B1
 product DLINK DWL122		0x3700	Wireless DWL122
 product DLINK DWLG120		0x3701	DWL-G120
 product DLINK DWL120F		0x3702	DWL-120 rev F
Index: sys/dev/usb/usbdevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs.h,v
retrieving revision 1.767
diff -u -r1.767 usbdevs.h
--- sys/dev/usb/usbdevs.h	13 Mar 2020 07:43:14 -0000	1.767
+++ sys/dev/usb/usbdevs.h	2 Apr 2020 18:58:40 -0000
@@ -1408,6 +1408,7 @@
 #define	USB_PRODUCT_DLINK_DWA131B	0x330d		/* DWA-131 rev B */
 #define	USB_PRODUCT_DLINK_DWA125D1	0x330f		/* DWA-125 rev D1 */
 #define	USB_PRODUCT_DLINK_DWA131E	0x3319		/* DWA-131 rev E */
+#define	USB_PRODUCT_DLINK_DWA121B1	0x331b		/* DWA-121 rev B1 */
 #define	USB_PRODUCT_DLINK_DWL122	0x3700		/* Wireless DWL122 */
 #define	USB_PRODUCT_DLINK_DWLG120	0x3701		/* DWL-G120 */
 #define	USB_PRODUCT_DLINK_DWL120F	0x3702		/* DWL-120 rev F */



Home | Main Index | Thread Index | Old Index