![]() |
Morse Micro IoT SDK
2.10.4
|
Metadata for TX packets.
This structure should be initialized using MMWLAN_TX_METADATA_INIT for sensible default values, particularly for forward compatibility with new releases that may add new fields to the struct. For example:
#include <mmwlan.h>
Data Fields | |
| uint8_t | tid |
| Traffic ID (TID) to use. More... | |
| enum mmwlan_vif | vif |
| VIF to transmit on. More... | |
| const uint8_t * | ra |
| Optional Receiver Address (RA). More... | |
| const uint8_t* mmwlan_tx_metadata::ra |
| uint8_t mmwlan_tx_metadata::tid |
Traffic ID (TID) to use.
Must be less than or equal to MMWLAN_MAX_QOS_TID.
| enum mmwlan_vif mmwlan_tx_metadata::vif |
VIF to transmit on.
If MMWLAN_VIF_UNSPECIFIED then the transmit function will attempt to infer the VIF.
If the specified VIF is not active, or MMWLAN_VIF_UNSPECIFIED is given and a VIF could not be automatically inferred, this will result in transmit failure with error code MMWLAN_VIF_ERROR.