15#ifndef __FMAC_API_COMMON_H__
16#define __FMAC_API_COMMON_H__
27#define MIN(a, b) (((a) < (b)) ? (a) : (b))
142 unsigned int *fw_ver);
174 void *
cmd,
unsigned int cmd_len);
190 unsigned char if_idx,
205 unsigned char vif_idx,
244 unsigned char if_idx);
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_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_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.
void nrf_wifi_fmac_deinit(struct nrf_wifi_fmac_priv *fpriv)
De-initialize the UMAC IF layer.
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_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_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.
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_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_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_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_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_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_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_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 HAL Layer of the Wi-Fi driver.
RPU_PROC_TYPE
Enumeration of RPU processor types.
Definition hal_structs_common.h:32
unsigned int cmd
Definition host_rpu_data_if.h:1
unsigned char mac_addr[6]
Definition host_rpu_data_if.h:7
unsigned char he_gi
Definition host_rpu_sys_if.h:53
unsigned char he_ltf
Definition host_rpu_sys_if.h:7
struct nrf_wifi_umac_scan_info info
Definition host_rpu_umac_if.h:3
unsigned char enabled
Definition host_rpu_umac_if.h:5
nrf_wifi_status
The status of an operation performed by the RPU driver.
Definition osal_structs.h:39
Definition patch_info.h:50
Structure to hold common fmac dev context parameter data.
Definition fmac_structs_common.h:153
Structure to hold FW patch chunk information.
Definition fmac_structs_common.h:89
Structure to hold FW patch information for LMAC and UMAC.
Definition fmac_structs_common.h:74
Structure to hold common fmac priv parameter data.
Definition fmac_structs_common.h:140
Structure to hold Regulatory parameter data.
Definition fmac_structs_common.h:125
This structure represents the parameters used to configure the multicast address filter.
Definition host_rpu_umac_if.h:1217