MINIPORT_WDI_TAL_TXRX_SET_PORT_OPMODE 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 MiniportWdiTalTxRxSetPortOpMode handler function specifies the opmode used for the port so that the TxEngine and RxEngine enable the corresponding functionality. It is called after the set-opmode command has been completed on the control path, but before a BSS is created (connect or start GO).

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_SET_PORT_OPMODE type. For more information, see the following Examples section.
 

Syntax

MINIPORT_WDI_TAL_TXRX_SET_PORT_OPMODE MiniportWdiTalTxrxSetPortOpmode;

void MiniportWdiTalTxrxSetPortOpmode(
  [in] TAL_TXRX_HANDLE MiniportTalTxRxContext,
  [in] WDI_PORT_ID PortId,
  [in] WDI_OPERATION_MODE Opmode
)
{...}

Parameters

[in] MiniportTalTxRxContext

TAL device handle returned by the IHV miniport in MiniportWdiTalTxRxInitialize.

[in] PortId

Port ID for the port.

[in] Opmode

WDI_OPERATION_MODE value that specifies the operation mode for the port.

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_MINIPORT_WDI_DATA_HANDLERS

TAL_TXRX_HANDLE

WDI general datapath interfaces

WDI_OPERATION_MODE

WDI_PORT_ID