Target for Linux Kernel v5.15 LTS.
An alternative to iw
which uses nl80211
interface.
Use procfs + mmap
to access ieee80211_ops
within extremely low latency from userspace.
-
build the kernel module
We use a custom
iwlmvm
build in this repo. You can disable it withcmake -DBUILD_IWLMVM=OFF ..
mkdir build cd build && cmake .. make
-
build and install the python controller package
It is recommended to install the package globally which could be found by root user.
cd wlsctrl python3 setup.py bdist_wheel sudo pip3 install ./dist/*.whl
Make sure that you have at least one wireless NIC enabled.
-
Run
sudo insmod build/wlsops/wlsops_hack.ko
to install the built kernel modules, wherewlsops_hack
will use the first wireless NIC found in the system; -
Run the test in
wlsctrl/tests
with root permission.