nRF WiFi
Loading...
Searching...
No Matches
osal_structs.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
12#ifndef __OSAL_STRUCTS_H__
13#define __OSAL_STRUCTS_H__
14
15#ifdef __ZEPHYR__
16#include <stddef.h>
17#include <stdbool.h>
18#include <stdarg.h>
19#elif __KERNEL__
20/* For Linux, use kernel internal headers instead of C headers*/
21#include <linux/stddef.h>
22#include <linux/string.h>
23#include <linux/version.h>
24#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 14, 0)
25#undef strlen
26#include <linux/stdarg.h>
27#else
28#include <stdarg.h>
29#endif
30#else
31#include <stddef.h>
32#include <stdbool.h>
33#include <stdarg.h>
34#endif
35
45
57
79
85 unsigned long addr;
87 unsigned long size;
88};
89
95 const struct nrf_wifi_osal_ops *ops;
96};
97
115
116#endif /* __OSAL_STRUCTS_H__ */
nrf_wifi_tasklet_type
The type of a tasklet.
Definition osal_structs.h:61
@ NRF_WIFI_TASKLET_TYPE_IRQ
Definition osal_structs.h:69
@ NRF_WIFI_TASKLET_TYPE_TX_DONE
Definition osal_structs.h:73
@ NRF_WIFI_TASKLET_TYPE_RX
Definition osal_structs.h:75
@ NRF_WIFI_TASKLET_TYPE_MAX
Definition osal_structs.h:77
@ NRF_WIFI_TASKLET_TYPE_BH
Definition osal_structs.h:65
nrf_wifi_assert_op_type
The type of assertion operation to be performed.
Definition osal_structs.h:101
@ NRF_WIFI_ASSERT_LESS_THAN_EQUAL_TO
Definition osal_structs.h:109
@ NRF_WIFI_ASSERT_GREATER_THAN_EQUAL_TO
Definition osal_structs.h:113
@ NRF_WIFI_ASSERT_GREATER_THAN
Definition osal_structs.h:111
@ NRF_WIFI_ASSERT_NOT_EQUAL_TO
Definition osal_structs.h:105
@ NRF_WIFI_ASSERT_EQUAL_TO
Definition osal_structs.h:103
@ NRF_WIFI_ASSERT_LESS_THAN
Definition osal_structs.h:107
nrf_wifi_status
The status of an operation performed by the RPU driver.
Definition osal_structs.h:39
@ NRF_WIFI_STATUS_FAIL
Definition osal_structs.h:43
@ NRF_WIFI_STATUS_SUCCESS
Definition osal_structs.h:41
nrf_wifi_osal_dma_dir
DMA direction for a DMA operation.
Definition osal_structs.h:49
@ NRF_WIFI_OSAL_DMA_DIR_FROM_DEV
Definition osal_structs.h:53
@ NRF_WIFI_OSAL_DMA_DIR_TO_DEV
Definition osal_structs.h:51
@ NRF_WIFI_OSAL_DMA_DIR_BIDI
Definition osal_structs.h:55
unsigned long size
Definition osal_structs.h:87
unsigned long addr
Definition osal_structs.h:85
Structure representing a host map.
Definition osal_structs.h:83
File containing OPs declarations for the OSAL Layer of the Wi-Fi driver.
Definition osal_ops.h:27
const struct nrf_wifi_osal_ops * ops
Definition osal_structs.h:95
Structure representing the private data of the OSAL layer.
Definition osal_structs.h:93