out-of-tree mac80211 driver in a package feed; how to determine mac80211 version

Tim Harvey tharvey at gateworks.com
Tue Jan 28 16:37:35 PST 2025


Greetings,

I've got an out-of-tree mac80211 driver [1] that I built in a package
feed. The driver has a lot of kernel compatibility defines using
KERNEL_VERSION(x,y,z) and LINUX_VERSION_CODE to support various
kernels from fairly old up to 6.12. I'm finding that this doesn't
quite work for an OpenWrt package as its the mac80211 version that
needs to be used for LINUX_VERSION_CODE instead of the kernel being
used.

Is there a recommendation of how to handle this?

Best Regards,

Tim
[1] https://github.com/Gateworks/gw-openwrt-packages/blob/master/gateworks/nrc7292/Makefile



More information about the openwrt-devel mailing list