Control block structure used to hold meta data for the payload passed in sl_wifi_send_transceiver_data.
Public Attributes#
Data Packets are queued to respective queue based on priority. Best Effort - 0, Background - 1, Video - 2, Voice - 3.
Rates shall be provided as per sl_wifi_data_rate_t. Only 11b/g rates shall be supported.
Used for synchronization between data packets sent and reports received. Application shall provide token/identifier per PPDU. MAC layer shall send the same token/identifier in status report along with the status of the transmitted packet.
Receiver MAC address.
Transmitter MAC address.
Destination MAC address.
Source MAC address. Initialization of addr4 is optional.
Public Attribute Documentation#
ctrl_flags#
uint8_t sl_wifi_transceiver_tx_data_control_t::ctrl_flags
Bit position | ctrl_flags bit description |
---|---|
0 | Shall be set for 4-address packet or unset for 3-address packet. addr4 is ignored if set to 0. |
1 | Shall be set for QoS packet. QoS control field shall not be present in the MAC header for non-QoS packet. priority is ignored if set to 0. |
2 | Shall be set to use the fixed data rate provided in the rate field. If set to 0, rate field is ignored and auto rate shall be used. |
3 | Shall be set to enable ToDS bit in Frame Control. Valid only for 3-addr packet (bit 0 is unset). |
4 | Shall be set to enable FromDS bit in Frame Control. Valid only for 3-addr packet (bit 0 is unset). |
5 | Shall be set if host requires TX data status report. Token is used for synchronization between data packets sent and reports received. |
6:7 | Reserved. |
Note
If addr1 is multicast/broadcast, ctrl_flags bit 1 is ignored and the frame is sent as a non-QoS frame, i.e. QoS control field shall not be present in the MAC header.
484
of file components/protocol/wifi/inc/sl_wifi_types.h
reserved1#
uint8_t sl_wifi_transceiver_tx_data_control_t::reserved1
485
of file components/protocol/wifi/inc/sl_wifi_types.h
reserved2#
uint8_t sl_wifi_transceiver_tx_data_control_t::reserved2
486
of file components/protocol/wifi/inc/sl_wifi_types.h
priority#
uint8_t sl_wifi_transceiver_tx_data_control_t::priority
Data Packets are queued to respective queue based on priority. Best Effort - 0, Background - 1, Video - 2, Voice - 3.
488
of file components/protocol/wifi/inc/sl_wifi_types.h
rate#
sl_wifi_data_rate_t sl_wifi_transceiver_tx_data_control_t::rate
Rates shall be provided as per sl_wifi_data_rate_t. Only 11b/g rates shall be supported.
490
of file components/protocol/wifi/inc/sl_wifi_types.h
token#
uint32_t sl_wifi_transceiver_tx_data_control_t::token
Used for synchronization between data packets sent and reports received. Application shall provide token/identifier per PPDU. MAC layer shall send the same token/identifier in status report along with the status of the transmitted packet.
492
of file components/protocol/wifi/inc/sl_wifi_types.h
addr1#
uint8_t sl_wifi_transceiver_tx_data_control_t::addr1[6]
Receiver MAC address.
494
of file components/protocol/wifi/inc/sl_wifi_types.h
addr2#
uint8_t sl_wifi_transceiver_tx_data_control_t::addr2[6]
Transmitter MAC address.
496
of file components/protocol/wifi/inc/sl_wifi_types.h
addr3#
uint8_t sl_wifi_transceiver_tx_data_control_t::addr3[6]
Destination MAC address.
498
of file components/protocol/wifi/inc/sl_wifi_types.h
addr4#
uint8_t sl_wifi_transceiver_tx_data_control_t::addr4[6]
Source MAC address. Initialization of addr4 is optional.
500
of file components/protocol/wifi/inc/sl_wifi_types.h