nrfxlib API 0.1.0
|
struct nrf_wifi_bal_priv * nrf_wifi_bal_init | ( | struct nrf_wifi_bal_cfg_params * | cfg_params, |
enum nrf_wifi_status(*)(void *hal_ctx) | intr_callbk_fn | ||
) |
Header containing the API declarations for the Bus Abstraction Layer (BAL) of the Wi-Fi driver.
Initialize the BAL layer.
opriv | Pointer to the OSAL layer context returned by the nrf_wifi_osal_init API. |
cfg_params | Pointer to the configuration parameters for the BAL layer. |
intr_callbk_fn | Pointer 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.