nRF WiFi
Loading...
Searching...
No Matches
hal_api.h File Reference

Header containing API declarations for the HAL Layer of the Wi-Fi driver in the system mode of operation. More...

#include "osal_api.h"
#include "common/rpu_if.h"
#include "bal_api.h"
#include "common/hal_structs_common.h"
#include "common/hal_mem.h"
#include "common/hal_reg.h"
#include "common/hal_fw_patch_loader.h"
#include "common/hal_api_common.h"

Go to the source code of this file.

Functions

struct nrf_wifi_hal_dev_ctxnrf_wifi_sys_hal_dev_add (struct nrf_wifi_hal_priv *hpriv, void *mac_dev_ctx)
 
void nrf_wifi_sys_hal_lock_rx (struct nrf_wifi_hal_dev_ctx *hal_dev_ctx)
 
void nrf_wifi_sys_hal_unlock_rx (struct nrf_wifi_hal_dev_ctx *hal_dev_ctx)
 
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_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.
 
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_unmap_tx (struct nrf_wifi_hal_dev_ctx *hal_ctx, unsigned int desc_id)
 Unmap a transmit buffer from the Wi-Fi HAL.
 

Detailed Description

Header containing API declarations for the HAL Layer of the Wi-Fi driver in the system mode of operation.