openwifi is a full-stack IEEE 802.11 Wi-Fi design for software-defined radio, with a Linux mac80211 driver, on-board software, and FPGA baseband in a separate hardware project.
Overview
openwifi lets you run Wi-Fi in ad-hoc, station, access point, and monitor modes on supported SDR boards that combine a Zynq-class SoC with an AD9361-class RF front end. The low MAC layer uses CSMA/CA in FPGA, with configurable channel access timing and sensitivity. It targets 802.11a/g/n-style OFDM on roughly 20 MHz bandwidth across a wide frequency range, with hooks for research features such as packet injection, CSI capture, and radar-style sensing experiments.
Pre-built SD card images boot Linux on the board; you copy board-specific boot files, power the hardware, and log in over Ethernet to bring up hostapd or client scripts. Standard Linux Wi-Fi user-space tools can drive the openwifi network interface similarly to commercial chips, while sdrctl reaches driver and FPGA settings. FPGA bitstreams and driver modules can be updated on the board or rebuilt from published hardware and software artifacts.
Several vendor and community SDR boards are listed with board names that map to FPGA designs and images. Porting notes explain aligning FPGA block addresses with device tree entries for new hardware. openwifi uses OFDM only and is not compatible with 802.11b; practical setups often rely on hostapd or wpa_supplicant configurations that suppress legacy rates.
Users must follow local radio regulations or use cabled RF paths to limit over-the-air interference. Licensing is split across AGPL and other terms, with some third-party modules carrying their own licenses.
Key features
- 802.11a/g/n-style OFDM operation
- Ad-hoc, station, AP, monitor modes
- CSMA/CA low MAC in FPGA
- 802.11 packet injection and fuzzing
- CSI and IQ sample capture to host
- Configurable CCA and timing parameters
- Linux mac80211 compatible driver
- sdrctl tool for driver and FPGA access
Use cases
- SDR Wi-Fi access point experiments
- Wi-Fi security and fuzzing research
- CSI and channel measurement studies
- Custom SDR board Wi-Fi bring-up
- Ad-hoc and monitor-mode testing