TP-Link TX20U Plus
TP-Link TX20U Plus
# RTL8852AU Driver - Patches for Linux Kernel 6.13-6.17+
Hi everyone,
I've patched the
`lwfinger/rtl8852au`
driver to work with
**Linux Kernel 6.13-6.17+**
. The original driver was not updated for these kernel versions, which introduced several API changes that broke compilation.
## What Was Fixed
| Kernel Version | Change |
|----------------|--------|
|
**All**
|
`EXTRA_CFLAGS`
→
`ccflags-y`
(Kernel 6.15+ ignores EXTRA_CFLAGS) |
|
**6.13+**
|
`MODULE_IMPORT_NS`
disabled,
`set_monitor_channel`
net_device parameter |
|
**6.14+**
|
`get_txpower`
link_id parameter |
|
**6.15+**
|
`del_timer`
→
`timer_delete`
, compiler warnings suppressed |
|
**6.16+**
|
`from_timer`
→
`timer_container_of`
|
|
**6.17+**
|
`set_wiphy_params/set_txpower/get_txpower`
radio_id parameter |
## Tested System
-
**Device:**
TP-Link TX20U Plus (USB ID:
`2357:013f`
)
-
**OS:**
Linux Mint 22.3
-
**Kernel:**
6.17.0-35-generic
-
**Status:**
✅ Working at 1.2 Gb/s on WiFi 6 (5 GHz)
## Repository
I've uploaded the patched driver to GitHub:
https://github.com/Apollo013/rtl8852au-kernel-6.17-patches
## Request for Testing
This has only been tested on one system.
**Please help by testing on your system**
and report your results. The driver supports multiple devices (see original README), so please test other devices as well.
### Quick Test
```bash
git
clone
https://github.com/Apollo013/rtl8852au-kernel-6.17-patches.git
cd
rtl8852au-kernel-6.17-patches
make
-j$(
nproc
)
sudo
make
install
sudo
modprobe
8852au
```
### What to Report
If you test it, please report:
-
Device (USB ID from
`lsusb`
)
-
OS/Distribution
-
Kernel version (
`uname -r`
)
-
Does it compile?
-
Does it load?
-
Does it detect networks?
-
Can you connect?
-
Any errors?
You can report results by opening a GitHub Issue or replying to this thread.
## Credits
-
**Original driver:**
Larry Finger (lwfinger/rtl8852au)
-
**Patches for Kernel 6.13–6.16:**
Soham Nandy, Zenm Chen (GitHub PR #115)
-
**Patch for Kernel 6.17:**
Andreas Patsalos
Thanks for testing!
