TWT (Target Wake Time) request structure to configure a session.

Public Attributes#

uint8_t

Nominal minimum wake duration. Range : 0 - 255.

uint8_t

Tolerance allowed for wake duration in case of suggest TWT. Received TWT wake duration from AP will be validated against tolerance limits and decided if TWT config received is in acceptable range. Range : 0 - 255.

uint8_t

Wake interval exponent to the base 2. Range : 0 - 31.

uint8_t

Tolerance allowed for wake_int_exp in case of suggest TWT request. Received TWT wake interval exponent from AP will be validated against tolerance limits and decided if TWT config received is in acceptable range. Range : 0 - 31.

uint16_t

Wake interval mantissa. Range : 0 - 65535.

uint16_t

Tolerance allowed for wake_int_mantissa in case of suggest TWT. Received TWT wake interval mantissa from AP will be validated against tolerance limits and decided if TWT config received is in acceptable range. Range : 0 - 65535.

uint8_t

If enabled (1), the TWT requesting STA calculates the next TWT by adding a fixed value to the current TWT value. Explicit TWT is currently not allowed.

uint8_t

If enabled (1), the TWT requesting STA does not announce its wake up to AP through PS-POLLs or UAPSD Trigger frames. Values : 0 or 1.

uint8_t

If enabled(1), at least one trigger frame is included in the TWT Service Period(TSP). Values : 0 or 1.

uint8_t

Negotiation type : 0 - Individual TWT; 1 - Broadcast TWT.

uint8_t

Currently this configuration is not supported. Range : 0 - 7.

uint8_t

If enabled (1), TSP is protected. This is negotiable with AP. Currently this is not supported. Values : 0 or 1.

uint8_t

TWT session flow id. 0 - 7 valid. 0xFF to disable all active TWT sessions.

uint8_t

1 - Any Tx outside the TSP is restricted. 0 - TX can happen outside the TSP also.

uint8_t

TWT retry limit. Range : 0 - 15.

uint8_t

TWT retry interval in seconds between two twt requests. Range : 5 - 255.

uint8_t

TWT request type. 0 - Request TWT; 1 - Suggest TWT; 2 - Demand TWT.

uint8_t

TWT enable. 0 - TWT session teardown; 1 - TWT session setup.

uint8_t

Wake duration unit. 0 - 256 microseconds ; 1 - 1024 microseconds.

Public Attribute Documentation#

wake_duration#

uint8_t sl_wifi_twt_request_t::wake_duration

Nominal minimum wake duration. Range : 0 - 255.


Definition at line 418 of file components/protocol/wifi/inc/sl_wifi_types.h

wake_duration_tol#

uint8_t sl_wifi_twt_request_t::wake_duration_tol

Tolerance allowed for wake duration in case of suggest TWT. Received TWT wake duration from AP will be validated against tolerance limits and decided if TWT config received is in acceptable range. Range : 0 - 255.


Definition at line 420 of file components/protocol/wifi/inc/sl_wifi_types.h

wake_int_exp#

uint8_t sl_wifi_twt_request_t::wake_int_exp

Wake interval exponent to the base 2. Range : 0 - 31.


Definition at line 421 of file components/protocol/wifi/inc/sl_wifi_types.h

wake_int_exp_tol#

uint8_t sl_wifi_twt_request_t::wake_int_exp_tol

Tolerance allowed for wake_int_exp in case of suggest TWT request. Received TWT wake interval exponent from AP will be validated against tolerance limits and decided if TWT config received is in acceptable range. Range : 0 - 31.


Definition at line 423 of file components/protocol/wifi/inc/sl_wifi_types.h

wake_int_mantissa#

uint16_t sl_wifi_twt_request_t::wake_int_mantissa

Wake interval mantissa. Range : 0 - 65535.


Definition at line 424 of file components/protocol/wifi/inc/sl_wifi_types.h

wake_int_mantissa_tol#

