-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve build & installation + support kernels 5.13+ #5
base: main
Are you sure you want to change the base?
Conversation
warnes
commented
Feb 22, 2022
•
edited
Loading
edited
- Use standard kernel module build & install tools, including module signing.
- Add modprobe configuration script
- Rename module 'bladeRF-mac80211-hwsim' to distinguish it from the standard 'mac80211-hwsim' module.
- Includes PR Fix compilation on 5.13+ kernels #1
Starting with 5.13, the AMPDU alignment macros have been renamed. (torvalds/linux@1f851b8) This commit also fixes a typo that was corrected in 5.13 with the AMSDU related macros. (torvalds/linux@2f51644)
Starting with kernels 5.14 and up, the CFG80211_MAX_NUM_DIFFERENT_CHANNELS symbol has been removed upstream. (torvalds/linux@21b7805).
…gets to makefile.
the .c and .h file.
Exactly what I've been looking for! Excellent. Just compiled on 2.04 w/ 5.13 kernel. This will allow me to do some upgrades I've been wanting to do. |
I may have missed this, but after looking closer I notice with the 5.13.0.35 Kernel I'm getting the following result when running make. This is on 20.04 w/ HWE kernel.
If I try to insmod the .ko file I end up with this, insmod: ERROR: could not insert module bladeRF_mac80211_hwsim.ko: Unknown symbol in module Doing some searching to see how to get around the initial issue. |
The following occurs while trying to build against the kernel mentioned on a Pi4
|
On Lubuntu 22.04 w/ kernel 5.15.0-52-generic I get the following while trying to compile
Commented out the lines starting at 3539, compiles afterwards. |
The following steps while using your PR works for me. |