Zephyr API 3.6.99
|
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... | ||
} setup | ||
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.
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.
uint64_t wifi_twt_params::twt_interval |
Interval = Wake up time + Sleeping time.
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.