uint16_t sl_wifi_twt_request_t::wake_int_mantissa_tol

Tolerance allowed for wake_int_mantissa in case of suggest TWT. Received TWT wake interval mantissa from AP will be validated against tolerance limits and decided if TWT config received is in acceptable range. Range : 0 - 65535.


Definition at line 426 of file components/protocol/wifi/inc/sl_wifi_types.h

implicit_twt#

uint8_t sl_wifi_twt_request_t::implicit_twt

If enabled (1), the TWT requesting STA calculates the next TWT by adding a fixed value to the current TWT value. Explicit TWT is currently not allowed.


Definition at line 428 of file components/protocol/wifi/inc/sl_wifi_types.h

un_announced_twt#

uint8_t sl_wifi_twt_request_t::un_announced_twt

If enabled (1), the TWT requesting STA does not announce its wake up to AP through PS-POLLs or UAPSD Trigger frames. Values : 0 or 1.


Definition at line 430 of file components/protocol/wifi/inc/sl_wifi_types.h

triggered_twt#

uint8_t sl_wifi_twt_request_t::triggered_twt

If enabled(1), at least one trigger frame is included in the TWT Service Period(TSP). Values : 0 or 1.


Definition at line 432 of file components/protocol/wifi/inc/sl_wifi_types.h

negotiation_type#

uint8_t sl_wifi_twt_request_t::negotiation_type

Negotiation type : 0 - Individual TWT; 1 - Broadcast TWT.


Definition at line 433 of file components/protocol/wifi/inc/sl_wifi_types.h

twt_channel#

uint8_t sl_wifi_twt_request_t::twt_channel

Currently this configuration is not supported. Range : 0 - 7.


Definition at line 434 of file components/protocol/wifi/inc/sl_wifi_types.h

twt_protection#

uint8_t sl_wifi_twt_request_t::twt_protection

If enabled (1), TSP is protected. This is negotiable with AP. Currently this is not supported. Values : 0 or 1.


Definition at line 436 of file components/protocol/wifi/inc/sl_wifi_types.h

twt_flow_id#

uint8_t sl_wifi_twt_request_t::twt_flow_id

TWT session flow id. 0 - 7 valid. 0xFF to disable all active TWT sessions.


Definition at line 437 of file components/protocol/wifi/inc/sl_wifi_types.h

restrict_tx_outside_tsp#

uint8_t sl_wifi_twt_request_t::restrict_tx_outside_tsp

1 - Any Tx outside the TSP is restricted. 0 - TX can happen outside the TSP also.


Definition at line 439 of file components/protocol/wifi/inc/sl_wifi_types.h

twt_retry_limit#

uint8_t sl_wifi_twt_request_t::twt_retry_limit

TWT retry limit. Range : 0 - 15.


Definition at line 440 of file components/protocol/wifi/inc/sl_wifi_types.h

twt_retry_interval#

uint8_t sl_wifi_twt_request_t::twt_retry_interval

TWT retry interval in seconds between two twt requests. Range : 5 - 255.


Definition at line 441 of file components/protocol/wifi/inc/sl_wifi_types.h

req_type#

uint8_t sl_wifi_twt_request_t::req_type

TWT request type. 0 - Request TWT; 1 - Suggest TWT; 2 - Demand TWT.


Definition at line 442 of file components/protocol/wifi/inc/sl_wifi_types.h

twt_enable#

uint8_t sl_wifi_twt_request_t::twt_enable

TWT enable. 0 - TWT session teardown; 1 - TWT session setup.


Definition at line 443 of file components/protocol/wifi/inc/sl_wifi_types.h

wake_duration_unit#

uint8_t sl_wifi_twt_request_t::wake_duration_unit

Wake duration unit. 0 - 256 microseconds ; 1 - 1024 microseconds.


Definition at line 444 of file components/protocol/wifi/inc/sl_wifi_types.h