// dot11wdi.h
typedef struct _WDI_TXRX_TARGET_CAPABILITIES {
WDI_INTERCONNECT_TYPE InterconnectType;
struct {
BOOLEAN TargetPriorityQueueing;
UINT16 MaxScatterGatherElementsPerFrame;
BOOLEAN ExplicitSendCompleteFlagRequired;
UINT8 bPad;
UINT16 MinEffectiveSize;
UINT16 FrameSizeGranularity;
} TransmitCapabilities;
struct {
BOOLEAN RxTxForwarding;
UINT32 MaxThroughput;
} ReceiveCapabilities;
} WDI_TXRX_CAPABILITIES, *PWDI_TXRX_CAPABILITIES;
View the official Windows Driver Kit DDI reference// dot11wificxintf.h
typedef struct _WDI_TXRX_TARGET_CAPABILITIES {
WDI_INTERCONNECT_TYPE InterconnectType;
struct {
BOOLEAN TargetPriorityQueueing;
UINT16 MaxScatterGatherElementsPerFrame;
BOOLEAN ExplicitSendCompleteFlagRequired;
UINT8 bPad;
UINT16 MinEffectiveSize;
UINT16 FrameSizeGranularity;
} TransmitCapabilities;
struct {
BOOLEAN RxTxForwarding;
UINT32 MaxThroughput;
} ReceiveCapabilities;
} WDI_TXRX_CAPABILITIES, *PWDI_TXRX_CAPABILITIES;
View the official Windows Driver Kit DDI referenceNo description available.
The WDI_TXRX_CAPABILITIES structure defines the target capabilities.
InterconnectTypeInterconnect type of the target.
TransmitCapabilitiesTransmit capabilities.
Maximum number of Scatter Gather elements in a frame. WDI coalesces frames as necessary so that the IHV miniport does not receive a frame that requires more scatter gather elements than specified by this capability. For best performance, it is suggested that this capability is set higher than the typical frame as the coalescing requires a memory copy. If this capability is not greater than the maximum frame size divided by page size, WDI may be unable to successfully coalesce the frame and it may be dropped.
TransmitCapabilities.TargetPriorityQueueingIf true, WDI does not classify Tx frames by Peer and TID, and only provides queuing at a port level. WDI schedules backlogged port queues using a global DRR.
If false, WDI classifies Tx frames by Peer and TID and utilizes the full scheduler to select TX queues to transfer.
Setting this to false is recommended unless the target is capable of classification and Peer-TID queueing.
TransmitCapabilities.MaxScatterGatherElementsPerFrameTransmitCapabilities.ExplicitSendCompleteFlagRequiredIf true, the target/TAL generates a TX send completion indication only for frames that have this flag set in the frame's metadata.
If false, the target/TAL generates a TX send completion indication for all frames
TransmitCapabilities.bPadReserved.
TransmitCapabilities.MinEffectiveSizeWhen dequeuing frames, the TxMgr treats frames smaller than MinEffectiveSize as having an effective size of MinEffectiveSize.
TransmitCapabilities.FrameSizeGranularityThis value is equal to the granularity of memory allocation per frame. For the purposes of dequeuing, the TxMgr treats a frame as having an effective size equal to the frame size plus the least amount of padding such that the effective size is an integer multiple of the FrameSizeGranularity.
This value must be set to a power of two.
ReceiveCapabilitiesReceive capabilities.
ReceiveCapabilities.RxTxForwardingReserved.
ReceiveCapabilities.MaxThroughputSpecifies the maximum throughput of the device in units of 0.5 Mbps.
[!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.
InterconnectTypeReserved.
TransmitCapabilitiesReserved.
TransmitCapabilities.TargetPriorityQueueingReserved.
TransmitCapabilities.MaxScatterGatherElementsPerFrameReserved.
TransmitCapabilities.ExplicitSendCompleteFlagRequiredReserved.
TransmitCapabilities.bPadReserved.
TransmitCapabilities.MinEffectiveSizeReserved.
TransmitCapabilities.FrameSizeGranularityReserved.
ReceiveCapabilitiesReserved.
ReceiveCapabilities.RxTxForwardingReserved.
ReceiveCapabilities.MaxThroughputReserved.