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

◆ nrf_wifi_fmac_req_extended_sleep()

enum nrf_wifi_status nrf_wifi_fmac_req_extended_sleep ( void * fmac_dev_ctx,
unsigned char if_idx,
unsigned int duration_sec )

Request an extended sleep interval for the nRF70.

Parameters
fmac_dev_ctxPointer to the UMAC IF context for a RPU WLAN device.
if_idxIndex of the interface on which the request is issued.
duration_secDuration of the extended sleep interval in seconds.

Requests that the RPU remain in deep sleep for duration_sec without waking for DTIM beacons. This allows lower power consumption at the cost of missed Wi-Fi traffic: no frames are received when device is in extended sleep.

This function sends NRF_WIFI_UMAC_CMD_CONFIG_QUIET_PERIOD to the RPU firmware.

Return values
NRF_WIFI_STATUS_SUCCESSOn success.
NRF_WIFI_STATUS_FAILOn failure to execute command.