nRF WiFi
Loading...
Searching...
No Matches
FMAC API common

Header containing API declarations for the FMAC IF Layer of the Wi-Fi driver. More...

Data Structures

struct  rpu_host_stats
 Structure to hold host specific statistics. More...
 
struct  nrf_wifi_fw_info
 Structure to hold FW patch information. More...
 
struct  nrf_wifi_fmac_fw_info
 Structure to hold FW patch information for LMAC and UMAC. More...
 
struct  nrf_wifi_fmac_fw_chunk_info
 Structure to hold FW patch chunk information. More...
 
struct  nrf_wifi_fmac_otp_info
 Structure to hold OTP region information. More...
 
struct  nrf_wifi_fmac_reg_info
 Structure to hold Regulatory parameter data. More...
 
struct  nrf_wifi_fmac_priv
 Structure to hold common fmac priv parameter data. More...
 
struct  nrf_wifi_fmac_dev_ctx
 Structure to hold common fmac dev context parameter data. More...
 

Macros

#define MIN(a, b)
 
#define NRF_WIFI_FW_CHUNK_ID_STR_LEN   16
 
#define MAX_NUM_REG_CHANELS   42
 

Enumerations

enum  nrf_wifi_op_mode { NRF_WIFI_OP_MODE_SYS = 0 , NRF_WIFI_OP_MODE_RT , NRF_WIFI_OP_MODE_OFF_RAW_TX }
 Device operation modes. More...
 

Functions

void nrf_wifi_fmac_deinit (struct nrf_wifi_fmac_priv *fpriv)
 De-initialize the UMAC IF layer.
 
void nrf_wifi_fmac_dev_rem (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
 Removes a RPU instance.
 
enum nrf_wifi_status nrf_wifi_validate_fw_header (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct nrf70_fw_image_info *info)
 Validate the firmware header.
 
enum nrf_wifi_status nrf_wifi_fmac_fw_parse (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, const void *fw_data, unsigned int fw_size, struct nrf_wifi_fmac_fw_info *fw_info)
 Parse the Firmware(s) to be loaded to the RPU WLAN device.
 
enum nrf_wifi_status nrf_wifi_fmac_fw_reset (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
 Reset the processors in the RPU WLAN device.
 
enum nrf_wifi_status nrf_wifi_fmac_fw_boot (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
 Boot the Firmware(s) to the RPU WLAN device.
 
enum nrf_wifi_status nrf_wifi_fmac_fw_chunk_load (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, enum RPU_PROC_TYPE rpu_proc, struct nrf_wifi_fmac_fw_chunk_info *fw_chunk)
 Load a chunk of the Firmware to the RPU WLAN device.
 
enum nrf_wifi_status nrf_wifi_fmac_fw_load (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct nrf_wifi_fmac_fw_info *fmac_fw)
 Loads the Firmware(s) to the RPU WLAN device.
 
enum nrf_wifi_status nrf_wifi_fmac_ver_get (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned int *fw_ver)
 Get FW versions from the RPU.
 
enum nrf_wifi_status nrf_wifi_fmac_conf_ltf_gi (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned char he_ltf, unsigned char he_gi, unsigned char enabled)
 Configure HE LTF and GI parameters.
 
enum nrf_wifi_status nrf_wifi_fmac_conf_srcoex (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, void *cmd, unsigned int cmd_len)
 Configure SR coexistence parameters in RPU.
 
enum nrf_wifi_status nrf_wifi_sys_fmac_set_mcast_addr (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_mcast_cfg *mcast_info)
 Set the Multicast filter address.
 
enum nrf_wifi_status nrf_wifi_fmac_otp_mac_addr_get (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned char vif_idx, unsigned char *mac_addr)
 Fetch MAC address from OTP.
 
enum nrf_wifi_status nrf_wifi_fmac_set_reg (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct nrf_wifi_fmac_reg_info *reg_info)
 Set regulatory domain in RPU.
 
enum nrf_wifi_status nrf_wifi_fmac_get_reg (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct nrf_wifi_fmac_reg_info *reg_info)
 Get regulatory domain from RPU.
 
enum nrf_wifi_status nrf_wifi_sys_fmac_get_power_save_info (void *fmac_dev_ctx, unsigned char if_idx)
 Get the current power save information.
 
enum nrf_wifi_status nrf_wifi_fmac_stats_reset (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
 Issue a request to reset stats of the RPU.
 

Detailed Description

Header containing API declarations for the FMAC IF Layer of the Wi-Fi driver.

Header containing declarations for utility functions for FMAC IF Layer of the Wi-Fi driver.