Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
wifi_ps_params Struct Reference

Wi-Fi power save parameters. More...

#include <wifi_mgmt.h>

Data Fields

enum wifi_ps enabled
 Power save state.
 
unsigned short listen_interval
 Listen interval.
 
enum wifi_ps_wakeup_mode wakeup_mode
 Wi-Fi power save wakeup mode.
 
enum wifi_ps_mode mode
 Wi-Fi power save mode.
 
unsigned int timeout_ms
 Wi-Fi power save timeout.
 
enum wifi_ps_param_type type
 Wi-Fi power save type.
 
enum wifi_config_ps_param_fail_reason fail_reason
 Wi-Fi power save fail reason.
 
enum wifi_ps_exit_strategy exit_strategy
 Wi-Fi power save exit strategy.
 

Detailed Description

Wi-Fi power save parameters.

Field Documentation

◆ enabled

enum wifi_ps wifi_ps_params::enabled

Power save state.

◆ exit_strategy

enum wifi_ps_exit_strategy wifi_ps_params::exit_strategy

Wi-Fi power save exit strategy.

◆ fail_reason

enum wifi_config_ps_param_fail_reason wifi_ps_params::fail_reason

Wi-Fi power save fail reason.

◆ listen_interval

unsigned short wifi_ps_params::listen_interval

Listen interval.

◆ mode

enum wifi_ps_mode wifi_ps_params::mode

Wi-Fi power save mode.

◆ timeout_ms

unsigned int wifi_ps_params::timeout_ms

Wi-Fi power save timeout.

This is the time out to wait after sending a TX packet before going back to power save (in ms) to receive any replies from the AP. Zero means this feature is disabled.

It's a tradeoff between power consumption and latency.

◆ type

enum wifi_ps_param_type wifi_ps_params::type

Wi-Fi power save type.

◆ wakeup_mode

enum wifi_ps_wakeup_mode wifi_ps_params::wakeup_mode

Wi-Fi power save wakeup mode.


The documentation for this struct was generated from the following file: