NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS structure (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 NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS structure defines the set of handlers that a WDI miniport driver must implement. It is used by the IHV driver to register additional handlers for the control path and the full set of handlers for the data path.

Syntax

typedef struct _NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS {
  NDIS_OBJECT_HEADER                            Header;
  ULONG                                         WdiVersion;
  MINIPORT_WDI_ALLOCATE_ADAPTER_HANDLER         AllocateAdapterHandler;
  MINIPORT_WDI_FREE_ADAPTER_HANDLER             FreeAdapterHandler;
  MINIPORT_WDI_OPEN_ADAPTER_HANDLER             OpenAdapterHandler;
  MINIPORT_WDI_CLOSE_ADAPTER_HANDLER            CloseAdapterHandler;
  MINIPORT_WDI_START_OPERATION_HANDLER          StartOperationHandler;
  MINIPORT_WDI_STOP_OPERATION_HANDLER           StopOperationHandler;
  MINIPORT_WDI_POST_PAUSE_HANDLER               PostPauseHandler;
  MINIPORT_WDI_POST_RESTART_HANDLER             PostRestartHandler;
  MINIPORT_WDI_HANG_DIAGNOSE_HANDLER            HangDiagnoseHandler;
  MINIPORT_WDI_TAL_TXRX_INITIALIZE_HANDLER      TalTxRxInitializeHandler;
  MINIPORT_WDI_TAL_TXRX_DEINITIALIZE_HANDLER    TalTxRxDeinitializeHandler;
  MINIPORT_WDI_IDLE_NOTIFICATION_HANDLER        LeIdleNotificationHandler;
  MINIPORT_WDI_CANCEL_IDLE_NOTIFICATION_HANDLER LeCancelIdleNotificationHandler;
} NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS, *PNDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS;

Members

Header

The NDIS_OBJECT_HEADER structure for the NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS structure. Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_MINIPORT_WDI_CHARACTERISTICS.

To indicate the version of the NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS structure, set the Revision member to the following value:

NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS_REVISION_1

Set the Size member to NDIS_SIZEOF_MINIPORT_WDI_CHARACTERISTICS_REVISION_1.

WdiVersion

The version of WDI used by the driver. Set this member to one of the following values:

WDI_VERSION_LATEST

The latest WDI version

WDI_VERSION_1_0_1

WDI version 1.0.1

WDI_VERSION_1_0

WDI version 1.0

AllocateAdapterHandler

The entry point of the MiniportWdiAllocateAdapter handler function.

FreeAdapterHandler

The entry point of the MiniportWdiFreeAdapter handler function.

OpenAdapterHandler

The entry point of the MiniportWdiOpenAdapter handler function.

CloseAdapterHandler

The entry point of the MiniportWdiCloseAdapter handler function.

StartOperationHandler

The entry point of the MiniportWdiStartOperation handler function.

StopOperationHandler

The entry point of the MiniportWdiStopOperation handler function.

PostPauseHandler

The entry point of the MiniportWdiPostAdapterPause handler function.

PostRestartHandler

The entry point of the MiniportWdiPostAdapterRestart handler function.

HangDiagnoseHandler

The entry point of the MiniportWdiAdapterHangDiagnose handler function.

TalTxRxInitializeHandler

The entry point of the MiniportWdiTalTxRxInitialize handler function.

TalTxRxDeinitializeHandler

The entry point of the MiniportWdiTalTxRxDeinitialize handler function.

LeIdleNotificationHandler

The entry point of the MiniportWdiIdleNotification handler function.

LeCancelIdleNotificationHandler

The entry point of the MiniportWdiCancelIdleNotification handler function.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header dot11wdi.h (include Ndis.h)