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

◆ nrf_wifi_fmac_set_power_save_timeout()

enum nrf_wifi_status nrf_wifi_fmac_set_power_save_timeout ( void *  fmac_dev_ctx,
unsigned char  if_idx,
int  ps_timeout 
)

#include <nrf_wifi/fw_if/umac_if/inc/default/fmac_api.h>

Configure Power save timeout.

Parameters
fmac_dev_ctxPointer to the UMAC IF context for a RPU WLAN device.
if_idxIndex of the interface on which power management is to be set.
ps_timeoutPower save inactivity time.

This function is used to send a command (NRF_WIFI_UMAC_CMD_SET_POWER_SAVE_TIMEOUT) to:

  • The RPU firmware to set power save inactivity time.
Return values
NRF_WIFI_STATUS_SUCCESSOn success
NRF_WIFI_STATUS_FAILOn failure to execute command