nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_wifi_fmac_init()

struct nrf_wifi_fmac_priv * nrf_wifi_fmac_init ( struct nrf_wifi_data_config_params data_config,
struct rx_buf_pool_params rx_buf_pools,
struct nrf_wifi_fmac_callbk_fns callbk_fns 
)

#include <nrf_wifi/fw_if/umac_if/inc/default/fmac_api.h>

Initialize the UMAC IF layer.

Parameters
data_configPointer to configuration of data queues.
rx_buf_poolsPointer to configuration of Rx queue buffers. See rx_buf_pool_params
callbk_fnsPointer to callback functions for addressing events from the UMAC layer. e.g. callback function to process packet received from RPU firmware, scan result etc

This function initializes the UMAC IF layer. It does the following:

  • Creates and initializes the context for the UMAC IF layer.
  • Initializes the HAL layer.
  • Initializes the OS abstraction Layer.
  • Initializes TX queue token sizes.
  • Initializes the RX buffer pool.
Returns
Pointer to the context of the UMAC IF layer.