EVK-ELLA-W1 - User Guide
UBX-15012877 - R04
Early Production Information
Software
Page 12 of 24
Figure 6: Basic Wi-Fi driver and firmware architecture
The following steps are performed while loading the Wi-Fi host driver:
The driver registers itself with the MMC/SDIO bus driver.
Upon successful registration, the bus driver calls the Wi-Fi driver's probe handler, when the module is
detected.
The probe handler allocates and initializes internal structures, registers the interrupt service routine and
starts the main driver threads.
The firmware image is downloaded to the module and the hardware is initialized.
Network devices such as STA, AP, and WFD are registered.
4.2.2
Bluetooth driver
The standard Bluetooth protocol stack in Linux is provided by
BlueZ
. The Bluetooth driver for the ELLA-W1
module series is a client driver that runs on top of the MMC/SDIO bus driver and it does the following:
Forwards the data and commands between upper protocol stack layers and the firmware.
Handles some private commands that are used as handshake between the driver and firmware only.
On loading the driver, it registers with the bus driver, downloads the firmware, if not already loaded by the Wi-Fi
driver, and registers a new HCI device with the
BlueZ
stack.