Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
wifi_twt_params Struct Reference

Wi-Fi TWT parameters. More...

#include <wifi_mgmt.h>

Data Fields

enum wifi_twt_operation operation
 TWT operation, see enum wifi_twt_operation.
 
enum wifi_twt_negotiation_type negotiation_type
 TWT negotiation type, see enum wifi_twt_negotiation_type.
 
enum wifi_twt_setup_cmd setup_cmd
 TWT setup command, see enum wifi_twt_setup_cmd.
 
enum wifi_twt_setup_resp_status resp_status
 TWT setup response status, see enum wifi_twt_setup_resp_status.
 
enum wifi_twt_teardown_status teardown_status
 TWT teardown cmd status, see enum wifi_twt_teardown_status.
 
uint8_t dialog_token
 Dialog token, used to map requests to responses.
 
uint8_t flow_id
 Flow ID, used to map setup with teardown.
 
union {
   struct {
      uint64_t   twt_interval
 Interval = Wake up time + Sleeping time. More...
 
      bool   responder
 Requestor or responder. More...
 
      bool   trigger
 Trigger enabled or disabled. More...
 
      bool   implicit
 Implicit or explicit. More...
 
      bool   announce
 Announced or unannounced. More...
 
      uint32_t   twt_wake_interval
 Wake up time. More...
 
      uint32_t   twt_wake_ahead_duration
 Wake ahead notification is sent earlier than TWT Service period (SP) start based on this duration. More...
 
   }   setup
 Setup specific parameters. More...
 
   struct {
      bool   teardown_all
 Teardown all flows. More...
 
   }   teardown
 Teardown specific parameters. More...
 
}; 
 
enum wifi_twt_fail_reason fail_reason
 TWT fail reason, see enum wifi_twt_fail_reason.
 

Detailed Description

Wi-Fi TWT parameters.

Field Documentation

◆ 

union { ... } wifi_twt_params::@363

◆ announce

bool wifi_twt_params::announce

Announced or unannounced.

◆ dialog_token

uint8_t wifi_twt_params::dialog_token

Dialog token, used to map requests to responses.

◆ fail_reason

enum wifi_twt_fail_reason wifi_twt_params::fail_reason

TWT fail reason, see enum wifi_twt_fail_reason.

◆ flow_id

uint8_t wifi_twt_params::flow_id

Flow ID, used to map setup with teardown.

◆ implicit

bool wifi_twt_params::implicit

Implicit or explicit.

◆ negotiation_type

enum wifi_twt_negotiation_type wifi_twt_params::negotiation_type

TWT negotiation type, see enum wifi_twt_negotiation_type.

◆ operation

enum wifi_twt_operation wifi_twt_params::operation

TWT operation, see enum wifi_twt_operation.

◆ resp_status

enum wifi_twt_setup_resp_status wifi_twt_params::resp_status

TWT setup response status, see enum wifi_twt_setup_resp_status.

◆ responder

bool wifi_twt_params::responder

Requestor or responder.

◆ 

struct { ... } wifi_twt_params::setup

Setup specific parameters.

◆ setup_cmd

enum wifi_twt_setup_cmd wifi_twt_params::setup_cmd

TWT setup command, see enum wifi_twt_setup_cmd.

◆ 

struct { ... } wifi_twt_params::teardown

Teardown specific parameters.

◆ teardown_all

bool wifi_twt_params::teardown_all

Teardown all flows.

◆ teardown_status

enum wifi_twt_teardown_status wifi_twt_params::teardown_status

TWT teardown cmd status, see enum wifi_twt_teardown_status.

◆ trigger

bool wifi_twt_params::trigger

Trigger enabled or disabled.

◆ twt_interval

uint64_t wifi_twt_params::twt_interval

Interval = Wake up time + Sleeping time.

◆ twt_wake_ahead_duration

uint32_t wifi_twt_params::twt_wake_ahead_duration

Wake ahead notification is sent earlier than TWT Service period (SP) start based on this duration.

This should give applications ample time to prepare the data before TWT SP starts.

◆ twt_wake_interval

uint32_t wifi_twt_params::twt_wake_interval

Wake up time.


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