nrfxlib API 0.1.0
|
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 | rpu_op_stats |
| |
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) (((a) < (b)) ? (a) : (b)) |
#define | NRF_WIFI_FW_CHUNK_ID_STR_LEN 16 |
#define | MAX_NUM_REG_CHANELS 42 |
Functions | |
struct nrf_wifi_fmac_dev_ctx * | nrf_wifi_fmac_dev_add (struct nrf_wifi_fmac_priv *fpriv, void *os_dev_ctx) |
Adds a RPU instance. | |
enum nrf_wifi_status | nrf_wifi_fmac_stats_get (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, enum rpu_op_mode op_mode, struct rpu_op_stats *stats) |
Issue a request to get stats from the RPU. | |
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_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_rf_params_get (struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct nrf_wifi_phy_rf_params *rf_params) |
Get the RF parameters to be programmed to the RPU. | |
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_fmac_get_power_save_info (void *fmac_dev_ctx, unsigned char if_idx) |
Get the current power save information. | |
int | nrf_wifi_phy_rf_params_init (struct nrf_wifi_phy_rf_params *prf, unsigned int package_info, unsigned char *str) |
Initialize RF parameters. | |
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. | |
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.