nrfxlib API 0.1.0
|
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.
fmac_dev_ctx | Pointer to the UMAC IF context for a RPU WLAN device. |
op_mode | RPU operation mode. |
stats | Pointer 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.