Software Architecture

[中文]

The BK7239N Controller software consists of a Host part and a Controller part. The Host part includes kernel‑space code and user‑space APP interfaces, while the Controller part extends the original SDK with the controller_if module. The controller_if module communicates with the Host through SDIO and provides basic control logic.

The overall software architecture is shown in the following figure:

BK Wi‑Fi Controller software architecture

controller_if Module

The controller_if module is the core module for interaction between the Controller side and the Host. It provides key functions such as Host message reception and processing, data reception and forwarding, and low‑power control. The location of the controller_if module within the Controller SDK code is shown below:

controller IF module directory

The controller_if module primarily communicates with the SDIO drivers. After receiving messages and data sent from the Host, it forwards them to the corresponding modules. Meanwhile, it also provides interfaces to other service modules, which can call these interfaces to communicate with the Host.

controller IF module functional diagram