nRF WiFi
Loading...
Searching...
No Matches

◆ nrf_wifi_bal_init()

struct nrf_wifi_bal_priv * nrf_wifi_bal_init ( struct nrf_wifi_bal_cfg_params * cfg_params,
enum nrf_wifi_status(* intr_callbk_fn )(void *hal_ctx) )

Header containing the API declarations for the Bus Abstraction Layer (BAL) of the Wi-Fi driver.

Initialize the BAL layer.

Parameters
cfg_paramsPointer to the configuration parameters for the BAL layer.
intr_callbk_fnPointer to the callback function which the user of this layer needs to implement to handle interrupts from the RPU.

This API is used to initialize the BAL layer and is expected to be called before using the BAL layer. This API returns a pointer to the BAL context which might need to be passed to further API calls.

Returns
Pointer to instance of BAL layer context.