WDI_TLV_DATAPATH_CAPABILITIES

WDI_TLV_DATAPATH_CAPABILITIES is a TLV that contains datapath capabilities.

TLV Type

0xB9

Length

The sum (in bytes) of the sizes of all contained elements.

Values

Type Description
WDI_INTERCONNECT_TYPE (UINT32) Interconnect type.
UINT8 Maximum number of peers.
UINT8 Specifies transmit capability: Target priority queuing.

Valid values are 0 and 1. If set to 0, WDI classifies Tx frames by Peer and TID and utilizes the full scheduler to select TX queues to transfer. It is recommended that this is set to false unless the target is capable of classification and Peer-TID queueing. If set to 1, WDI classifies Tx frames by Peer and TID and only provides queuing at a port level. WDI schedules backlogged port queues using a global DRR.

UINT16 Specifies transmit capability: Maximum number of Scatter Gather elements in frame.

WDI coalesces frames as necessary such 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 max frame size divided by page size, WDI may be unable to successfully coalesce the frame and it may be dropped.

UINT8 Specifies transmit capability: Explicit Send Complete flag required.

Valid values are 0 and 1. If set to 0, the target/TAL generates a TX send complete for all frames. If set to 1, the target/TAL generates TX send completion indication only for frames that have this flag set in the frame’s metadata.

UINT16 Specifies transmit capability: Minimum effective frame size.

When dequeuing frames, the TxMgr treats frames smaller than this value as having an effective size of this value.

UINT16 Specifies transmit capability: Frame size granularity.

This 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 this value. This value must be set to a power of two.

UINT8 Specifies transmit capability: Rx Tx forwarding.

Valid values are 0 and 1. If set to 1, the target is capable of forwarding received frames.

UINT32 Specifies transmit capability: Maximum throughput, in units of 0.5 Mbps.

This value is used for the allocation of descriptors and buffers.

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016

Header

Wditypes.hpp