14#ifndef __HAL_API_SYS_H__
15#define __HAL_API_SYS_H__
53 unsigned int data_cmd_size,
55 unsigned int pool_id);
89 unsigned int data_len,
109 unsigned int buf_len,
110 unsigned int desc_id,
112 unsigned int buf_indx);
125 unsigned int desc_id);
127#ifdef NRF70_SR_COEX_SLEEP_CTRL_GPIO_CTRL
143 unsigned int alt_swctrl1_function_bt_coex_status1,
144 unsigned int invert_bt_coex_grant_output);
148#ifdef NRF_WIFI_RX_BUFF_PROG_UMAC
161 unsigned int pool_id,
162 unsigned int buf_id);
Header containing API declarations for the HAL Layer of the Wi-Fi driver.
Header containing memory read/write specific declarations for the HAL Layer of the Wi-Fi driver.
Header containing register read/write specific declarations for the HAL Layer of the Wi-Fi driver.
NRF_WIFI_HAL_MSG_TYPE
Enumeration of NRF Wi-Fi HAL message types.
Definition hal_structs_common.h:75
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:39
Common structures and definitions for RPU interface.
struct nrf_wifi_hal_priv * hpriv
Definition hal_structs_common.h:203
void * mac_dev_ctx
Definition hal_structs_common.h:205
Structure to hold per device context information for the HAL layer.
Definition hal_structs_common.h:201
Structure to hold context information for the HAL layer.
Definition hal_structs_common.h:169
enum nrf_wifi_status nrf_wifi_sys_hal_data_cmd_send(struct nrf_wifi_hal_dev_ctx *hal_ctx, enum NRF_WIFI_HAL_MSG_TYPE cmd_type, void *data_cmd, unsigned int data_cmd_size, unsigned int desc_id, unsigned int pool_id)
Send a data command to the RPU.
unsigned long nrf_wifi_sys_hal_buf_unmap_rx(struct nrf_wifi_hal_dev_ctx *hal_ctx, unsigned int data_len, unsigned int pool_id, unsigned int buf_id)
Unmap a receive buffer from the Wi-Fi HAL.
unsigned long nrf_wifi_sys_hal_buf_map_tx(struct nrf_wifi_hal_dev_ctx *hal_ctx, unsigned long buf, unsigned int buf_len, unsigned int desc_id, unsigned int token, unsigned int buf_indx)
Map a transmit buffer for the Wi-Fi HAL.
unsigned long nrf_wifi_sys_hal_buf_map_rx(struct nrf_wifi_hal_dev_ctx *hal_ctx, unsigned long buf, unsigned int buf_len, unsigned int pool_id, unsigned int buf_id)
Map a receive buffer for the Wi-Fi HAL.
void nrf_wifi_sys_hal_lock_rx(struct nrf_wifi_hal_dev_ctx *hal_dev_ctx)
struct nrf_wifi_hal_dev_ctx * nrf_wifi_sys_hal_dev_add(struct nrf_wifi_hal_priv *hpriv, void *mac_dev_ctx)
void nrf_wifi_sys_hal_unlock_rx(struct nrf_wifi_hal_dev_ctx *hal_dev_ctx)
unsigned long nrf_wifi_sys_hal_buf_unmap_tx(struct nrf_wifi_hal_dev_ctx *hal_ctx, unsigned int desc_id)
Unmap a transmit buffer from the Wi-Fi HAL.