MINIPORT_WDI_RX_STOP callback function

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(
  TAL_TXRX_HANDLE MiniportTalTxRxContext,
  WDI_PORT_ID PortId,
  NDIS_STATUS *pWifiStatus
)
{...}

Parameters

MiniportTalTxRxContext

TAL device handle returned by the IHV miniport in MiniportWdiTalTxRxInitialize.

PortId

The port ID.

*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

This callback function does not return a value.

Requirements

   
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