nrfxlib API 0.1.0
|
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.
fmac_dev_ctx | Pointer to the UMAC IF context for a RPU WLAN device. |
if_idx | Index of the interface on which power management is to be set. |
ps_wakeup_mode | Enable listen interval based ps(default is DTIM based) |
This function is used to configure PS wakeup mode, PS wakeup mode can be configured to:
NRF_WIFI_STATUS_SUCCESS | On success |
NRF_WIFI_STATUS_FAIL | On failure to execute command |