nrfxlib API 0.1.0
Loading...
Searching...
No Matches
patch_info.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
13#ifndef _PATCH_INFO_H
14#define _PATCH_INFO_H
15
16#include "pack_def.h"
17
18#ifndef BIT
19#define BIT(x) (1 << (x))
20#endif /* BIT */
21
22#define NRF_WIFI_PATCH_SIGNATURE 0xDEAD1EAF
23/* SHA256 hash length */
24#define NRF_WIFI_PATCH_HASH_LEN 32
25/* 2 - LMAC and 2 - UMAC */
26#define NRF_WIFI_PATCH_NUM_IMAGES (2 + 2)
27
33};
34
40};
41
43 unsigned int type;
44 unsigned int len;
45 /* Data follows */
46 unsigned char data[];
47} __NRF_WIFI_PKD;
48
50 unsigned int signature;
51 unsigned int num_images;
52 unsigned int version;
53 unsigned int feature_flags;
54 unsigned int len;
55 /* Protects against image corruption */
57 unsigned char data[];
58} __NRF_WIFI_PKD;
59
60
61#define RPU_FAMILY (1)
62#define RPU_MAJOR_VERSION (2)
63#define RPU_MINOR_VERSION (11)
64#define RPU_PATCH_VERSION (3)
65
69#endif /* _PATCH_INFO_H */
nrf70_image_ids
Definition: patch_info.h:35
@ NRF70_IMAGE_UMAC_PRI
Definition: patch_info.h:36
@ NRF70_IMAGE_UMAC_SEC
Definition: patch_info.h:37
@ NRF70_IMAGE_LMAC_PRI
Definition: patch_info.h:38
@ NRF70_IMAGE_LMAC_SEC
Definition: patch_info.h:39
#define NRF_WIFI_PATCH_HASH_LEN
Definition: patch_info.h:24
#define BIT(x)
Definition: patch_info.h:19
nrf70_feature_flags
Definition: patch_info.h:28
@ NRF70_FEAT_RADIO_TEST
Definition: patch_info.h:30
@ NRF70_FEAT_SCAN_ONLY
Definition: patch_info.h:31
@ NRF70_FEAT_SYSTEM_MODE
Definition: patch_info.h:29
@ NRF70_FEAT_SYSTEM_WITH_RAW_MODES
Definition: patch_info.h:32
unsigned int feature_flags
Definition: patch_info.h:53
unsigned int num_images
Definition: patch_info.h:51
unsigned int version
Definition: patch_info.h:52
unsigned char hash[32]
Definition: patch_info.h:56
unsigned int len
Definition: patch_info.h:54
unsigned int signature
Definition: patch_info.h:50
unsigned char data[]
Definition: patch_info.h:57
Definition: patch_info.h:49
unsigned int len
Definition: patch_info.h:44
unsigned int type
Definition: patch_info.h:43
unsigned char data[]
Definition: patch_info.h:46
Definition: patch_info.h:42