Bug 291839 - [usbdevs] [rtwn/usb] Missing support for Dlink's DWA-121 wifi nanoadapter
Summary: [usbdevs] [rtwn/usb] Missing support for Dlink's DWA-121 wifi nanoadapter
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 15.0-CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: Bjoern A. Zeeb
URL:
Keywords:
Depends on:
Blocks: rtwn-tum-run-mtw
  Show dependency treegraph
 
Reported: 2025-12-20 18:20 UTC by ofthecentury
Modified: 2026-06-29 06:38 UTC (History)
3 users (show)

See Also:
bz: mfc-stable15+


Attachments
the diff patch (1.08 KB, patch)
2025-12-20 18:20 UTC, ofthecentury
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ofthecentury 2025-12-20 18:20:08 UTC
Created attachment 266405 [details]
the diff patch

Dlink's DWA-121 usb wifi nanoadapter doesn't have support, even though the chipset is supported.

Added Dlink's DWA-121 usb wifi nanoadapter device ID to sys/dev/usb/usbdevs and added the DWA121 model to rtwn_usb_attach.h under rtwn_RTL8188EU_dev.

As a result, the device attaches correctly with a rtwn0 interface when inserted.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2025-12-23 15:33:22 UTC
could you do one of:
1) update the patch in a format for use with `git am` so that authorship data is preserved, or
2) provide the name and email address for use with git's --author flag, or
3) comment that you're fine with the patch being committed without correct author data (normally we would avoid this, but for tiny patches adding a USB or PCI ID etc. it doesn't matter too much)
Comment 2 ofthecentury 2025-12-23 15:50:55 UTC
Thanks. I'm fine for this committed without correct author data. It is just adding a product ID.

comment that you're fine with the patch being committed without correct author data (normally we would avoid this, but for tiny patches adding a USB or PCI ID etc. it doesn't matter too much)
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-05-30 23:52:02 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=49b413c4b07016de4ee166779386f0f99b5aac6b

commit 49b413c4b07016de4ee166779386f0f99b5aac6b
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-05-30 21:29:09 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-05-30 21:29:09 +0000

    rtwn/usb: add ID for D-Link DWA-121 rev B1 to rtwn RTL8188EU

    Add the device ID to the usbdevs table in order to be able to use
    it in the rtwn/usb driver for the RTL8188EU attachment.

    (I adjusted the name to B1 compared to the original submission)

    PR:             291839
    MFC after:      3 days

 sys/dev/rtwn/usb/rtwn_usb_attach.h | 1 +
 sys/dev/usb/usbdevs                | 1 +
 2 files changed, 2 insertions(+)
Comment 4 ofthecentury 2026-05-31 01:51:56 UTC
Thank you.
Comment 5 commit-hook freebsd_committer freebsd_triage 2026-06-29 06:35:02 UTC
A commit in branch stable/15 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=41813a11bdca870497879178df17e61d089c0840

commit 41813a11bdca870497879178df17e61d089c0840
Author:     ofthecentury <ofthecentury@gmail.com>
AuthorDate: 2026-05-30 21:29:09 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-06-29 03:49:49 +0000

    rtwn/usb: add ID for D-Link DWA-121 rev B1 to rtwn RTL8188EU

    Add the device ID to the usbdevs table in order to be able to use
    it in the rtwn/usb driver for the RTL8188EU attachment.

    (I adjusted the name to B1 compared to the original submission)

    PR:             291839

    (cherry picked from commit 49b413c4b07016de4ee166779386f0f99b5aac6b)

 sys/dev/rtwn/usb/rtwn_usb_attach.h | 1 +
 sys/dev/usb/usbdevs                | 1 +
 2 files changed, 2 insertions(+)
Comment 6 Bjoern A. Zeeb freebsd_committer freebsd_triage 2026-06-29 06:38:30 UTC
Thanks a lot for the submission!