// dot11wdi.h
MINIPORT_WDI_TAL_TXRX_ADD_PORT MiniportWdiTalTxrxAddPort;
void MiniportWdiTalTxrxAddPort(
[in] TAL_TXRX_HANDLE MiniportTalTxRxContext,
[in] WDI_PORT_ID PortId,
[in] WDI_OPERATION_MODE OpMode
)
{...}
View the official Windows Driver Kit DDI reference// dot11wificxintf.h
MINIPORT_WDI_TAL_TXRX_ADD_PORT MiniportWdiTalTxrxAddPort;
void MiniportWdiTalTxrxAddPort(
TAL_TXRX_HANDLE MiniportTalTxRxContext,
WDI_PORT_ID PortId,
WDI_OPERATION_MODE OpMode
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
[!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 MiniportWdiTalTxRxAddPort handler function notifies the datapath components of the creation of a new virtual port. It is invoked after the completion of the OID_WDI_TASK_CREATE_PORT command and specifies the PortID designated by the target for the port.
It also specifies the default operation mode for the port.
This is a WDI miniport handler inside NDIS_MINIPORT_WDI_DATA_HANDLERS.
Note You must declare the function by using the MINIPORT_WDI_TAL_TXRX_ADD_PORT type. For more information, see the following Examples section.
MiniportTalTxRxContext [in]TAL device handle returned by the IHV miniport in MiniportWdiTalTxRxInitialize.
PortId [in]Port ID designated by the target for the port.
OpMode [in]Default operation mode for the port.
NDIS_MINIPORT_WDI_DATA_HANDLERS
WDI general datapath interfaces
[!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.
MiniportTalTxRxContextReserved.
PortIdReserved.
OpModeReserved.