How siliconlabs/wfx-fullmac-driver works
WFx FMAC is a portable host-side driver for Silicon Labs Wi-Fi transceivers. The principal workflow is a host application invoking driver APIs, which exchange control and data with the transceiver over SPI or SDIO; the transceiver provides full-MAC Wi-Fi and WPA2 personal authentication, including roaming. The repository also contains firmware message/register definitions and an optional secure-link implementation. Source excerpts are partial, so links not established by the README or indexed references are omitted rather than inferred.
Main entry points: sl_wfx.c FMAC driver · sl_wfx_bus.c Bus layer · sl_wfx_api.h Firmware API index · sl_wfx_cmd_api.h Wi-Fi commands
Components 15
Driver runtime
- FMAC driver
wfx_fmac_driver/sl_wfx.c - Platform hooks
wfx_fmac_driver/sl_wfx_host_api.h - Status codes
wfx_fmac_driver/sl_status.h
Bus transports
- Bus layer
wfx_fmac_driver/bus/sl_wfx_bus.c - SPI transport
wfx_fmac_driver/bus/sl_wfx_bus_spi.c - SDIO transport
wfx_fmac_driver/bus/sl_wfx_bus_sdio.c
Firmware protocol
- Wi-Fi commands
wfx_fmac_driver/firmware/sl_wfx_cmd_api.h - General messages
wfx_fmac_driver/firmware/sl_wfx_general_api.h - Device registers
wfx_fmac_driver/firmware/sl_wfx_registers.h - WF200 firmware image
wfx_fmac_driver/firmware/sl_wfx_wf200_C0.h - Firmware API index
wfx_fmac_driver/firmware/sl_wfx_api.h
Secure link
- Secure-link protocol
wfx_fmac_driver/secure_link/sl_wfx_secure_link.c - Secure-link configuration
wfx_fmac_driver/secure_link/sl_wfx_secure_link_configuration.h
Other components
- Host application
- WFx transceiver
Connections 9
- Host application → FMAC driver: invokes
README.md - FMAC driver → WFx transceiver: communicates with
README.md - FMAC driver → Secure-link protocol: references
wfx_fmac_driver/sl_wfx.c - Bus layer → SPI transport: transport option
README.md - Bus layer → SDIO transport: transport option
README.md - WFx transceiver → Wi-Fi commands: implements commands
wfx_fmac_driver/firmware/sl_wfx_cmd_api.h - WFx transceiver → General messages: implements messages
wfx_fmac_driver/firmware/sl_wfx_general_api.h - Firmware API index → General messages: includes
wfx_fmac_driver/firmware/sl_wfx_api.h - Firmware API index → Wi-Fi commands: includes
wfx_fmac_driver/firmware/sl_wfx_api.h