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

◆ nrf_wifi_fmac_set_ps_wakeup_mode()

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

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

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