MINIPORT_WDI_TX_TAL_QUEUE_IN_ORDER callback function (dot11wdi.h)
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 MiniportWdiTxTalQueueInOrder handler function notifies the TAL target that one or more paused RA/TID queues (with WDI_TX_PAUSE_REASON_PS) is ready to transmit.
This means:
- Each of the queues has no outstanding TX frames with TAL/target.
- All frames that were TX completed with WDI_TxFrameStatus_SendPostponed were inserted in the RA-TID queue in the correct order.
Syntax
MINIPORT_WDI_TX_TAL_QUEUE_IN_ORDER MiniportWdiTxTalQueueInOrder;
void MiniportWdiTxTalQueueInOrder(
[in] TAL_TXRX_HANDLE MiniportTalTxRxContext,
[in] WDI_PEER_ID PeerId,
[in] UINT32 ExTidBitmask
)
{...}
Parameters
[in] MiniportTalTxRxContext
TAL device handle returned by the IHV miniport in MiniportWdiTalTxRxInitialize.
[in] PeerId
The peer ID.
[in] ExTidBitmask
The Extended TID bitmask.
Return value
None
Remarks
The TAL/target waits for this notification before issuing a TX restart indication to a paused queue with WDI_TX_PAUSE_REASON_PS.
Examples
To define a MiniportWdiTxTalQueueInOrder function, you must first provide a function declaration that identifies the type of function you're defining. Windows provides a set of function types for drivers. Declaring a function using the function types helps Code Analysis for Drivers, Static Driver Verifier (SDV), and other verification tools find errors, and it's a requirement for writing drivers for the Windows operating system.
For example, to define a MiniportWdiTxTalQueueInOrder function that is named "MyTxTalQueueInOrder", use the MINIPORT_WDI_TX_TAL_QUEUE_IN_ORDER type as shown in this code example:
MINIPORT_WDI_TX_TAL_QUEUE_IN_ORDER MyTxTalQueueInOrder;
Then, implement your function as follows:
_Use_decl_annotations_
VOID
MyTxTalQueueInOrder(
TAL_TXRX_HANDLE MiniportTalTxRxContext,
WDI_PEER_ID PeerId,
UINT32 ExTidBitmask
)
{...}
The MINIPORT_WDI_TX_TAL_QUEUE_IN_ORDER function type is defined in the dot11wdi.h header file. To more accurately identify errors when you run the code analysis tools, be sure to add the Use_decl_annotations annotation to your function definition. The Use_decl_annotations annotation ensures that the annotations that are applied to the MINIPORT_WDI_TX_TAL_QUEUE_IN_ORDER function type in the header file are used. For more information about the requirements for function declarations, see Declaring Functions by Using Function Role Types for NDIS Drivers.
For information about Use_decl_annotations, see Annotating Function Behavior.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Windows |
Header | dot11wdi.h |