MINIPORT_WDI_TAL_TXRX_INITIALIZE callback function

The MiniportWdiTalTxRxInitialize handler function initializes data structures in the TAL and exchanges datapath component handles between the UE and TAL. This is issued in the context of the driver initialization, and is issued prior to querying the firmware for the device capabilities.

This is a WDI miniport handler inside NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS.

Note  You must declare the function by using the MINIPORT_WDI_TAL_TXRX_INITIALIZE type. For more information, see the following Examples section.
 

Syntax

MINIPORT_WDI_TAL_TXRX_INITIALIZE MiniportWdiTalTxrxInitialize;

NDIS_STATUS MiniportWdiTalTxrxInitialize(
  NDIS_HANDLE MiniportAdapterContext,
  NDIS_HANDLE NdisMiniportDataPathHandle,
  PNDIS_WDI_DATA_API NdisWdiDataPathApi,
  PTAL_TXRX_HANDLE pMiniportTalTxRxContext,
  PNDIS_MINIPORT_WDI_DATA_HANDLERS pMiniportDataHandlers,
  UINT32 *pMiniportWdiFrameMetadataExtraSpace
)
{...}

Parameters

MiniportAdapterContext

Handle for the IHV miniport context.

NdisMiniportDataPathHandle

Handle for the IHV miniport to use in datapath indications.

NdisWdiDataPathApi

Pointer to the WDI data API function table.

pMiniportTalTxRxContext

The TAL device handle is a control path handle for the device (for example, MiniportContext). It is associated with the MiniportHandle, which used as context for NDIS API calls.

pMiniportDataHandlers

The UE initializes the NDIS Header field so the LE can determine the revision and size that is safe to initialize according to traditional NDIS versioning rules. The LE is responsible for updating the Header with the revision and size that the LE actually implements and supports before returning.

*pMiniportWdiFrameMetadataExtraSpace

The LE sets the value pointed to by this parameter to the amount of space that WDI should reserve after the WDI_FRAME_METADATA for the LE to use.

Return Value

Note  Non-NDIS_STATUS_SUCCESS return values indicate a generic failure.
 
Return code Description
NDIS_STATUS_SUCCESS
Indicates that the miniport driver successfully exchanged datapath component handles.

Requirements

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

See Also

NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS

TAL_TXRX_HANDLE

WDI general datapath interfaces

WDI_FRAME_METADATA