nRF WiFi
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
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
24
25
27 unsigned int pool_id;
28 unsigned int buf_id;
29};
30
31
33 enum nrf_wifi_fmac_rx_cmd_type cmd_type,
34 unsigned int desc_id);
35
37 struct nrf_wifi_rx_buff *config);
38
39void nrf_wifi_fmac_rx_tasklet(void *data);
40
41#ifdef NRF_WIFI_RX_BUFF_PROG_UMAC
42unsigned 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__ */
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)
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)
void nrf_wifi_fmac_rx_tasklet(void *data)
nrf_wifi_fmac_rx_cmd_type
Definition fmac_rx.h:19
@ NRF_WIFI_FMAC_RX_CMD_TYPE_INIT
Definition fmac_rx.h:20
@ NRF_WIFI_FMAC_RX_CMD_TYPE_MAX
Definition fmac_rx.h:22
@ NRF_WIFI_FMAC_RX_CMD_TYPE_DEINIT
Definition fmac_rx.h:21
nrf_wifi_status
The status of an operation performed by the RPU driver.
Definition osal_structs.h:39
Structure to hold common fmac dev context parameter data.
Definition fmac_structs_common.h:153
unsigned int buf_id
Definition fmac_rx.h:28
unsigned int pool_id
Definition fmac_rx.h:27
Definition fmac_rx.h:26
This structure represents RX data event(NRF_WIFI_CMD_RX_BUFF).
Definition host_rpu_data_if.h:195