MINIPORT_WDI_RX_STOP 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 MiniportWdiRxStop handler function stops RX on a given port and accepts the wildcard port ID to stop RX across the adapter. The TAL completes the RX stop operation by completing the request with a success status, or by completing it with a pending status and asynchronously indicating RxStopConfirm.

This is a WDI miniport handler inside NDIS_MINIPORT_WDI_DATA_HANDLERS.

Prior to completing the indication, the target must be configured to stop indicating new traffic on the selected port or the entire adapter.

This request is issued to the TAL as part of a transition to low power (adapter) and dot11 reset (port).

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

Syntax

MINIPORT_WDI_RX_STOP MiniportWdiRxStop;

void MiniportWdiRxStop(
  [in]  TAL_TXRX_HANDLE MiniportTalTxRxContext,
  [in]  WDI_PORT_ID PortId,
  [out] NDIS_STATUS *pWifiStatus
)
{...}

Parameters

[in] MiniportTalTxRxContext

TAL device handle returned by the IHV miniport in MiniportWdiTalTxRxInitialize.

[in] PortId

The port ID.

[out] pWifiStatus

Status from the IHV miniport. A success status indicates that the operation completion synchronously. A pending status indicates that the stop will be asynchronously confirmed.

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 RX path

WDI_PORT_ID