TWT request structure to auto select a session.

Public Attributes#

uint8_t

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

uint16_t

The expected average Tx throughput in Kbps. The value configured should be between 0 and half of device average throughput.

uint32_t

The allowed latency, in milliseconds, within which the given Tx operation is expected to be completed. If 0 is configured, maximum allowed Tx latency is same as rx_latency. Otherwise, valid values are in the range of [200ms - 6hrs].

uint32_t

The maximum latency for receiving buffered packets from the AP. The device wakes up at least once for a TWT service period within the configured rx_latency if there are any pending packets from the AP. If set to 0, the default latency of 2 seconds is used. Valid range is between 2 seconds to 6 hours.

uint16_t

Refers to the average Tx throughput that the device is capable of achieving.

uint8_t

The percentage by which wake duration is supposed to be overestimated to compensate for bss congestion. Valid input range is 0 - 50%.

uint8_t

The allowed deviation percentage of wake duration TWT response. Valid input range is 0 - 50%.

uint32_t

Default minimum wake interval. Recommended Range: 512 to 1024ms.

uint32_t

Default minimum wake interval. Recommended Range: 8 - 16ms.

uint8_t

The number of beacons after the service period completion for which the module wakes up and listens for any pending RX.

Public Attribute Documentation#

twt_enable#

uint8_t sl_wifi_twt_selection_t::twt_enable

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


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

average_tx_throughput#

uint16_t sl_wifi_twt_selection_t::average_tx_throughput

The expected average Tx throughput in Kbps. The value configured should be between 0 and half of device average throughput.


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

tx_latency#

uint32_t sl_wifi_twt_selection_t::tx_latency

The allowed latency, in milliseconds, within which the given Tx operation is expected to be completed. If 0 is configured, maximum allowed Tx latency is same as rx_latency. Otherwise, valid values are in the range of [200ms - 6hrs].


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

rx_latency#

uint32_t sl_wifi_twt_selection_t::rx_latency

The maximum latency for receiving buffered packets from the AP. The device wakes up at least once for a TWT service period within the configured rx_latency if there are any pending packets from the AP. If set to 0, the default latency of 2 seconds is used. Valid range is between 2 seconds to 6 hours.


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

device_average_throughput#

uint16_t sl_wifi_twt_selection_t::device_average_throughput

Refers to the average Tx throughput that the device is capable of achieving.


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

estimated_extra_wake_duration_percent#

uint8_t sl_wifi_twt_selection_t::estimated_extra_wake_duration_percent

The percentage by which wake duration is supposed to be overestimated to compensate for bss congestion. Valid input range is 0 - 50%.


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

twt_tolerable_deviation#

uint8_t sl_wifi_twt_selection_t::twt_tolerable_deviation

The allowed deviation percentage of wake duration TWT response. Valid input range is 0 - 50%.


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

default_wake_interval_ms#

uint32_t sl_wifi_twt_selection_t::default_wake_interval_ms

Default minimum wake interval. Recommended Range: 512 to 1024ms.


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

default_minimum_wake_duration_ms#

uint32_t sl_wifi_twt_selection_t::default_minimum_wake_duration_ms

Default minimum wake interval. Recommended Range: 8 - 16ms.


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

beacon_wake_up_count_after_sp#

uint8_t sl_wifi_twt_selection_t::beacon_wake_up_count_after_sp

The number of beacons after the service period completion for which the module wakes up and listens for any pending RX.


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