Bewerken

Delen via


NDIS_WDI_TX_SEND_COMPLETE_IND 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 NdisWdiTxSendCompleteIndication callback function specifies an array of frame IDs associated with the target's sent frames.

This is a callback inside NDIS_WDI_DATA_API.

Frames with different TX status values are completed in separate indications.

Syntax

NDIS_WDI_TX_SEND_COMPLETE_IND NdisWdiTxSendCompleteInd;

void NdisWdiTxSendCompleteInd(
  [in]           NDIS_HANDLE NdisMiniportDataPathHandle,
  [in]           WDI_TX_FRAME_STATUS WifiTxFrameStatus,
  [in]           UINT16 NumCompletedSends,
  [in]           WDI_FRAME_ID *WifiTxFrameIdList,
  [in, optional] WDI_TX_COMPLETE_DATA *WifiTxCompleteList
)
{...}

Parameters

[in] NdisMiniportDataPathHandle

The NdisMiniportDataPathHandle passed to the IHV miniport in MiniportWdiTalTxRxInitialize.

[in] WifiTxFrameStatus

The TX status, specified as a WDI_TX_FRAME_STATUS value.

[in] NumCompletedSends

The number of completed sends.

[in] WifiTxFrameIdList

An array of frame IDs. The size of the array is the value of NumCompletedSends.

[in, optional] WifiTxCompleteList

An array of TX completion data. The size of the array is the value of NumCompletedSends.

Return value

None

Remarks

WDI_TX_COMPLETE_DATA is optional for all status values unless the indicated frames are sent over-the-air and have a status of WDI_TxFrameStatus_SendPostponed. In that case, WDI_TX_COMPLETE_DATA is required.

A TX completion with a frame with WDI_TxFrameStatus_SendPostponed is identical to an NdisWdiTxSendPauseIndication with WDI_TX_PAUSE_REASON_PS.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header dot11wdi.h

See also

NDIS_WDI_DATA_API

NdisWdiTxSendPauseIndication

WDI_TX_COMPLETE_DATA

WDI_TX_FRAME_STATUS

WDI_TX_PAUSE_REASON