nrfxlib API 0.1.0
Loading...
Searching...
No Matches
hal_fw_patch_loader.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
12#ifndef __HAL_FW_PATCH_LOADER_H__
13#define __HAL_FW_PATCH_LOADER_H__
14
15#include "hal_structs.h"
16
21};
22
23
24/* Loads a firmware patch chunk into RPU memory. */
26 enum RPU_PROC_TYPE rpu_proc,
27 unsigned int dest_addr,
28 const void *fw_chunk_data,
29 unsigned int fw_chunk_size);
30/*
31 * Downloads a firmware patch into RPU memory.
32 */
34 enum RPU_PROC_TYPE rpu_proc,
35 const void *fw_pri_patch_data,
36 unsigned int fw_pri_patch_size,
37 const void *fw_sec_patch_data,
38 unsigned int fw_sec_patch_size);
39
41 enum RPU_PROC_TYPE rpu_proc,
42 bool is_patch_present);
43#endif /* __HAL_FW_PATCH_LOADER_H__ */
enum nrf_wifi_status hal_fw_patch_chunk_load(struct nrf_wifi_hal_dev_ctx *hal_dev_ctx, enum RPU_PROC_TYPE rpu_proc, unsigned int dest_addr, const void *fw_chunk_data, unsigned int fw_chunk_size)
enum nrf_wifi_status nrf_wifi_hal_fw_patch_boot(struct nrf_wifi_hal_dev_ctx *hal_dev_ctx, enum RPU_PROC_TYPE rpu_proc, bool is_patch_present)
enum nrf_wifi_status nrf_wifi_hal_fw_patch_load(struct nrf_wifi_hal_dev_ctx *hal_dev_ctx, enum RPU_PROC_TYPE rpu_proc, const void *fw_pri_patch_data, unsigned int fw_pri_patch_size, const void *fw_sec_patch_data, unsigned int fw_sec_patch_size)
nrf_wifi_fw_patch_type
Header containing patch loader specific declarations for the HAL Layer of the Wi-Fi driver.
Definition: hal_fw_patch_loader.h:17
@ NRF_WIFI_FW_PATCH_TYPE_MAX
Definition: hal_fw_patch_loader.h:20
@ NRF_WIFI_FW_PATCH_TYPE_SEC
Definition: hal_fw_patch_loader.h:19
@ NRF_WIFI_FW_PATCH_TYPE_PRI
Definition: hal_fw_patch_loader.h:18
RPU_PROC_TYPE
Enumeration of RPU processor types.
Definition: hal_structs.h:32
Header containing structure declarations for the HAL Layer of the Wi-Fi driver.
nrf_wifi_status
The status of an operation performed by the RPU driver.
Definition: osal_structs.h:29
Structure to hold per device context information for the HAL layer.
Definition: hal_structs.h:201