MINIPORT_WDI_TAL_TXRX_INITIALIZE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dot11wdi.h

MINIPORT_WDI_TAL_TXRX_INITIALIZE MiniportWdiTalTxrxInitialize;

NDIS_STATUS MiniportWdiTalTxrxInitialize(
  [in]      NDIS_HANDLE MiniportAdapterContext,
  [in]      NDIS_HANDLE NdisMiniportDataPathHandle,
  [in]      PNDIS_WDI_DATA_API NdisWdiDataPathApi,
  [out]     PTAL_TXRX_HANDLE pMiniportTalTxRxContext,
  [in, out] PNDIS_MINIPORT_WDI_DATA_HANDLERS pMiniportDataHandlers,
  [out]     UINT32 *pMiniportWdiFrameMetadataExtraSpace
)
{...}
View the official Windows Driver Kit DDI reference
// dot11wificxintf.h

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
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-dot11wdi-miniport_wdi_tal_txrx_initialize)

MINIPORT_WDI_TAL_TXRX_INITIALIZE callback function

Description

[!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 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.

Parameters

MiniportAdapterContext [in]

Handle for the IHV miniport context.

NdisMiniportDataPathHandle [in]

Handle for the IHV miniport to use in datapath indications.

NdisWdiDataPathApi [in]

Pointer to the WDI data API function table.

pMiniportTalTxRxContext [out]

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 [in, out]

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 [out]

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.

See also

NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS

TAL_TXRX_HANDLE

WDI general datapath interfaces

WDI_FRAME_METADATA


Windows Driver Kit DDI reference (nc-dot11wificxintf-miniport_wdi_tal_txrx_initialize)

Description

[!IMPORTANT] This topic is part of the WiFiCx driver model. 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 previous Wi-Fi driver model WDI is in maintenance mode and will only receive high priority fixes.

[!WARNING] Some information in this topic relates to prereleased product, which may be substantially modified before it is commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

This function is reserved for system use and should not be called in your code.

Parameters

MiniportAdapterContext

Reserved.

NdisMiniportDataPathHandle

Reserved.

NdisWdiDataPathApi

Reserved.

pMiniportTalTxRxContext

Reserved.

pMiniportDataHandlers

Reserved.

pMiniportWdiFrameMetadataExtraSpace

Reserved.

Return value

Remarks

See also