nRF WiFi
Toggle main menu visibility
Loading...
Searching...
No Matches
fmac_rx.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
11
12
#ifndef __FMAC_RX_H__
13
#define __FMAC_RX_H__
14
15
#include "
host_rpu_data_if.h
"
16
#include "
system/fmac_structs.h
"
17
#define RX_BUF_HEADROOM 4
18
19
enum
nrf_wifi_fmac_rx_cmd_type
{
20
NRF_WIFI_FMAC_RX_CMD_TYPE_INIT
,
21
NRF_WIFI_FMAC_RX_CMD_TYPE_DEINIT
,
22
NRF_WIFI_FMAC_RX_CMD_TYPE_MAX
,
23
};
24
25
26
struct
nrf_wifi_fmac_rx_pool_map_info
{
27
unsigned
int
pool_id
;
28
unsigned
int
buf_id
;
29
};
30
31
32
enum
nrf_wifi_status
nrf_wifi_fmac_rx_cmd_send
(
struct
nrf_wifi_fmac_dev_ctx
*fmac_dev_ctx,
33
enum
nrf_wifi_fmac_rx_cmd_type
cmd_type,
34
unsigned
int
desc_id);
35
36
enum
nrf_wifi_status
nrf_wifi_fmac_rx_event_process
(
struct
nrf_wifi_fmac_dev_ctx
*fmac_dev_ctx,
37
struct
nrf_wifi_rx_buff
*config);
38
39
void
nrf_wifi_fmac_rx_tasklet
(
void
*data);
40
41
#ifdef NRF_WIFI_RX_BUFF_PROG_UMAC
42
unsigned
long
nrf_wifi_fmac_get_rx_buf_map_addr(
struct
nrf_wifi_fmac_dev_ctx
*fmac_dev_ctx,
43
unsigned
int
desc_id);
44
#endif
/* NRF_WIFI_RX_BUFF_PROG_UMAC */
45
46
#endif
/* __FMAC_RX_H__ */
nrf_wifi_fmac_rx_event_process
enum nrf_wifi_status nrf_wifi_fmac_rx_event_process(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, struct nrf_wifi_rx_buff *config)
nrf_wifi_fmac_rx_cmd_send
enum nrf_wifi_status nrf_wifi_fmac_rx_cmd_send(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx, enum nrf_wifi_fmac_rx_cmd_type cmd_type, unsigned int desc_id)
nrf_wifi_fmac_rx_tasklet
void nrf_wifi_fmac_rx_tasklet(void *data)
nrf_wifi_fmac_rx_cmd_type
nrf_wifi_fmac_rx_cmd_type
Definition
fmac_rx.h:19
NRF_WIFI_FMAC_RX_CMD_TYPE_INIT
@ NRF_WIFI_FMAC_RX_CMD_TYPE_INIT
Definition
fmac_rx.h:20
NRF_WIFI_FMAC_RX_CMD_TYPE_MAX
@ NRF_WIFI_FMAC_RX_CMD_TYPE_MAX
Definition
fmac_rx.h:22
NRF_WIFI_FMAC_RX_CMD_TYPE_DEINIT
@ NRF_WIFI_FMAC_RX_CMD_TYPE_DEINIT
Definition
fmac_rx.h:21
host_rpu_data_if.h
nrf_wifi_status
nrf_wifi_status
The status of an operation performed by the RPU driver.
Definition
osal_structs.h:39
nrf_wifi_fmac_dev_ctx
Structure to hold common fmac dev context parameter data.
Definition
fmac_structs_common.h:153
nrf_wifi_fmac_rx_pool_map_info::buf_id
unsigned int buf_id
Definition
fmac_rx.h:28
nrf_wifi_fmac_rx_pool_map_info::pool_id
unsigned int pool_id
Definition
fmac_rx.h:27
nrf_wifi_fmac_rx_pool_map_info
Definition
fmac_rx.h:26
nrf_wifi_rx_buff
This structure represents RX data event(NRF_WIFI_CMD_RX_BUFF).
Definition
host_rpu_data_if.h:195
fmac_structs.h
fw_if
umac_if
inc
system
fmac_rx.h
Generated on
for nRF WiFi by
1.17.0