mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-11-10 16:49:17 +00:00
fix: select monitor-channel callback from cfg80211 header type
Keep the internal monitor-channel API independent of kernel versions and select a correctly typed cfg80211 adapter at compile time. This covers Ubuntu 6.8.0-147 and stable/backports without release-string heuristics or function-pointer casts. Validation: reproduced the original failure on Ubuntu 6.8.0-147; all three modules build on 6.8.0-146, 6.8.0-147 and 6.17.0-14. Fixes #107.
This commit is contained in:
1 parent
43db8006cb
commit
a827d291bb
6 files changed
+18
-69
No files matched your search
+4
-2
@@ -49,8 +49,10 @@ it to the host kernel version or redefine `LINUX_VERSION_CODE`.
|
||||
## Compatibility scope
|
||||
|
||||
The override selects the wireless API changes since Linux 6.12, including
|
||||
monitor-channel callbacks, radio/link arguments, radar notifications and
|
||||
newer cfg80211 callbacks. Timer, USB, memory-management and module namespace
|
||||
radio/link arguments, radar notifications and newer cfg80211 callbacks.
|
||||
The monitor-channel callback is selected from the actual cfg80211 header type
|
||||
so distribution backports also work without changing the version override.
|
||||
Timer, USB, memory-management and module namespace
|
||||
checks continue to use the target kernel version. Older target kernels with
|
||||
newer backports may need additional wireless API adaptations.
|
||||
|
||||
|
||||
Reference in new issue
Block a user