nRF WiFi
Loading...
Searching...
No Matches

◆ nrf_wifi_sys_fmac_stats_get()

enum nrf_wifi_status nrf_wifi_sys_fmac_stats_get ( struct nrf_wifi_fmac_dev_ctx * fmac_dev_ctx,
enum rpu_stats_type stats_type,
struct rpu_sys_op_stats * stats )

Issue a request to get stats from the RPU.

Parameters
fmac_dev_ctxPointer to the UMAC IF context for a RPU WLAN device.
stats_typeType of statistics to retrieve.
statsPointer to memory where the stats are to be copied.

This function is used to send a command to instruct the firmware to return the current RPU statistics. The RPU will send the event with the current statistics.

Returns
Command execution status