Handling nl80211, IEEE 802.11 Netlink protocol, in Rust. Work in progress.
If run without arguments the example program will listen for nl80211 events. If a new scan event is received the scan results will be fetched.
$ cargo run --release --example nl80211
To run some example commands administrative access is needed, Set administrative capabilities like so,
sudo setcap cap_net_admin+ep ./target/release/examples/nl80211
Then it is possible to initiate a scan for example.
./target/release/examples/nl80211 scan
Rust 1.30.0 or later is needed.
Tested on following platforms,
- Linux 4.18 x86_64, Fedora 28
- Linux 4.1 ARMv7
- Linux 4.9 AArch64
Licensed under the MIT license.