107 unsigned char if_idx,
124 unsigned char if_idx);
126#if defined(NRF70_STA_MODE) || defined(__DOXYGEN__)
143 unsigned char if_idx,
162 unsigned char if_idx,
182 unsigned char if_idx,
201 unsigned char if_idx,
221 unsigned char if_idx,
242 unsigned char if_idx,
263 unsigned char if_idx,
280 unsigned char if_idx,
297 unsigned char if_idx,
314 unsigned char if_idx,
331 unsigned char if_idx);
347 unsigned char if_idx);
363 unsigned char if_idx);
379 unsigned char if_idx,
396 unsigned char if_idx,
397 unsigned long long cookie);
414 unsigned char if_idx,
432 unsigned char if_idx,
449 unsigned char if_idx,
465 unsigned char if_idx,
486 unsigned char if_idx,
499 unsigned char *
addr);
535 unsigned char if_idx);
552 unsigned char if_idx,
573 unsigned char if_idx,
590 unsigned char if_idx,
615 unsigned char if_idx,
658 unsigned int if_idx);
673 unsigned int if_idx);
705 unsigned int if_idx);
721 unsigned char if_idx,
737 unsigned char if_idx,
753 unsigned char if_idx,
769 unsigned char if_idx,
827 unsigned char if_idx,
843 unsigned char if_idx,
859 unsigned char if_idx,
874 unsigned char if_idx);
914#
if defined(NRF_WIFI_LOW_POWER) || defined(__DOXYGEN__)
936#ifdef NRF70_SR_COEX_SLEEP_CTRL_GPIO_CTRL
951 unsigned int alt_swctrl1_function_bt_coex_status1,
952 unsigned int invert_bt_coex_grant_output);
968 unsigned char if_idx,
987 unsigned char if_idx,
988 bool ps_wakeup_mode);
1003 unsigned char if_idx,
1006#ifdef NRF70_RAW_DATA_TX
1029 unsigned char if_idx,
1047#if defined(NRF_WIFI_RPU_RECOVERY) || defined(__DOXYGEN__)
1049enum nrf_wifi_status nrf_wifi_sys_fmac_rpu_recovery_callback(
void *mac_dev_ctx,
1068#ifdef NRF70_SYSTEM_WITH_RAW_MODES
1082 unsigned char if_idx,
1083 unsigned char mode);
1086#if defined(NRF70_RAW_DATA_TX) || defined(NRF70_RAW_DATA_RX)
1100 unsigned char if_idx,
1101 unsigned int channel);
1105#if defined(NRF70_RAW_DATA_RX) || defined(NRF70_PROMISC_DATA_RX)
1118enum nrf_wifi_status nrf_wifi_sys_fmac_set_packet_filter(
void *dev_ctx,
1120 unsigned char if_idx,
1124#if defined(NRF70_UTIL) || defined(__DOXYGEN__)
1126 unsigned char rate_flag,
1128#if defined(NRF_WIFI_LOW_POWER) || defined(__DOXYGEN__)
1141 int *rpu_ps_ctrl_state);
1159 unsigned char he_gi,
1178#ifdef NRF_WIFI_RX_BUFF_PROG_UMAC
1190enum nrf_wifi_status nrf_wifi_fmac_prog_rx_buf_info(
void *fmac_dev_ctx,
1191 struct nrf_wifi_rx_buf *rx_buf,
1192 unsigned int num_buffs);
enum nrf_wifi_status nrf_wifi_sys_fmac_get_channel(void *fmac_dev_ctx, unsigned int if_idx)
Get channel definition.
enum nrf_wifi_status nrf_wifi_sys_fmac_get_conn_info(void *fmac_dev_ctx, unsigned char if_idx)
Get connection info from RPU.
enum nrf_wifi_status nrf_wifi_sys_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_sys_fmac_p2p_roc_start(void *fmac_dev_ctx, unsigned char if_idx, struct remain_on_channel_info *roc_info)
Start p2p remain on channel.
enum nrf_wifi_status nrf_wifi_sys_fmac_chg_vif(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_chg_vif_attr_info *vif_info)
Change the attributes of an interface.
enum nrf_wifi_status nrf_wifi_sys_fmac_scan_res_get(void *fmac_dev_ctx, unsigned char if_idx, int scan_type)
Issue a scan results request to the RPU firmware.
enum nrf_wifi_status nrf_wifi_sys_fmac_chg_bcn(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_set_beacon_info *data)
Update the Beacon Template.
enum nrf_wifi_status nrf_wifi_sys_fmac_register_frame(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_mgmt_frame_info *frame_info)
Register to get MGMT frames.
enum nrf_wifi_status nrf_wifi_sys_fmac_p2p_dev_start(void *fmac_dev_ctx, unsigned char if_idx)
Start P2P mode on an interface.
enum nrf_wifi_status nrf_wifi_sys_fmac_mgmt_frame_reg(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_mgmt_frame_info *frame_info)
Register the mgmt frame type which needs to be sent up to the host by the RPU firmware.
enum nrf_wifi_status nrf_wifi_sys_fmac_get_host_rpu_ps_ctrl_state(void *fmac_dev_ctx, int *rpu_ps_ctrl_state)
Get the RPU power save status from host perspective.
enum nrf_wifi_status nrf_wifi_sys_fmac_chg_vif_state(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_chg_vif_state_info *vif_info)
Change the state of a virtual interface.
enum nrf_wifi_status nrf_wifi_sys_fmac_deauth(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_disconn_info *deauth_info)
Issue an 802.11 de-authentication request to the RPU firmware.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_tx_rate(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned char rate_flag, int data_rate)
enum nrf_wifi_status nrf_wifi_sys_fmac_get_tx_power(void *fmac_dev_ctx, unsigned int if_idx)
Get tx power.
enum nrf_wifi_status nrf_wifi_fmac_resume(void *fmac_dev_ctx)
Notify RPU firmware that host has resumed from a suspended state.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_vif_macaddr(void *fmac_dev_ctx, unsigned char if_idx, unsigned char *mac_addr)
Set MAC address on interface.
enum nrf_wifi_status nrf_wifi_sys_fmac_abort_scan(void *fmac_dev_ctx, unsigned char if_idx)
Issue abort of an ongoing scan to the RPU firmware.
enum nrf_wifi_status nrf_wifi_sys_fmac_get_interface(void *dev_ctx, unsigned int if_idx)
enum nrf_wifi_status nrf_wifi_sys_fmac_add_key(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_key_info *key_info, const char *mac_addr)
Add an 802.11 security key into the RPU security database.
enum nrf_wifi_status nrf_wifi_sys_fmac_del_sta(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_del_sta_info *del_sta_info)
Remove a station.
enum nrf_wifi_status nrf_wifi_sys_fmac_dev_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, int sleep_type, 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, unsigned char *country_code)
Initialize an RPU instance.
struct nrf_wifi_fmac_priv * nrf_wifi_sys_fmac_init(struct nrf_wifi_data_config_params *data_config, struct rx_buf_pool_params *rx_buf_pools, struct nrf_wifi_fmac_callbk_fns *callbk_fns)
Initialize the UMAC IF layer in the system mode of operation.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_power_save(void *fmac_dev_ctx, unsigned char if_idx, bool state)
Configure WLAN power management.
enum nrf_wifi_status nrf_wifi_sys_fmac_scan(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_scan_info *scan_info)
Issue a scan request to the RPU firmware.
enum nrf_wifi_status nrf_wifi_sys_fmac_del_key(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_key_info *key_info, const char *mac_addr)
Delete an 802.11 key from the RPU security database.
enum nrf_wifi_status nrf_wifi_sys_fmac_auth(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_auth_info *auth_info)
Issue an 802.11 authentication request to the RPU firmware.
enum nrf_wifi_status nrf_wifi_fmac_suspend(void *fmac_dev_ctx)
Inform the RPU firmware that host is going to suspend state.
enum nrf_wifi_status nrf_wifi_fmac_start_xmit(void *fmac_dev_ctx, unsigned char if_idx, void *netbuf)
Transmit a frame to the RPU.
enum nrf_wifi_status nrf_wifi_sys_fmac_mgmt_tx(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_mgmt_tx_info *mgmt_tx_info)
Transmit a management frame.
enum nrf_wifi_status nrf_wifi_sys_fmac_chg_sta(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_chg_sta_info *chg_sta_info)
Indicate changes to STA connection parameters to the RPU firmware.
void nrf_wifi_sys_fmac_dev_deinit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx)
De-initialize a RPU instance.
enum nrf_wifi_status nrf_wifi_sys_fmac_stats_get(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, enum rpu_stats_type stats_type, struct rpu_sys_op_stats *stats)
Issue a request to get stats from the RPU.
enum nrf_wifi_status nrf_wifi_sys_fmac_get_wiphy(void *fmac_dev_ctx, unsigned char if_idx)
Get PHY configuration.
enum nrf_wifi_status nrf_wifi_sys_fmac_twt_setup(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_config_twt_info *twt_info)
TWT setup command.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_ps_wakeup_mode(void *fmac_dev_ctx, unsigned char if_idx, bool ps_wakeup_mode)
Configure WLAN PS wakeup mode to DTIM interval or listen interval.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_bss(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_bss_info *bss_info)
Set BSS parameters for an AP mode interface in the RPU firmware.
unsigned char nrf_wifi_sys_fmac_add_vif(void *fmac_dev_ctx, void *os_vif_ctx, struct nrf_wifi_umac_add_vif_info *vif_info)
Add a new virtual interface.
enum nrf_wifi_status nrf_wifi_sys_fmac_del_vif(void *fmac_dev_ctx, unsigned char if_idx)
Deletes a virtual interface.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_wiphy_params(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_set_wiphy_info *wiphy_info)
Set wiphy parameters.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_ps_exit_strategy(void *fmac_dev_ctx, unsigned char if_idx, unsigned int ps_exit_strategy)
Configure power save exit strategy.
enum nrf_wifi_status nrf_wifi_sys_fmac_assoc(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_assoc_info *assoc_info)
Issue an 802.11 association request to the RPU firmware.
enum nrf_wifi_status nrf_wifi_sys_fmac_twt_teardown(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_config_twt_info *twt_info)
TWT teardown command.
enum nrf_wifi_status nrf_wifi_sys_fmac_p2p_dev_stop(void *fmac_dev_ctx, unsigned char if_idx)
Start P2P mode on an interface.
enum nrf_wifi_status nrf_wifi_sys_fmac_get_station(void *fmac_dev_ctx, unsigned int if_idx, unsigned char *mac)
Get station statistics.
enum nrf_wifi_status nrf_wifi_sys_fmac_stop_ap(void *fmac_dev_ctx, unsigned char if_idx)
Stop a SoftAP.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_key(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_key_info *key_info)
Set a key as a default for data or management traffic in the RPU security database.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_qos_map(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_qos_map_info *qos_info)
Configure qos_map of for data.
enum nrf_wifi_status nrf_wifi_sys_fmac_add_sta(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_add_sta_info *add_sta_info)
Indicate a new STA connection to the RPU firmware.
enum nrf_wifi_status nrf_wifi_sys_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_sys_fmac_mac_addr(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, unsigned char *addr)
Get unused MAC address from base mac address.
enum nrf_wifi_status nrf_wifi_sys_fmac_disassoc(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_disconn_info *disassoc_info)
Issue an 802.11 disassociation request to the RPU firmware.
enum nrf_wifi_status nrf_wifi_fmac_set_wowlan(void *fmac_dev_ctx, unsigned int var)
Configure WoWLAN.
enum nrf_wifi_status nrf_wifi_sys_fmac_p2p_roc_stop(void *fmac_dev_ctx, unsigned char if_idx, unsigned long long cookie)
Stop p2p remain on channel.
enum nrf_wifi_status nrf_wifi_sys_fmac_start_ap(void *fmac_dev_ctx, unsigned char if_idx, struct nrf_wifi_umac_start_ap_info *ap_info)
Start a SoftAP.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_uapsd_queue(void *fmac_dev_ctx, unsigned char if_idx, unsigned int uapsd_queue)
Configure WLAN U-APSD queue.
struct nrf_wifi_fmac_dev_ctx * nrf_wifi_sys_fmac_dev_add(struct nrf_wifi_fmac_priv *fpriv, void *os_dev_ctx)
Adds a RPU instance.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_power_save_timeout(void *fmac_dev_ctx, unsigned char if_idx, int ps_timeout)
Configure Power save timeout.
enum nrf_wifi_status nrf_wifi_check_mode_validity(unsigned char mode)
Check if a valid mode is being set.
enum nrf_wifi_status nrf_wifi_sys_fmac_set_listen_interval(void *fmac_dev_ctx, unsigned char if_idx, unsigned short listen_interval)
Configure WLAN listen interval.
ps_exit_strategy
This enum specifies the type of frames used to retrieve buffered data from the AP in power save mode.
Definition host_rpu_sys_if.h:868
op_band
This enum defines different types of operating bands.
Definition host_rpu_sys_if.h:846
rpu_stats_type
This enum defines various types of statistics.
Definition host_rpu_sys_if.h:85
unsigned int len
Definition host_rpu_data_if.h:3
unsigned char mac_addr[6]
Definition host_rpu_data_if.h:7
unsigned int buffer_size
Definition host_rpu_sys_if.h:1
unsigned char rf_params[200]
Definition host_rpu_sys_if.h:3
unsigned char he_gi
Definition host_rpu_sys_if.h:53
struct rx_buf_pool_params rx_buf_pools[MAX_NUM_OF_RX_QUEUES]
Definition host_rpu_sys_if.h:7
unsigned int uapsd_queue
Definition host_rpu_sys_if.h:61
unsigned int phy_calib
Definition host_rpu_sys_if.h:10
unsigned char country_code[2]
Definition host_rpu_sys_if.h:17
signed int stats_type
Definition host_rpu_sys_if.h:3
unsigned char he_ltf
Definition host_rpu_sys_if.h:7
unsigned char filter
Definition host_rpu_sys_if.h:5
unsigned long long cookie
Definition host_rpu_umac_if.h:11
unsigned short listen_interval
Definition host_rpu_umac_if.h:3
unsigned int scan_type
Definition host_rpu_umac_if.h:5
signed int state
Definition host_rpu_umac_if.h:1
unsigned int ps_timeout
Definition host_rpu_umac_if.h:11
unsigned char enabled
Definition host_rpu_umac_if.h:5
struct nrf_wifi_umac_bss_info bss_info
Definition host_rpu_umac_if.h:5
struct nrf_wifi_umac_key_info key_info
Definition host_rpu_umac_if.h:11
nrf_wifi_status
The status of an operation performed by the RPU driver.
Definition osal_structs.h:39
unsigned int addr
Definition rpu_if.h:1
This structure defines board dependent parameters like PCB loss.
Definition host_rpu_sys_if.h:831
This structure specifies the configuration parameters used for configuring data-related settings.
Definition host_rpu_sys_if.h:708
Callback functions to be invoked by UMAC IF layer when a particular event occurs.
Definition fmac_structs.h:102
struct nrf_wifi_tx_pwr_ceil_params * tx_pwr_ceil_params
Definition fmac_structs_common.h:187
void * os_dev_ctx
Definition fmac_structs_common.h:157
struct nrf_wifi_fmac_priv * fpriv
Definition fmac_structs_common.h:155
Structure to hold common fmac dev context parameter data.
Definition fmac_structs_common.h:153
Structure to hold common fmac priv parameter data.
Definition fmac_structs_common.h:140
Definition phy_rf_params_common.h:320
This structure defines the parameters used to control the max transmit (TX) power in both frequency b...
Definition phy_rf_params_common.h:425
This structure defines the parameters used to control the transmit (TX) power.
Definition host_rpu_sys_if.h:764
This structure describes the parameters for adding a new station entry to the RPU.
Definition host_rpu_umac_if.h:1966
This structure contains the information to be passed to the RPU to create a new virtual interface usi...
Definition host_rpu_umac_if.h:1439
This structure specifies the parameters to be used when sending an association request.
Definition host_rpu_umac_if.h:1348
This structure specifies the parameters to be used when sending an authentication request.
Definition host_rpu_umac_if.h:1273
This structure contains parameters that describe the BSS (Basic Service Set) information.
Definition host_rpu_umac_if.h:1568
This structure represents the information needed to update a station entry in the RPU.
Definition host_rpu_umac_if.h:1890
This structure contains the information that needs to be provided to the RPU when modifying the attri...
Definition host_rpu_umac_if.h:2130
This structure contains the information that needs to be passed to the RPU when changing the interfac...
Definition host_rpu_umac_if.h:2159
This structure describes the TWT information.
Definition host_rpu_umac_if.h:2391
This structure contains the parameters to delete a station.
Definition host_rpu_umac_if.h:1768
This structure specifies the parameters to be passed while sending a deauthentication request (NRF_WI...
Definition host_rpu_umac_if.h:1404
This structure contains information about a security key.
Definition host_rpu_umac_if.h:1117
This structure contains information about the type of management frame that should be passed to the d...
Definition host_rpu_umac_if.h:1499
This structure describes the parameters required to transmit a management frame from the host.
Definition host_rpu_umac_if.h:2222
This structure represents the information of qos_map.
Definition host_rpu_umac_if.h:2299
This structure contains details about scan request information.
Definition host_rpu_umac_if.h:1153
This structure represents the parameters that must be passed to the RPU when configuring Beacon and P...
Definition host_rpu_umac_if.h:2103
This structure contains information about the configuration parameters needed to set up and configure...
Definition host_rpu_umac_if.h:1704
This structure describes the parameters required to be passed to the RPU when initiating a SoftAP (So...
Definition host_rpu_umac_if.h:2039
This structure contains information relevant to the "Remain on Channel" operation....
Definition host_rpu_umac_if.h:2989
Structure to hold per device host and firmware statistics.
Definition fmac_structs.h:559
Definition lmac_if_common.h:202
Header containing event specific declarations in the system mode for the FMAC IF Layer of the Wi-Fi d...