Skip to content

Per-kernel driver fixes round 2: walnascar (kernel 6.12) green#49

Merged
EmbeddedAndroid merged 5 commits into
masterfrom
kernel-6.12-6.14-fixes
May 14, 2026
Merged

Per-kernel driver fixes round 2: walnascar (kernel 6.12) green#49
EmbeddedAndroid merged 5 commits into
masterfrom
kernel-6.12-6.14-fixes

Conversation

@EmbeddedAndroid
Copy link
Copy Markdown
Owner

Second pass of per-kernel-version maintenance work. Gets every driver compiling on both LTS kernels we care about today: 6.6 (scarthgap) and 6.12 (walnascar). Kernel 6.14 still has three holdouts (rtl8723bu, rtl8723du, rtl8814au) which are tracked separately.

Verified via a native (driver, kernel) compile matrix run on a Debian trixie container against linux 6.6.93, 6.12.30 and 6.14.4. After this PR the 6.6 and 6.12 columns are all OK.

rtl8192eu: bumped SRCREV from 528ae317 (2019) to upstream HEAD 9c051142 (Mar 2026). Old revision broke on kernel 6.12 because struct usb_driver.drvwrap was removed in 6.8 and cfg80211_ch_switch_notify gained then lost an argument. Mange's HEAD has tracked both.

rtl8814au: bumped SRCREV from 6f80699e (Aug 2023) to b1866ce2 (Feb 2026). Upstream rolled in kernel 6.12 fixes; old SRCREV was failing on 6.12.

rtl8821cu: bumped SRCREV from 96c65c58 to 7f63a9da (Dec 2025) to pick up the kernel 6.14 get_antenna callback signature change.

rtl8812au: bumped SRCREV from c0efee9c to 9704072d (Sep 2025), the last good commit before upstream PR #62 introduced an undefined _FW_UNDER_SURVEY reference (the same regression that hit rtl8821au via PR #198). Includes upstream's kernel 6.13 + 6.14 support.

rtl8723du: bumped the EmbeddedAndroid/rtl8723du fork SRCREV to absorb two new fork commits:

  • usb_intf: fix shutdown callback for kernel 6.8+ (drvwrap removed; usb_driver.shutdown now takes struct usb_interface * directly)
  • ioctl_cfg80211: drop punct_bitmap arg on kernel 6.9+ (the extra arg added in 6.3 was reverted in 6.9)

Native compile matrix at the SRCREVs in this PR:

Driver 6.6 6.12 6.14
rtl8192eu OK OK OK
rtl8723bu OK OK FAIL
rtl8723du OK OK FAIL
rtl8812au OK OK OK
rtl8814au OK OK FAIL
rtl8821au OK OK OK
rtl8821cu OK OK OK
rtl88x2bu OK OK OK

Remaining 6.14 failures are cfg80211 callback signature changes that will be addressed in a follow-up: rtl8821cu-style get_antenna add for the others, plus set_monitor_channel for rtl8723du, plus rtl8723bu and rtl8814au will need their own forks (lwfinger upstream is stale, morrownr/8814au has its own issue at 6.14).

Old SRCREV (2019) failed to build on kernel 6.12 due to the
struct usb_driver.drvwrap removal in 6.8 and cfg80211 signature
changes. Bump to upstream HEAD 9c051142 (Mar 2026), which Mange
has updated to track newer kernel APIs.
morrownr/8814au has tracked recent kernel API changes; the old
SRCREV needed downstream patching for kernel 6.12 (do_patch was
failing for unrelated reasons before, so this regression was not
visible). Bump to upstream HEAD b1866ce2 (Feb 2026).
Kernel 6.14 added an unsigned int link_id parameter to the
get_antenna cfg80211 callback. Upstream rolled in support;
bump to 7f63a9da (Dec 2025) to pick that up.
Pin to 9704072d (Sep 2025), the last good commit before upstream
PR #62 introduced the same undefined _FW_UNDER_SURVEY reference
that broke rtl8821au under PR #198. Includes upstream's kernel
6.13 + 6.14 support patches.
The EmbeddedAndroid/rtl8723du embeddedandroid branch now carries
the usb_driver.drvwrap removal fix (drvwrap was dropped from
struct usb_driver in kernel 6.8). Bump SRCREV to pick up that
commit.
@EmbeddedAndroid EmbeddedAndroid merged commit b1de1c9 into master May 14, 2026
4 checks passed
@EmbeddedAndroid EmbeddedAndroid deleted the kernel-6.12-6.14-fixes branch May 14, 2026 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant