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

◆ nrf_wifi_sys_fmac_set_power_save()

enum nrf_wifi_status nrf_wifi_sys_fmac_set_power_save ( void * fmac_dev_ctx,
unsigned char if_idx,
bool state )

Configure WLAN power management.

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.
stateEnable/Disable of WLAN power management.

This function is used to send a command to:

  • The RPU firmware to Enable/Disable WLAN Power management.
Return values
NRF_WIFI_STATUS_SUCCESSOn success
NRF_WIFI_STATUS_FAILOn failure to execute command