Bewerken

Delen via


NDIS_WDI_TX_INJECT_FRAME_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 NdisWdiTxInjectFrameIndication callback function allows the LE to inject frames through the regular datapath (for example, authentication/association requests/responses, Wi-Fi Direct action frames).

This is a callback inside NDIS_WDI_DATA_API.

Syntax

NDIS_WDI_TX_INJECT_FRAME_IND NdisWdiTxInjectFrameInd;

void NdisWdiTxInjectFrameInd(
  [in] NDIS_HANDLE NdisMiniportDataPathHandle,
  [in] WDI_PORT_ID PortId,
  [in] WDI_PEER_ID PeerId,
  [in] WDI_EXTENDED_TID ExTid,
  [in] PNET_BUFFER_LIST pNBL,
  [in] BOOLEAN bIsUnicast,
  [in] BOOLEAN bUseLegacyRates,
  [in] UINT16 Ethertype,
  [in] WDI_EXEMPTION_ACTION_TYPE ExemptionAction
)
{...}

Parameters

[in] NdisMiniportDataPathHandle

The NdisMiniportDataPathHandle passed to the IHV miniport in MiniportWdiTalTxRxInitialize.

[in] PortId

The port ID.

[in] PeerId

The peer ID. When TargetPriorityQueueing is true, this must be set to the wildcard value.

[in] ExTid

The extended TID.

[in] pNBL

Pointer to a NET_BUFFER_LIST chain.

[in] bIsUnicast

Specifies if the frames are to a unicast receiver address.

[in] bUseLegacyRates

Specifies if legacy rates should be used to send the frames.

[in] Ethertype

Specifies the Ethertype of the frames.

[in] ExemptionAction

Specifies the ExemptionAction of the frames.

Return value

None

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

NET_BUFFER_LIST

WDI_EXEMPTION_ACTION_TYPE

WDI_EXTENDED_TID

WDI_PEER_ID

WDI_PORT_ID