TWT request structure to auto select a session.
Public Attributes#
TWT enable. 0 - TWT session teardown; 1 - TWT session setup.
The expected average Tx throughput in Kbps. The value configured should be between 0 and half of device average throughput.
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].
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.
Refers to the average Tx throughput that the device is capable of achieving.
The percentage by which wake duration is supposed to be overestimated to compensate for bss congestion. Valid input range is 0 - 50%.
The allowed deviation percentage of wake duration TWT response. Valid input range is 0 - 50%.
Default minimum wake interval. Recommended Range: 512 to 1024ms.
Default minimum wake interval. Recommended Range: 8 - 16ms.
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.
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.
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].
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.
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.
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%.
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%.
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.
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.
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.
264
of file components/protocol/wifi/inc/sl_wifi_types.h