|
Zephyr Project API 4.2.99
A Scalable Open Source RTOS
|
Wi-Fi TWT parameters. More...
#include <wifi_mgmt.h>
Data Fields | ||
| enum wifi_twt_operation | operation | |
| TWT operation, see enum wifi_twt_operation. | ||
| enum wifi_twt_negotiation_type | negotiation_type | |
| TWT negotiation type, see enum wifi_twt_negotiation_type. | ||
| enum wifi_twt_setup_cmd | setup_cmd | |
| TWT setup command, see enum wifi_twt_setup_cmd. | ||
| enum wifi_twt_setup_resp_status | resp_status | |
| TWT setup response status, see enum wifi_twt_setup_resp_status. | ||
| enum wifi_twt_teardown_status | teardown_status | |
| TWT teardown cmd status, see enum wifi_twt_teardown_status. | ||
| uint8_t | dialog_token | |
| Dialog token, used to map requests to responses. | ||
| uint8_t | flow_id | |
| Flow ID, used to map setup with teardown. | ||
| union { | ||
| struct { | ||
| uint64_t twt_interval | ||
| Interval = Wake up time + Sleeping time. More... | ||
| bool responder | ||
| Requestor or responder. More... | ||
| bool trigger | ||
| Trigger enabled or disabled. More... | ||
| bool implicit | ||
| Implicit or explicit. More... | ||
| bool announce | ||
| Announced or unannounced. More... | ||
| uint32_t twt_wake_interval | ||
| Wake up time. More... | ||
| uint32_t twt_wake_ahead_duration | ||
| Wake ahead notification is sent earlier than TWT Service period (SP) start based on this duration. More... | ||
| bool twt_info_disable | ||
| TWT info enabled or disable. More... | ||
| uint8_t twt_exponent | ||
| TWT exponent. More... | ||
| uint16_t twt_mantissa | ||
| TWT Mantissa Range: [0-sizeof(UINT16)]. More... | ||
| } setup | ||
| Setup specific parameters. More... | ||
| struct { | ||
| uint8_t btwt_sta_wait | ||
| Broadcast TWT station wait time. More... | ||
| uint16_t btwt_offset | ||
| Broadcast TWT offset. More... | ||
| uint8_t btwt_li | ||
| In multiple of 4 beacon interval. More... | ||
| uint8_t btwt_count | ||
| Broadcast TWT agreement count. More... | ||
| struct wifi_btwt_params btwt_set_cfg [5] | ||
| Broadcast TWT agreement sets. More... | ||
| } btwt | ||
| Setup specific parameters. More... | ||
| struct { | ||
| bool teardown_all | ||
| Teardown all flows. More... | ||
| } teardown | ||
| Teardown specific parameters. More... | ||
| }; | ||
| enum wifi_twt_fail_reason | fail_reason | |
| TWT fail reason, see enum wifi_twt_fail_reason. | ||
Wi-Fi TWT parameters.
| union { ... } wifi_twt_params |
| bool wifi_twt_params::announce |
Announced or unannounced.
| struct { ... } wifi_twt_params::btwt |
Setup specific parameters.
| uint8_t wifi_twt_params::btwt_count |
Broadcast TWT agreement count.
| uint8_t wifi_twt_params::btwt_li |
In multiple of 4 beacon interval.
| uint16_t wifi_twt_params::btwt_offset |
Broadcast TWT offset.
| struct wifi_btwt_params wifi_twt_params::btwt_set_cfg[5] |
Broadcast TWT agreement sets.
| uint8_t wifi_twt_params::btwt_sta_wait |
Broadcast TWT station wait time.
| uint8_t wifi_twt_params::dialog_token |
Dialog token, used to map requests to responses.
| enum wifi_twt_fail_reason wifi_twt_params::fail_reason |
TWT fail reason, see enum wifi_twt_fail_reason.
| uint8_t wifi_twt_params::flow_id |
Flow ID, used to map setup with teardown.
| bool wifi_twt_params::implicit |
Implicit or explicit.
| enum wifi_twt_negotiation_type wifi_twt_params::negotiation_type |
TWT negotiation type, see enum wifi_twt_negotiation_type.
| enum wifi_twt_operation wifi_twt_params::operation |
TWT operation, see enum wifi_twt_operation.
| enum wifi_twt_setup_resp_status wifi_twt_params::resp_status |
TWT setup response status, see enum wifi_twt_setup_resp_status.
| bool wifi_twt_params::responder |
Requestor or responder.
| struct { ... } wifi_twt_params::setup |
Setup specific parameters.
| enum wifi_twt_setup_cmd wifi_twt_params::setup_cmd |
TWT setup command, see enum wifi_twt_setup_cmd.
| struct { ... } wifi_twt_params::teardown |
Teardown specific parameters.
| bool wifi_twt_params::teardown_all |
Teardown all flows.
| enum wifi_twt_teardown_status wifi_twt_params::teardown_status |
TWT teardown cmd status, see enum wifi_twt_teardown_status.
| bool wifi_twt_params::trigger |
Trigger enabled or disabled.
| uint8_t wifi_twt_params::twt_exponent |
TWT exponent.
| bool wifi_twt_params::twt_info_disable |
TWT info enabled or disable.
| uint64_t wifi_twt_params::twt_interval |
Interval = Wake up time + Sleeping time.
| uint16_t wifi_twt_params::twt_mantissa |
TWT Mantissa Range: [0-sizeof(UINT16)].
| uint32_t wifi_twt_params::twt_wake_ahead_duration |
Wake ahead notification is sent earlier than TWT Service period (SP) start based on this duration.
This should give applications ample time to prepare the data before TWT SP starts.
| uint32_t wifi_twt_params::twt_wake_interval |
Wake up time.