nRF WiFi
Loading...
Searching...
No Matches
host_rpu_data_if.h File Reference
#include "host_rpu_common_if.h"
#include "host_rpu_sys_if.h"
#include "common/pack_def.h"

Go to the source code of this file.

Data Structures

struct  nrf_wifi_umac_head
 Data interface Command and Event header. More...
struct  tx_mac_hdr_info
 Tx mac80211 header information. More...
struct  nrf_wifi_tx_buff_info
 This structure provides the information of each packet in the tx command. More...
struct  nrf_wifi_tx_buff
 This structure provides the parameters for the tx command. More...
struct  nrf_wifi_tx_buff_done
 This structure represents the Tx done event(NRF_WIFI_CMD_TX_BUFF_DONE). More...
struct  nrf_wifi_rx_buff_info
 This structure provides information about the parameters in the RX data event. More...
struct  nrf_wifi_rx_buff
 This structure represents RX data event(NRF_WIFI_CMD_RX_BUFF). More...
struct  nrf_wifi_data_carrier_state
 This structure provides information about the carrier (interface) state. More...
struct  nrf_wifi_sap_client_pwrsave
 This structure describes an event related to the power save state of the softap's client. When the client is in PS mode (NRF_WIFI_CLIENT_PS_MODE), the host should queue Tx packets. When the client is in wakeup mode (NRF_WIFI_CLIENT_ACTIVE), the host should send all buffered and upcoming Tx packets. More...
struct  nrf_wifi_sap_ps_get_frames
 This structure represents an event that instructs the host to transmit a specific number of frames that host queued when softap's client is in power save mode. This event is primarily used when Softap's client operates in legacy power save mode. In this scenario, the access point (AP) is required to send a single packet for every PS POLL frame it receives from the client. Additionally, this mechanism will also be utilized in UAPSD power save. More...

Macros

#define TX_BUF_HEADROOM   52
#define NRF_WIFI_TX_FLAGS_DSCP_TOS_MASK   0xFFFF
#define NRF_WIFI_TX_FLAGS_DSCP_TOS_SHIFT   0
#define NRF_WIFI_TX_FLAGS_DSCP_TOS(x)
#define NRF_WIFI_TX_STATUS_SUCCESS   0
#define NRF_WIFI_TX_STATUS_FAILED   1
#define NRF_WIFI_CLIENT_ACTIVE   0
#define NRF_WIFI_CLIENT_PS_MODE   1

Enumerations

enum  nrf_wifi_umac_data_commands {
  NRF_WIFI_CMD_MGMT_BUFF_CONFIG , NRF_WIFI_CMD_TX_BUFF , NRF_WIFI_CMD_TX_BUFF_DONE , NRF_WIFI_CMD_RX_BUFF ,
  NRF_WIFI_CMD_CARRIER_ON , NRF_WIFI_CMD_CARRIER_OFF , NRF_WIFI_CMD_PM_MODE , NRF_WIFI_CMD_PS_GET_FRAMES
}
 UMAC data interface commands and events. More...
enum  nrf_wifi_tx_flags { NRF_WIFI_TX_FLAG_TWT_EMERGENCY_TX = (1 << 31) , NRF_WIFI_TX_FLAG_CHKSUM_AVAILABLE = (1 << 30) , NRF_WIFI_TX_FLAG_QOS_CTL_ACK_POLICY_NOACK = (1 << 29) }
enum  nrf_wifi_rx_pkt_type { NRF_WIFI_RX_PKT_DATA , NRF_WIFI_RX_PKT_BCN_PRB_RSP , NRF_WIFI_RAW_RX_PKT }
 This structure defines the type of received packet. More...

Functions

struct nrf_wifi_umac_head __attribute__ ((packed))

Variables

unsigned int cmd
unsigned int len
enum nrf_wifi_tx_flags __attribute__
signed int umac_fill_flags
unsigned short fc
unsigned char dest [6]
unsigned char src [6]
unsigned short etype
unsigned int tx_flags
unsigned char more_data
unsigned char eosp
unsigned short pkt_length
unsigned int ddr_ptr
struct nrf_wifi_umac_head umac_head
unsigned char wdev_id
unsigned char tx_desc_num
struct tx_mac_hdr_info mac_hdr_info
unsigned int pending_buf_size
unsigned char num_tx_pkts
struct nrf_wifi_tx_buff_info tx_buff_info [0]
unsigned char num_tx_status_code
unsigned char timestamp_t1 [6]
unsigned char timestamp_t4 [6]
unsigned char tx_status_code [0]
unsigned short descriptor_id
unsigned short rx_pkt_len
unsigned char pkt_type
unsigned char timestamp_t2 [6]
unsigned char timestamp_t3 [6]
signed short rx_pkt_type
unsigned char rate_flags
unsigned char rate
unsigned char rx_pkt_cnt
unsigned char reserved
unsigned char mac_header_len
unsigned short frequency
signed short signal
struct nrf_wifi_rx_buff_info rx_buff_info [0]
unsigned char sta_ps_state
unsigned char mac_addr [6]
signed char num_frames