![]() |
nRF WiFi
|
| 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.
| fmac_dev_ctx | Pointer to the UMAC IF context for a RPU WLAN device. |
| stats_type | Type of statistics to retrieve. |
| 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.