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 validates against tolerance limits and decides if TWT config received is in acceptable range or not. 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 validates against tolerance limits and decides if TWT config received is in acceptable range or not. 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 validates against tolerance limits and decides if TWT config received is in acceptable range or not. Range : 0 - 65535.

uint8_t

If enabled (1), the TWT requests STA to calculate the next TWT by adding a fixed value to the current TWT value. Currently, explicit TWT is not allowed.

uint8_t

If enabled (1), the TWT requests STA to 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.


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 validates against tolerance limits and decides if TWT config received is in acceptable range or not. Range : 0 - 255.


wake_int_exp#

uint8_t sl_wifi_twt_request_t::wake_int_exp

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


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 validates against tolerance limits and decides if TWT config received is in acceptable range or not. Range : 0 - 31.


wake_int_mantissa#

uint16_t sl_wifi_twt_request_t::wake_int_mantissa

Wake interval mantissa. Range : 0 - 65535.


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 validates against tolerance limits and decides if TWT config received is in acceptable range or not. Range : 0 - 65535.


implicit_twt#

uint8_t sl_wifi_twt_request_t::implicit_twt

If enabled (1), the TWT requests STA to calculate the next TWT by adding a fixed value to the current TWT value. Currently, explicit TWT is not allowed.


un_announced_twt#

uint8_t sl_wifi_twt_request_t::un_announced_twt

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


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.


negotiation_type#

uint8_t sl_wifi_twt_request_t::negotiation_type

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


twt_channel#

uint8_t sl_wifi_twt_request_t::twt_channel

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


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.


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.


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.


twt_retry_limit#

uint8_t sl_wifi_twt_request_t::twt_retry_limit

TWT retry limit. Range : 0 - 15.


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.


req_type#

uint8_t sl_wifi_twt_request_t::req_type

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


twt_enable#

uint8_t sl_wifi_twt_request_t::twt_enable

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


wake_duration_unit#

uint8_t sl_wifi_twt_request_t::wake_duration_unit

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