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

◆ nrf_wifi_sys_fmac_set_ps_wakeup_mode()

enum nrf_wifi_status nrf_wifi_sys_fmac_set_ps_wakeup_mode ( void * fmac_dev_ctx,
unsigned char if_idx,
bool ps_wakeup_mode )

Configure WLAN PS wakeup mode to DTIM interval or listen interval.

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_wakeup_modeEnable listen interval based ps(default is DTIM based)

This function is used to configure PS wakeup mode, PS wakeup mode can be configured to:

  • DTIM interval based PS mode
  • Listen interval based PS mode Default mode is set to DTIM interval based PS mode
Return values
NRF_WIFI_STATUS_SUCCESSOn success
NRF_WIFI_STATUS_FAILOn failure to execute command