![]() |
nRF WiFi
|
| 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.
| fmac_dev_ctx | Pointer to the UMAC IF context for a RPU WLAN device. |
| if_idx | Index of the interface on which the request is issued. |
| duration_sec | Duration 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.
| NRF_WIFI_STATUS_SUCCESS | On success. |
| NRF_WIFI_STATUS_FAIL | On failure to execute command. |