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

◆ nrf_wifi_fmac_stats_get()

enum nrf_wifi_status nrf_wifi_fmac_stats_get ( struct nrf_wifi_fmac_dev_ctx fmac_dev_ctx,
enum rpu_op_mode  op_mode,
struct rpu_op_stats stats 
)

#include <nrf_wifi/fw_if/umac_if/inc/fmac_api_common.h>

Issue a request to get stats from the RPU.

Parameters
fmac_dev_ctxPointer to the UMAC IF context for a RPU WLAN device.
op_modeRPU operation mode.
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