nrfxlib API 0.1.0
Loading...
Searching...
No Matches
fmac_api_common.h File Reference
#include "osal_api.h"
#include "hal_api.h"
#include "host_rpu_umac_if.h"
#include "host_rpu_data_if.h"
#include "host_rpu_sys_if.h"
#include "fmac_structs.h"
#include "fmac_cmd.h"
#include "fmac_event.h"
#include "fmac_vif.h"
#include "fmac_bb.h"
#include <patch_info.h>

Go to the source code of this file.

Macros

#define MIN(a, b)   (((a) < (b)) ? (a) : (b))
 

Functions

struct nrf_wifi_fmac_dev_ctxnrf_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.