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

◆ nrf_wifi_fmac_dev_init()

enum nrf_wifi_status nrf_wifi_fmac_dev_init ( struct nrf_wifi_fmac_dev_ctx fmac_dev_ctx,
unsigned int  phy_calib,
enum op_band  op_band,
bool  beamforming,
struct nrf_wifi_tx_pwr_ctrl_params tx_pwr_ctrl_params,
struct nrf_wifi_tx_pwr_ceil_params tx_pwr_ceil_params,
struct nrf_wifi_board_params board_params 
)

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

Initialize an RPU instance.

Parameters
fmac_dev_ctxPointer to the context of the RPU instance to be removed.
sleep_typeType of RPU sleep.
phy_calibPHY calibration flags to be passed to the RPU.
op_bandOperating band of the RPU.
beamformingEnable/disable Wi-Fi beamforming.
tx_pwr_ctrl_paramsTX power control parameters to be passed to the RPU.
tx_pwr_ceil_paramsTX power ceil parameters for both frequency bands.
board_paramsBoard parameters to be passed to the RPU.

This function initializes the firmware of an RPU instance. The following is addressed

  • BAL layer device initialization
  • HAL layer device initialization
  • FW initialization and PHY calibration data is sent to PHY
  • RX and TX buffers are initialized, tasklets assigned
Return values
NRF_WIFI_STATUS_SUCCESSOn success
NRF_WIFI_STATUS_FAILOn failure to execute command