nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_wifi_hal_data_cmd_send()

enum nrf_wifi_status nrf_wifi_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.

Parameters
hal_ctxPointer to HAL context.
cmd_typeType of the data command to send to the RPU.
data_cmdThe data command to be sent to the RPU.
data_cmd_sizeSize of the data command to be sent to the RPU.
desc_idDescriptor ID of the buffer being submitted to RPU.
pool_idPool ID to which the buffer being submitted to RPU belongs.

This function programs the relevant information about a data command, to the RPU. These buffers are needed by the RPU to receive data and management frames as well as to transmit data frames.

Returns
The status of the operation.