nRF WiFi
Loading...
Searching...
No Matches
host_rpu_common_if.h
Go to the documentation of this file.
1/*
2 *
3 *Copyright (c) 2024 Nordic Semiconductor ASA
4 *
5 *SPDX-License-Identifier: BSD-3-Clause
6 */
7
17#ifndef __NRF_WIFI_HOST_RPU_COMMON_IFACE_H__
18#define __NRF_WIFI_HOST_RPU_COMMON_IFACE_H__
19
20#include "common/rpu_if.h"
21#include "common/pack_def.h"
22
23#define NRF_WIFI_UMAC_VER(version) (((version)&0xFF000000) >> 24)
24#define NRF_WIFI_UMAC_VER_MAJ(version) (((version)&0x00FF0000) >> 16)
25#define NRF_WIFI_UMAC_VER_MIN(version) (((version)&0x0000FF00) >> 8)
26#define NRF_WIFI_UMAC_VER_EXTRA(version) (((version)&0x000000FF) >> 0)
27#define RPU_MEM_UMAC_BOOT_SIG 0xB0000000
28#define RPU_MEM_UMAC_VER 0xB0000004
29#define RPU_MEM_UMAC_PEND_Q_BMP 0xB0004FBC
30#define RPU_MEM_UMAC_CMD_ADDRESS 0xB00007A8
31#define RPU_MEM_UMAC_EVENT_ADDRESS 0xB0000E28
32#define RPU_MEM_UMAC_PATCH_BIN 0x8008C000
33#define RPU_MEM_UMAC_PATCH_BIMG 0x8009B800
34
35#define NRF_WIFI_UMAC_BOOT_SIG 0x5A5A5A5A
36#define NRF_WIFI_UMAC_ROM_PATCH_OFFSET (RPU_MEM_UMAC_PATCH_BIMG - RPU_ADDR_UMAC_CORE_RET_START)
37#define NRF_WIFI_UMAC_BOOT_EXCP_VECT_0 0x3c1a8000
38#define NRF_WIFI_UMAC_BOOT_EXCP_VECT_1 0x275a0000
39#define NRF_WIFI_UMAC_BOOT_EXCP_VECT_2 0x03400008
40#define NRF_WIFI_UMAC_BOOT_EXCP_VECT_3 0x00000000
41
67 signed int type;
69 signed char msg[0];
71
72#define NRF_WIFI_PENDING_FRAMES_BITMAP_AC_VO (1 << 0)
73#define NRF_WIFI_PENDING_FRAMES_BITMAP_AC_VI (1 << 1)
74#define NRF_WIFI_PENDING_FRAMES_BITMAP_AC_BE (1 << 2)
75#define NRF_WIFI_PENDING_FRAMES_BITMAP_AC_BK (1 << 3)
76
92
93
102 unsigned char mac_addr[6];
104 unsigned char pend_frames_bitmap;
106
113 unsigned int boot_status;
115 unsigned int version;
121 unsigned int info_part;
123 unsigned int info_variant;
125 unsigned int info_lromversion;
127 unsigned int info_uromversion;
129 unsigned int info_uuid[4];
131 unsigned int info_spare0;
133 unsigned int info_spare1;
135 unsigned int mac_address0[2];
137 unsigned int mac_address1[2];
139 unsigned int calib[9];
144#endif /* __NRF_WIFI_HOST_RPU_IFACE_H__ */
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:47
@ NRF_WIFI_HOST_RPU_MSG_TYPE_SYSTEM
Definition host_rpu_common_if.h:49
@ NRF_WIFI_HOST_RPU_MSG_TYPE_DATA
Definition host_rpu_common_if.h:53
@ NRF_WIFI_HOST_RPU_MSG_TYPE_SUPPLICANT
Definition host_rpu_common_if.h:51
@ NRF_WIFI_HOST_RPU_MSG_TYPE_UMAC
Definition host_rpu_common_if.h:55
struct host_rpu_msg __NRF_WIFI_PKD
struct sap_client_pend_frames_bitmap __NRF_WIFI_ALIGN_4
unsigned char mac_addr[6]
Definition host_rpu_data_if.h:7
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:374
Common header included in each command/event. This structure encapsulates the common information incl...
Definition rpu_if.h:394
struct host_rpu_msg_hdr hdr
Definition host_rpu_common_if.h:65
signed int type
Definition host_rpu_common_if.h:67
signed char msg[0]
Definition host_rpu_common_if.h:69
This structure defines the common message header used to encapsulate each message exchanged between t...
Definition host_rpu_common_if.h:63
unsigned int info_part
Definition host_rpu_common_if.h:121
unsigned int info_uromversion
Definition host_rpu_common_if.h:127
unsigned int info_spare0
Definition host_rpu_common_if.h:131
unsigned int mac_address0[2]
Definition host_rpu_common_if.h:135
unsigned int info_spare1
Definition host_rpu_common_if.h:133
unsigned int boot_status
Definition host_rpu_common_if.h:113
unsigned int info_uuid[4]
Definition host_rpu_common_if.h:129
unsigned int version
Definition host_rpu_common_if.h:115
struct sap_pend_frames_bitmap sap_bitmap[4]
Definition host_rpu_common_if.h:117
unsigned int calib[9]
Definition host_rpu_common_if.h:139
struct host_rpu_hpqm_info hpqm_info
Definition host_rpu_common_if.h:119
unsigned int mac_address1[2]
Definition host_rpu_common_if.h:137
unsigned int info_lromversion
Definition host_rpu_common_if.h:125
unsigned int info_variant
Definition host_rpu_common_if.h:123
This structure represents the information related to UMAC.
Definition host_rpu_common_if.h:111
unsigned char reserved[2]
Definition host_rpu_common_if.h:86
unsigned char pend_frames_bitmap
Definition host_rpu_common_if.h:88
unsigned char mac_addr[6] __NRF_WIFI_ALIGN_4
Definition host_rpu_common_if.h:84
unsigned char reserved1[3]
Definition host_rpu_common_if.h:90
This new structure represents the bitmap of STA (Station) pending frames in SoftAP power save mode.
Definition host_rpu_common_if.h:82
unsigned char pend_frames_bitmap
Definition host_rpu_common_if.h:104
unsigned char mac_addr[6]
Definition host_rpu_common_if.h:102
This structure represents the bitmap of STA (Station) pending frames in SoftAP power save mode.
Definition host_rpu_common_if.h:100