TWT (Target Wake Time) auto-selection configuration.
Use this structure with sl_wifi_target_wake_time_auto_selection_v2. Only these four parameters are configurable; all other TWT parameters are set internally by the SDK.
Public Attributes#
TWT enable. 0 - TWT session teardown; 1 - TWT session setup.
Expected average Tx throughput in Kbps. Range: 0 to 10 Mbps (half of default device capability).
Allowed Tx latency in milliseconds. If 0, maximum Tx latency equals rx_latency. Valid range: 200 ms - 6 hrs.
Maximum latency in ms for receiving buffered packets from AP. If 0, default 2 s is used. Valid range: 2 s - 6 hrs. Recommended: 2 s - 60 s.
Public Attribute Documentation#
twt_enable#
uint8_t sl_wifi_twt_selection_v2_t::twt_enable
TWT enable. 0 - TWT session teardown; 1 - TWT session setup.
average_tx_throughput#
uint16_t sl_wifi_twt_selection_v2_t::average_tx_throughput
Expected average Tx throughput in Kbps. Range: 0 to 10 Mbps (half of default device capability).
tx_latency#
uint32_t sl_wifi_twt_selection_v2_t::tx_latency
Allowed Tx latency in milliseconds. If 0, maximum Tx latency equals rx_latency. Valid range: 200 ms - 6 hrs.
rx_latency#
uint32_t sl_wifi_twt_selection_v2_t::rx_latency
Maximum latency in ms for receiving buffered packets from AP. If 0, default 2 s is used. Valid range: 2 s - 6 hrs. Recommended: 2 s - 60 s.