1 /*
2  * Copyright (c) 2024 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /**
8  * @brief File containing internal structures for the offloaded raw TX feature in the driver.
9  */
10 
11 #include "fmac_structs_common.h"
12 #include "osal_api.h"
13 
14 struct nrf_wifi_ctx_zep {
15 	void *drv_priv_zep;
16 	void *rpu_ctx;
17 	uint8_t mac_addr[6];
18 };
19 
20 
21 struct nrf_wifi_off_raw_tx_drv_priv {
22 	struct nrf_wifi_fmac_priv *fmac_priv;
23 	/* TODO: Replace with a linked list to handle unlimited RPUs */
24 	struct nrf_wifi_ctx_zep rpu_ctx_zep;
25 	struct k_spinlock lock;
26 };
27 
28 enum nrf_wifi_status nrf_wifi_fw_load(void *rpu_ctx);
29