17#ifndef __NRF_WIFI_HOST_RPU_COMMON_IFACE_H__
18#define __NRF_WIFI_HOST_RPU_COMMON_IFACE_H__
24#define NRF_WIFI_UMAC_VER(version) (((version)&0xFF000000) >> 24)
25#define NRF_WIFI_UMAC_VER_MAJ(version) (((version)&0x00FF0000) >> 16)
26#define NRF_WIFI_UMAC_VER_MIN(version) (((version)&0x0000FF00) >> 8)
27#define NRF_WIFI_UMAC_VER_EXTRA(version) (((version)&0x000000FF) >> 0)
28#define RPU_MEM_UMAC_BOOT_SIG 0xB0000000
29#define RPU_MEM_UMAC_VER 0xB0000004
30#define RPU_MEM_UMAC_PEND_Q_BMP 0xB0004FBC
31#define RPU_MEM_UMAC_CMD_ADDRESS 0xB00007A8
32#define RPU_MEM_UMAC_EVENT_ADDRESS 0xB0000E28
33#define RPU_MEM_UMAC_PATCH_BIN 0x8008C000
34#define RPU_MEM_UMAC_PATCH_BIMG 0x80099400
36#define NRF_WIFI_UMAC_BOOT_SIG 0x5A5A5A5A
37#define NRF_WIFI_UMAC_ROM_PATCH_OFFSET (RPU_MEM_UMAC_PATCH_BIMG - RPU_ADDR_UMAC_CORE_RET_START)
38#define NRF_WIFI_UMAC_BOOT_EXCP_VECT_0 0x3c1a8000
39#define NRF_WIFI_UMAC_BOOT_EXCP_VECT_1 0x275a0000
40#define NRF_WIFI_UMAC_BOOT_EXCP_VECT_2 0x03400008
41#define NRF_WIFI_UMAC_BOOT_EXCP_VECT_3 0x00000000
73#define NRF_WIFI_PENDING_FRAMES_BITMAP_AC_VO (1 << 0)
74#define NRF_WIFI_PENDING_FRAMES_BITMAP_AC_VI (1 << 1)
75#define NRF_WIFI_PENDING_FRAMES_BITMAP_AC_BE (1 << 2)
76#define NRF_WIFI_PENDING_FRAMES_BITMAP_AC_BK (1 << 3)
85 unsigned char mac_addr[6] __NRF_WIFI_ALIGN_4;
92} __NRF_WIFI_PKD __NRF_WIFI_ALIGN_4;
nrf_wifi_host_rpu_msg_type
This enum defines the different categories of messages that can be exchanged between the Host and the...
Definition: host_rpu_common_if.h:48
@ NRF_WIFI_HOST_RPU_MSG_TYPE_SYSTEM
Definition: host_rpu_common_if.h:50
@ NRF_WIFI_HOST_RPU_MSG_TYPE_DATA
Definition: host_rpu_common_if.h:54
@ NRF_WIFI_HOST_RPU_MSG_TYPE_SUPPLICANT
Definition: host_rpu_common_if.h:52
@ NRF_WIFI_HOST_RPU_MSG_TYPE_UMAC
Definition: host_rpu_common_if.h:56
Common structures and definitions for RPU interface.
Information about Hostport Queues (HPQ) to be used for exchanging information between the Host and RP...
Definition: rpu_if.h:409
Common header included in each command/event. This structure encapsulates the common information incl...
Definition: rpu_if.h:430
struct host_rpu_msg_hdr hdr
Definition: host_rpu_common_if.h:66
signed int type
Definition: host_rpu_common_if.h:68
signed char msg[0]
Definition: host_rpu_common_if.h:70
This structure defines the common message header used to encapsulate each message exchanged between t...
Definition: host_rpu_common_if.h:64
unsigned int info_part
Definition: host_rpu_common_if.h:122
unsigned int info_uromversion
Definition: host_rpu_common_if.h:128
unsigned int info_spare0
Definition: host_rpu_common_if.h:132
unsigned int mac_address0[2]
Definition: host_rpu_common_if.h:136
unsigned int info_spare1
Definition: host_rpu_common_if.h:134
unsigned int boot_status
Definition: host_rpu_common_if.h:114
unsigned int info_uuid[4]
Definition: host_rpu_common_if.h:130
unsigned int version
Definition: host_rpu_common_if.h:116
struct sap_pend_frames_bitmap sap_bitmap[4]
Definition: host_rpu_common_if.h:118
unsigned int calib[9]
Definition: host_rpu_common_if.h:140
struct host_rpu_hpqm_info hpqm_info
Definition: host_rpu_common_if.h:120
unsigned int mac_address1[2]
Definition: host_rpu_common_if.h:138
unsigned int info_lromversion
Definition: host_rpu_common_if.h:126
unsigned int info_variant
Definition: host_rpu_common_if.h:124
This structure represents the information related to UMAC.
Definition: host_rpu_common_if.h:112
unsigned char reserved[2]
Definition: host_rpu_common_if.h:87
unsigned char pend_frames_bitmap
Definition: host_rpu_common_if.h:89
unsigned char reserved1[3]
Definition: host_rpu_common_if.h:91
This new structure represents the bitmap of STA (Station) pending frames in SoftAP power save mode.
Definition: host_rpu_common_if.h:83
unsigned char pend_frames_bitmap
Definition: host_rpu_common_if.h:105
unsigned char mac_addr[6]
Definition: host_rpu_common_if.h:103
This structure represents the bitmap of STA (Station) pending frames in SoftAP power save mode.
Definition: host_rpu_common_if.h:101