Skip to content

Fix build for kernel 6.17 tx power API change#91

Merged
jserv merged 1 commit intosysprog21:mainfrom
CharleneChar:code
Apr 3, 2026
Merged

Fix build for kernel 6.17 tx power API change#91
jserv merged 1 commit intosysprog21:mainfrom
CharleneChar:code

Conversation

@CharleneChar
Copy link
Copy Markdown
Contributor

Add conditional compilation for kernel >= 6.17 to handle the updated cfg80211 tx power callbacks, which introduce the radio_idx parameter in set_tx_power() and get_tx_power().

Also preserve compatibility with earlier kernels by keeping existing signatures under appropriate LINUX_VERSION_CODE checks, including link_id handling introduced in 6.14.

This fixes autobuild failures on newer kernel versions without affecting older versions.

Add conditional compilation for kernel >= 6.17 to handle the
updated cfg80211 tx power callbacks, which introduce the
radio_idx parameter in set_tx_power() and get_tx_power().

Also preserve compatibility with earlier kernels by keeping
existing signatures under appropriate LINUX_VERSION_CODE checks,
including link_id handling introduced in 6.14.

This fixes autobuild failures on newer kernel versions
without affecting older versions.
@jserv jserv merged commit 3a19c17 into sysprog21:main Apr 3, 2026
4 checks passed
@jserv
Copy link
Copy Markdown
Contributor

jserv commented Apr 3, 2026

Thank @CharleneChar for contributing!

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.

2 participants