linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U rev. A1
@ 2025-09-29  3:57 Zenm Chen
  2025-09-29  3:57 ` [PATCH rtw-next] wifi: rtw88: Add USB ID 2001:3329 for D-Link AC13U " Zenm Chen
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Zenm Chen @ 2025-09-29  3:57 UTC (permalink / raw)
  To: linux-wireless, pkshih, rtl8821cerfe2; +Cc: stable, zenmchen

Add USB ID 2001:3328 for D-Link AN3U rev. A1 which is a RTL8192FU-based
Wi-Fi adapter.

Compile tested only.

Cc: stable@vger.kernel.org # 6.6.x
Signed-off-by: Zenm Chen <zenmchen@gmail.com>
---
Link to the Windows driver for D-Link AN3U rev. A1

https://www.dlinktw.com.tw/techsupport/ProductInfo.aspx?m=AN3U
---
 drivers/net/wireless/realtek/rtl8xxxu/core.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/wireless/realtek/rtl8xxxu/core.c b/drivers/net/wireless/realtek/rtl8xxxu/core.c
index 3ded59527..be39463bd 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/core.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/core.c
@@ -8136,6 +8136,9 @@ static const struct usb_device_id dev_table[] = {
 /* TP-Link TL-WN823N V2 */
 {USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0135, 0xff, 0xff, 0xff),
 	.driver_info = (unsigned long)&rtl8192fu_fops},
+/* D-Link AN3U rev. A1 */
+{USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x3328, 0xff, 0xff, 0xff),
+	.driver_info = (unsigned long)&rtl8192fu_fops},
 #ifdef CONFIG_RTL8XXXU_UNTESTED
 /* Still supported by rtlwifi */
 {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8176, 0xff, 0xff, 0xff),
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH rtw-next] wifi: rtw88: Add USB ID 2001:3329 for D-Link AC13U rev. A1
  2025-09-29  3:57 [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U rev. A1 Zenm Chen
@ 2025-09-29  3:57 ` Zenm Chen
  2025-09-30  7:59   ` Ping-Ke Shih
  2025-10-21  5:39   ` Ping-Ke Shih
  2025-09-30  3:19 ` [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U " Ping-Ke Shih
  2025-10-21  5:34 ` Ping-Ke Shih
  2 siblings, 2 replies; 8+ messages in thread
From: Zenm Chen @ 2025-09-29  3:57 UTC (permalink / raw)
  To: linux-wireless, pkshih, rtl8821cerfe2; +Cc: stable, zenmchen

Add USB ID 2001:3329 for D-Link AC13U rev. A1 which is a RTL8812CU-based
Wi-Fi adapter.

Compile tested only.

Cc: stable@vger.kernel.org # 6.6.x
Signed-off-by: Zenm Chen <zenmchen@gmail.com>
---
Link to the Windows driver for D-Link AC13U rev. A1

https://support.dlink.com/ProductInfo.aspx?m=AC13U
---
 drivers/net/wireless/realtek/rtw88/rtw8822cu.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/wireless/realtek/rtw88/rtw8822cu.c b/drivers/net/wireless/realtek/rtw88/rtw8822cu.c
index 324fd5c8b..755f76840 100644
--- a/drivers/net/wireless/realtek/rtw88/rtw8822cu.c
+++ b/drivers/net/wireless/realtek/rtw88/rtw8822cu.c
@@ -21,6 +21,8 @@ static const struct usb_device_id rtw_8822cu_id_table[] = {
 	  .driver_info = (kernel_ulong_t)&(rtw8822c_hw_spec) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(0x13b1, 0x0043, 0xff, 0xff, 0xff),
 	  .driver_info = (kernel_ulong_t)&(rtw8822c_hw_spec) }, /* Alpha - Alpha */
+	{ USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x3329, 0xff, 0xff, 0xff),
+	  .driver_info = (kernel_ulong_t)&(rtw8822c_hw_spec) }, /* D-Link AC13U rev. A1 */
 	{},
 };
 MODULE_DEVICE_TABLE(usb, rtw_8822cu_id_table);
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* RE: [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U rev. A1
  2025-09-29  3:57 [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U rev. A1 Zenm Chen
  2025-09-29  3:57 ` [PATCH rtw-next] wifi: rtw88: Add USB ID 2001:3329 for D-Link AC13U " Zenm Chen
@ 2025-09-30  3:19 ` Ping-Ke Shih
  2025-09-30  7:45   ` Zenm Chen
  2025-10-21  5:34 ` Ping-Ke Shih
  2 siblings, 1 reply; 8+ messages in thread
From: Ping-Ke Shih @ 2025-09-30  3:19 UTC (permalink / raw)
  To: Zenm Chen, linux-wireless@vger.kernel.org,
	rtl8821cerfe2@gmail.com
  Cc: stable@vger.kernel.org

Zenm Chen <zenmchen@gmail.com> wrote:
> Add USB ID 2001:3328 for D-Link AN3U rev. A1 which is a RTL8192FU-based
> Wi-Fi adapter.
> 
> Compile tested only.
> 
> Cc: stable@vger.kernel.org # 6.6.x
> Signed-off-by: Zenm Chen <zenmchen@gmail.com>
> ---
> Link to the Windows driver for D-Link AN3U rev. A1
> 
> https://www.dlinktw.com.tw/techsupport/ProductInfo.aspx?m=AN3U

Could you please enlighten me how you address this is RTL8192FU-based?
I downloaded the setup.ext and decompressed the file, but I can't find
8192FU.

> ---
>  drivers/net/wireless/realtek/rtl8xxxu/core.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/net/wireless/realtek/rtl8xxxu/core.c
> b/drivers/net/wireless/realtek/rtl8xxxu/core.c
> index 3ded59527..be39463bd 100644
> --- a/drivers/net/wireless/realtek/rtl8xxxu/core.c
> +++ b/drivers/net/wireless/realtek/rtl8xxxu/core.c
> @@ -8136,6 +8136,9 @@ static const struct usb_device_id dev_table[] = {
>  /* TP-Link TL-WN823N V2 */
>  {USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0135, 0xff, 0xff, 0xff),
>         .driver_info = (unsigned long)&rtl8192fu_fops},
> +/* D-Link AN3U rev. A1 */
> +{USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x3328, 0xff, 0xff, 0xff),
> +       .driver_info = (unsigned long)&rtl8192fu_fops},
>  #ifdef CONFIG_RTL8XXXU_UNTESTED
>  /* Still supported by rtlwifi */
>  {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8176, 0xff, 0xff, 0xff),
> --
> 2.51.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U rev. A1
  2025-09-30  3:19 ` [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U " Ping-Ke Shih
@ 2025-09-30  7:45   ` Zenm Chen
  2025-09-30  7:57     ` Ping-Ke Shih
  0 siblings, 1 reply; 8+ messages in thread
From: Zenm Chen @ 2025-09-30  7:45 UTC (permalink / raw)
  To: pkshih; +Cc: linux-wireless, rtl8821cerfe2, stable, zenmchen

Ping-Ke Shih <pkshih@realtek.com> 於 2025年9月30日 週二 上午11:19寫道:
>
> Zenm Chen <zenmchen@gmail.com> wrote:
> > Add USB ID 2001:3328 for D-Link AN3U rev. A1 which is a RTL8192FU-based
> > Wi-Fi adapter.
> >
> > Compile tested only.
> >
> > Cc: stable@vger.kernel.org # 6.6.x
> > Signed-off-by: Zenm Chen <zenmchen@gmail.com>
> > ---
> > Link to the Windows driver for D-Link AN3U rev. A1
> >
> > https://www.dlinktw.com.tw/techsupport/ProductInfo.aspx?m=AN3U
>
> Could you please enlighten me how you address this is RTL8192FU-based?
> I downloaded the setup.ext and decompressed the file, but I can't find
> 8192FU.

Hi Ping-Ke,

After installing that Windows driver, the driver will be placed at C:\Program Files\D-Link\AN3U\Driver.

According to the line 266 of the C:\Program Files\D-Link\AN3U\Driver\WIN10X64\netrtwlanu.inf file [1], we know that this dongle uses a 8192FU chip.
The specification [2] which says it supports both WPA2 and WPA3 is also a clue. As far as I know, among all Windows drivers for Realtek 802.11n 2T2R chips, only the driver for 8192FU supports both WPA2/WPA3, others support WPA2 only.
This is how I determine what chip this dongle uses, but unfortunately there is no related report at linux-hardware.org [3] so cannot confirm it does use the ID 2001:3328.

[1] line 265 ~ 266 of the netrtwlanu.inf file
;; For 8192F DLINK
%DLink_AN3U.DeviceDesc% 			= RTL8192fu.ndi, 	USB\VID_2001&PID_3328

[2] https://www.dlink.com/tw/zh/products/an3u#Specs

[3] Reports about the ID 2001:3328 and 2001:3329
https://linux-hardware.org/?id=usb:2001-3328
https://linux-hardware.org/?id=usb:2001-3329

>
> > ---
> >  drivers/net/wireless/realtek/rtl8xxxu/core.c | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/drivers/net/wireless/realtek/rtl8xxxu/core.c
> > b/drivers/net/wireless/realtek/rtl8xxxu/core.c
> > index 3ded59527..be39463bd 100644
> > --- a/drivers/net/wireless/realtek/rtl8xxxu/core.c
> > +++ b/drivers/net/wireless/realtek/rtl8xxxu/core.c
> > @@ -8136,6 +8136,9 @@ static const struct usb_device_id dev_table[] = {
> >  /* TP-Link TL-WN823N V2 */
> >  {USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0135, 0xff, 0xff, 0xff),
> >         .driver_info = (unsigned long)&rtl8192fu_fops},
> > +/* D-Link AN3U rev. A1 */
> > +{USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x3328, 0xff, 0xff, 0xff),
> > +       .driver_info = (unsigned long)&rtl8192fu_fops},
> >  #ifdef CONFIG_RTL8XXXU_UNTESTED
> >  /* Still supported by rtlwifi */
> >  {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8176, 0xff, 0xff, 0xff),
> > --
> > 2.51.0
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U rev. A1
  2025-09-30  7:45   ` Zenm Chen
@ 2025-09-30  7:57     ` Ping-Ke Shih
  0 siblings, 0 replies; 8+ messages in thread
From: Ping-Ke Shih @ 2025-09-30  7:57 UTC (permalink / raw)
  To: Zenm Chen
  Cc: linux-wireless@vger.kernel.org, rtl8821cerfe2@gmail.com,
	stable@vger.kernel.org

Zenm Chen <zenmchen@gmail.com> wrote:
> Ping-Ke Shih <pkshih@realtek.com> 於 2025年9月30日 週二 上午11:19寫道:
> >
> > Zenm Chen <zenmchen@gmail.com> wrote:
> > > Add USB ID 2001:3328 for D-Link AN3U rev. A1 which is a RTL8192FU-based
> > > Wi-Fi adapter.
> > >
> > > Compile tested only.
> > >
> > > Cc: stable@vger.kernel.org # 6.6.x
> > > Signed-off-by: Zenm Chen <zenmchen@gmail.com>
> > > ---
> > > Link to the Windows driver for D-Link AN3U rev. A1
> > >
> > > https://www.dlinktw.com.tw/techsupport/ProductInfo.aspx?m=AN3U
> >
> > Could you please enlighten me how you address this is RTL8192FU-based?
> > I downloaded the setup.ext and decompressed the file, but I can't find
> > 8192FU.
> 
> Hi Ping-Ke,
> 
> After installing that Windows driver, the driver will be placed at C:\Program Files\D-Link\AN3U\Driver.
> 
> According to the line 266 of the C:\Program Files\D-Link\AN3U\Driver\WIN10X64\netrtwlanu.inf file [1], we
> know that this dongle uses a 8192FU chip.
> The specification [2] which says it supports both WPA2 and WPA3 is also a clue. As far as I know, among
> all Windows drivers for Realtek 802.11n 2T2R chips, only the driver for 8192FU supports both WPA2/WPA3,
> others support WPA2 only.
> This is how I determine what chip this dongle uses, but unfortunately there is no related report at
> linux-hardware.org [3] so cannot confirm it does use the ID 2001:3328.

Thanks for the detail. I have no permission to install drivers to
my Windows PC in office, so I can only try to decompress setup.exe.
Anyway, ack this patch. Thanks.

Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>

> 
> [1] line 265 ~ 266 of the netrtwlanu.inf file
> ;; For 8192F DLINK
> %DLink_AN3U.DeviceDesc%                         = RTL8192fu.ndi,        USB\VID_2001&PID_3328
> 
> [2] https://www.dlink.com/tw/zh/products/an3u#Specs
> 
> [3] Reports about the ID 2001:3328 and 2001:3329
> https://linux-hardware.org/?id=usb:2001-3328
> https://linux-hardware.org/?id=usb:2001-3329
> 
> >
> > > ---
> > >  drivers/net/wireless/realtek/rtl8xxxu/core.c | 3 +++
> > >  1 file changed, 3 insertions(+)
> > >
> > > diff --git a/drivers/net/wireless/realtek/rtl8xxxu/core.c
> > > b/drivers/net/wireless/realtek/rtl8xxxu/core.c
> > > index 3ded59527..be39463bd 100644
> > > --- a/drivers/net/wireless/realtek/rtl8xxxu/core.c
> > > +++ b/drivers/net/wireless/realtek/rtl8xxxu/core.c
> > > @@ -8136,6 +8136,9 @@ static const struct usb_device_id dev_table[] = {
> > >  /* TP-Link TL-WN823N V2 */
> > >  {USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0135, 0xff, 0xff, 0xff),
> > >         .driver_info = (unsigned long)&rtl8192fu_fops},
> > > +/* D-Link AN3U rev. A1 */
> > > +{USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x3328, 0xff, 0xff, 0xff),
> > > +       .driver_info = (unsigned long)&rtl8192fu_fops},
> > >  #ifdef CONFIG_RTL8XXXU_UNTESTED
> > >  /* Still supported by rtlwifi */
> > >  {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8176, 0xff, 0xff, 0xff),
> > > --
> > > 2.51.0
> >


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH rtw-next] wifi: rtw88: Add USB ID 2001:3329 for D-Link AC13U rev. A1
  2025-09-29  3:57 ` [PATCH rtw-next] wifi: rtw88: Add USB ID 2001:3329 for D-Link AC13U " Zenm Chen
@ 2025-09-30  7:59   ` Ping-Ke Shih
  2025-10-21  5:39   ` Ping-Ke Shih
  1 sibling, 0 replies; 8+ messages in thread
From: Ping-Ke Shih @ 2025-09-30  7:59 UTC (permalink / raw)
  To: Zenm Chen, linux-wireless@vger.kernel.org,
	rtl8821cerfe2@gmail.com
  Cc: stable@vger.kernel.org

Zenm Chen <zenmchen@gmail.com> wrote:
> Add USB ID 2001:3329 for D-Link AC13U rev. A1 which is a RTL8812CU-based
> Wi-Fi adapter.
> 
> Compile tested only.
> 
> Cc: stable@vger.kernel.org # 6.6.x
> Signed-off-by: Zenm Chen <zenmchen@gmail.com>

Acked-by: Ping-Ke Shih <pkshih@realtek.com>

> ---
> Link to the Windows driver for D-Link AC13U rev. A1
> 
> https://support.dlink.com/ProductInfo.aspx?m=AC13U
> ---
>  drivers/net/wireless/realtek/rtw88/rtw8822cu.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/net/wireless/realtek/rtw88/rtw8822cu.c
> b/drivers/net/wireless/realtek/rtw88/rtw8822cu.c
> index 324fd5c8b..755f76840 100644
> --- a/drivers/net/wireless/realtek/rtw88/rtw8822cu.c
> +++ b/drivers/net/wireless/realtek/rtw88/rtw8822cu.c
> @@ -21,6 +21,8 @@ static const struct usb_device_id rtw_8822cu_id_table[] = {
>           .driver_info = (kernel_ulong_t)&(rtw8822c_hw_spec) },
>         { USB_DEVICE_AND_INTERFACE_INFO(0x13b1, 0x0043, 0xff, 0xff, 0xff),
>           .driver_info = (kernel_ulong_t)&(rtw8822c_hw_spec) }, /* Alpha - Alpha */
> +       { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x3329, 0xff, 0xff, 0xff),
> +         .driver_info = (kernel_ulong_t)&(rtw8822c_hw_spec) }, /* D-Link AC13U rev. A1 */
>         {},
>  };
>  MODULE_DEVICE_TABLE(usb, rtw_8822cu_id_table);
> --
> 2.51.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U rev. A1
  2025-09-29  3:57 [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U rev. A1 Zenm Chen
  2025-09-29  3:57 ` [PATCH rtw-next] wifi: rtw88: Add USB ID 2001:3329 for D-Link AC13U " Zenm Chen
  2025-09-30  3:19 ` [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U " Ping-Ke Shih
@ 2025-10-21  5:34 ` Ping-Ke Shih
  2 siblings, 0 replies; 8+ messages in thread
From: Ping-Ke Shih @ 2025-10-21  5:34 UTC (permalink / raw)
  To: Zenm Chen, linux-wireless@vger.kernel.org,
	rtl8821cerfe2@gmail.com
  Cc: stable@vger.kernel.org

Zenm Chen <zenmchen@gmail.com> wrote:

> Add USB ID 2001:3328 for D-Link AN3U rev. A1 which is a RTL8192FU-based
> Wi-Fi adapter.
>
> Compile tested only.
>
> Cc: stable@vger.kernel.org # 6.6.x
> Signed-off-by: Zenm Chen <zenmchen@gmail.com>
> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>

1 patch(es) applied to rtw-next branch of rtw.git, thanks.

3f9553f65d0b wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U rev. A1

---
https://github.com/pkshih/rtw.git


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH rtw-next] wifi: rtw88: Add USB ID 2001:3329 for D-Link AC13U rev. A1
  2025-09-29  3:57 ` [PATCH rtw-next] wifi: rtw88: Add USB ID 2001:3329 for D-Link AC13U " Zenm Chen
  2025-09-30  7:59   ` Ping-Ke Shih
@ 2025-10-21  5:39   ` Ping-Ke Shih
  1 sibling, 0 replies; 8+ messages in thread
From: Ping-Ke Shih @ 2025-10-21  5:39 UTC (permalink / raw)
  To: Zenm Chen, linux-wireless@vger.kernel.org,
	rtl8821cerfe2@gmail.com
  Cc: stable@vger.kernel.org

Zenm Chen <zenmchen@gmail.com> wrote:

> Add USB ID 2001:3329 for D-Link AC13U rev. A1 which is a RTL8812CU-based
> Wi-Fi adapter.
>
> Compile tested only.
>
> Cc: stable@vger.kernel.org # 6.6.x
> Signed-off-by: Zenm Chen <zenmchen@gmail.com>
> Acked-by: Ping-Ke Shih <pkshih@realtek.com>

1 patch(es) applied to rtw-next branch of rtw.git, thanks.

b377dcd9a286 wifi: rtw88: Add USB ID 2001:3329 for D-Link AC13U rev. A1

---
https://github.com/pkshih/rtw.git


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-10-21  5:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-29  3:57 [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U rev. A1 Zenm Chen
2025-09-29  3:57 ` [PATCH rtw-next] wifi: rtw88: Add USB ID 2001:3329 for D-Link AC13U " Zenm Chen
2025-09-30  7:59   ` Ping-Ke Shih
2025-10-21  5:39   ` Ping-Ke Shih
2025-09-30  3:19 ` [PATCH rtw-next] wifi: rtl8xxxu: Add USB ID 2001:3328 for D-Link AN3U " Ping-Ke Shih
2025-09-30  7:45   ` Zenm Chen
2025-09-30  7:57     ` Ping-Ke Shih
2025-10-21  5:34 ` Ping-Ke Shih

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).