// dot11wdi.h
typedef struct _WDI_TX_METADATA {
WDI_PORT_ID PortID;
WDI_PEER_ID PeerID;
WDI_EXTENDED_TID ExTID;
BOOLEAN IsUnicast;
BOOLEAN bAllowLegacyRates;
UINT16 Ethertype;
BOOLEAN bTxCompleteRequired;
UINT8 PnLength;
UINT16 TxCost;
WDI_EXEMPTION_ACTION_TYPE ExemptionAction;
WDI_TXRX_MPDU_PN MpduPn;
UINT64 ReplayIHVReserved0;
UINT64 ReplayIHVReserved1;
UINT16 SeqCtl;
UINT16 wPad;
} WDI_TX_METADATA, *PWDI_TX_METADATA;
View the official Windows Driver Kit DDI reference// dot11wificxintf.h
typedef struct _WDI_TX_METADATA {
WDI_PORT_ID PortID;
WDI_PEER_ID PeerID;
WDI_EXTENDED_TID ExTID;
BOOLEAN IsUnicast;
BOOLEAN bAllowLegacyRates;
UINT16 Ethertype;
BOOLEAN bTxCompleteRequired;
UINT8 PnLength;
UINT16 TxCost;
WDI_EXEMPTION_ACTION_TYPE ExemptionAction;
WDI_TXRX_MPDU_PN MpduPn;
UINT64 ReplayIHVReserved0;
UINT64 ReplayIHVReserved1;
UINT16 SeqCtl;
UINT16 wPad;
} WDI_TX_METADATA, *PWDI_TX_METADATA;
View the official Windows Driver Kit DDI referenceNo description available.
[!IMPORTANT] This topic is part of the WDI driver model released in Windows 10. The WDI driver model is in maintenance mode and will only receive high priority fixes. WiFiCx is the Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features.
The WDI_TX_METADATA structure defines the TX metadata.
PortIDPort ID of the frame.
PeerIDPeer ID of the frame (only if TargetPriorityQueueing is false).
ExTIDExtended TID of the frame (only if TargetPriorityQueueing is false).
IsUnicastSpecifies if the frame is for a unicast recipient address.
bAllowLegacyRatesSpecifies if legacy rates should be used for transmitting the frame.
EthertypeSpecifies the Ethertype of the frame.
bTxCompleteRequiredSpecifies if an NdisWdiTxSendCompleteIndication is required for this frame.
PnLengthSpecifies the PnLength for the frame. This is only applicable to Requeued/Replayed TX frames. Otherwise, set to zero.
TxCostSpecifies the number of credits required to dequeue the frame.
ExemptionActionSpecifies the WDI_EXEMPTION_ACTION_TYPE value for this frame.
MpduPnSpecifies the MpduPn for the frame. This is only applicable to Requeued/Replayed TX frames. Otherwise, set to zero.
ReplayIHVReserved0Reserved for use by the IHV miniport for Requeued/Replayed TX frames. This is only applicable to Requeued/Replayed TX frames. Otherwise, set to zero.
ReplayIHVReserved1Reserved for use by the IHV miniport for Requeued/Replayed TX frames. This is only applicable to Requeued/Replayed TX frames. Otherwise, set to zero.
SeqCtlSpecifies the SeqCtl (if necessary). This is only applicable to Requeued/Replayed TX frames. Otherwise, set to zero.
wPadReserved.
[!IMPORTANT] This topic is part of the WiFiCx driver model. WiFiCx is the Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features. The previous Wi-Fi driver model WDI is now in maintenance mode and will only receive high priority fixes.
[!WARNING] Some information in this topic relates to prereleased product, which may be substantially modified before it is commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This function is reserved for system use and should not be called in your code.
PortIDReserved.
PeerIDReserved.
ExTIDReserved.
IsUnicastReserved.
bAllowLegacyRatesReserved.
EthertypeReserved.
bTxCompleteRequiredReserved.
PnLengthReserved.
TxCostReserved.
ExemptionActionReserved.
MpduPnReserved.
ReplayIHVReserved0Reserved.
ReplayIHVReserved1Reserved.
SeqCtlReserved.
wPadReserved.