16#ifndef __HOST_RPU_DATA_IF_H__
17#define __HOST_RPU_DATA_IF_H__
24#define TX_BUF_HEADROOM 52
70#define NRF_WIFI_TX_FLAGS_DSCP_TOS_MASK 0xFFFF
71#define NRF_WIFI_TX_FLAGS_DSCP_TOS_SHIFT 0
72#define NRF_WIFI_TX_FLAGS_DSCP_TOS(x) (((x) << NRF_WIFI_TX_FLAGS_DSCP_TOS_SHIFT) & NRF_WIFI_TX_FLAGS_DSCP_TOS_MASK)
139#define NRF_WIFI_TX_STATUS_SUCCESS 0
140#define NRF_WIFI_TX_STATUS_FAILED 1
235#define NRF_WIFI_CLIENT_ACTIVE 0
237#define NRF_WIFI_CLIENT_PS_MODE 1
nrf_wifi_rx_pkt_type
This structure defines the type of received packet.
Definition: host_rpu_data_if.h:165
@ NRF_WIFI_RX_PKT_DATA
Definition: host_rpu_data_if.h:167
@ NRF_WIFI_RAW_RX_PKT
Definition: host_rpu_data_if.h:171
@ NRF_WIFI_RX_PKT_BCN_PRB_RSP
Definition: host_rpu_data_if.h:169
nrf_wifi_tx_flags
Definition: host_rpu_data_if.h:74
@ NRF_WIFI_TX_FLAG_CHKSUM_AVAILABLE
Definition: host_rpu_data_if.h:76
@ NRF_WIFI_TX_FLAG_TWT_EMERGENCY_TX
Definition: host_rpu_data_if.h:75
#define NRF_WIFI_ETH_ADDR_LEN
Definition: host_rpu_sys_if.h:47
nrf_wifi_umac_data_commands
UMAC data interface commands and events.
Definition: host_rpu_data_if.h:30
@ NRF_WIFI_CMD_PM_MODE
Definition: host_rpu_data_if.h:51
@ NRF_WIFI_CMD_RX_BUFF
Definition: host_rpu_data_if.h:38
@ NRF_WIFI_CMD_MGMT_BUFF_CONFIG
Definition: host_rpu_data_if.h:32
@ NRF_WIFI_CMD_CARRIER_ON
Definition: host_rpu_data_if.h:42
@ NRF_WIFI_CMD_TX_BUFF_DONE
Definition: host_rpu_data_if.h:36
@ NRF_WIFI_CMD_CARRIER_OFF
Definition: host_rpu_data_if.h:46
@ NRF_WIFI_CMD_TX_BUFF
Definition: host_rpu_data_if.h:34
@ NRF_WIFI_CMD_PS_GET_FRAMES
Definition: host_rpu_data_if.h:55
struct nrf_wifi_umac_head umac_head
Definition: host_rpu_data_if.h:228
unsigned int wdev_id
Definition: host_rpu_data_if.h:230
This structure provides information about the carrier (interface) state.
Definition: host_rpu_data_if.h:226
unsigned char pkt_type
Definition: host_rpu_data_if.h:184
unsigned short rx_pkt_len
Definition: host_rpu_data_if.h:182
unsigned char timestamp_t3[6]
Definition: host_rpu_data_if.h:188
unsigned char timestamp_t2[6]
Definition: host_rpu_data_if.h:186
unsigned short descriptor_id
Definition: host_rpu_data_if.h:180
This structure provides information about the parameters in the RX data event.
Definition: host_rpu_data_if.h:178
struct nrf_wifi_umac_head umac_head
Definition: host_rpu_data_if.h:197
unsigned char wdev_id
Definition: host_rpu_data_if.h:207
unsigned char rate
Definition: host_rpu_data_if.h:205
struct nrf_wifi_rx_buff_info rx_buff_info[0]
Definition: host_rpu_data_if.h:219
unsigned char reserved
Definition: host_rpu_data_if.h:211
unsigned short frequency
Definition: host_rpu_data_if.h:215
signed short signal
Definition: host_rpu_data_if.h:217
signed short rx_pkt_type
Definition: host_rpu_data_if.h:199
unsigned char mac_header_len
Definition: host_rpu_data_if.h:213
unsigned char rate_flags
Definition: host_rpu_data_if.h:201
unsigned char rx_pkt_cnt
Definition: host_rpu_data_if.h:209
This structure represents RX data event(NRF_WIFI_CMD_RX_BUFF).
Definition: host_rpu_data_if.h:195
unsigned char sta_ps_state
Definition: host_rpu_data_if.h:252
unsigned char mac_addr[6]
Definition: host_rpu_data_if.h:254
unsigned int wdev_id
Definition: host_rpu_data_if.h:250
struct nrf_wifi_umac_head umac_head
Definition: host_rpu_data_if.h:248
This structure describes an event related to the power save state of the softap's client....
Definition: host_rpu_data_if.h:246
unsigned char mac_addr[6]
Definition: host_rpu_data_if.h:273
unsigned int wdev_id
Definition: host_rpu_data_if.h:271
struct nrf_wifi_umac_head umac_head
Definition: host_rpu_data_if.h:269
signed char num_frames
Definition: host_rpu_data_if.h:275
This structure represents an event that instructs the host to transmit a specific number of frames th...
Definition: host_rpu_data_if.h:267
struct nrf_wifi_umac_head umac_head
Definition: host_rpu_data_if.h:148
unsigned char tx_desc_num
Definition: host_rpu_data_if.h:150
unsigned char tx_status_code[0]
Definition: host_rpu_data_if.h:158
unsigned char timestamp_t1[6]
Definition: host_rpu_data_if.h:154
unsigned char num_tx_status_code
Definition: host_rpu_data_if.h:152
unsigned char timestamp_t4[6]
Definition: host_rpu_data_if.h:156
This structure represents the Tx done event(NRF_WIFI_CMD_TX_BUFF_DONE).
Definition: host_rpu_data_if.h:146
unsigned short pkt_length
Definition: host_rpu_data_if.h:109
unsigned int ddr_ptr
Definition: host_rpu_data_if.h:111
This structure provides the information of each packet in the tx command.
Definition: host_rpu_data_if.h:107
unsigned int pending_buf_size
Definition: host_rpu_data_if.h:132
struct nrf_wifi_umac_head umac_head
Definition: host_rpu_data_if.h:120
struct tx_mac_hdr_info mac_hdr_info
Definition: host_rpu_data_if.h:128
unsigned char wdev_id
Definition: host_rpu_data_if.h:122
struct nrf_wifi_tx_buff_info tx_buff_info[0]
Definition: host_rpu_data_if.h:136
unsigned char tx_desc_num
Definition: host_rpu_data_if.h:124
unsigned char num_tx_pkts
Definition: host_rpu_data_if.h:134
This structure provides the parameters for the tx command.
Definition: host_rpu_data_if.h:118
unsigned int len
Definition: host_rpu_data_if.h:66
unsigned int cmd
Definition: host_rpu_data_if.h:64
Data interface Command and Event header.
Definition: host_rpu_data_if.h:62
unsigned char src[6]
Definition: host_rpu_data_if.h:91
unsigned char eosp
Definition: host_rpu_data_if.h:99
unsigned int tx_flags
Definition: host_rpu_data_if.h:95
signed int umac_fill_flags
Definition: host_rpu_data_if.h:85
unsigned short fc
Definition: host_rpu_data_if.h:87
unsigned char dest[6]
Definition: host_rpu_data_if.h:89
unsigned short etype
Definition: host_rpu_data_if.h:93
unsigned char more_data
Definition: host_rpu_data_if.h:97
Tx mac80211 header information.
Definition: host_rpu_data_if.h:83