Bug 221426

Summary: TP LINK WN823N Not detected, urtwn driver doesn't load
Product: Base System Reporter: Amith <cray.mittens>
Component: kernAssignee: freebsd-wireless (Nobody) <wireless>
Status: Closed FIXED    
Severity: Affects Some People CC: avos
Priority: ---    
Version: 11.1-STABLE   
Hardware: amd64   
OS: Any   

Description Amith 2017-08-12 05:22:45 UTC
This is a TP-LINK product but uses the RTL8192 chipset inside, so urtwn driver should work.

Followed all the steps given in this link, but can't use the TP-LINK USB wifi
https://forums.freebsd.org/threads/54733/

Possible solution:

Adding device VID:PID (2357:0109) to the urtwn driver

1. Add the vendor and product to /sys/dev/usb/usbdevs
 (+) vendor TPLINK 0x2357 tplink
 (+) product TPLINK RTL8192CU  0x0109

2. Add the vid:pid to /sys/dev/urtwn/if_urtwn.c
 (+) URTWN_DEV(TPLINK, RTL8192CU)
Comment 1 Andriy Voskoboinyk freebsd_committer freebsd_triage 2017-08-20 11:15:55 UTC
Hi,

The urtwn(4) driver does not support this device; support was added only in 12.0-CURRENT (r312680).
Comment 2 Andriy Voskoboinyk freebsd_committer freebsd_triage 2019-01-16 23:11:25 UTC
Support for RTL8192EU chipset is in CURRENT since base r312680 (and included into 12.0-RELEASE); the USB id for TP-Link TL-WN823N v2 was added a bit earlier - in base r308460.