// dot11wdi.h
MINIPORT_WDI_TX_SUSPECT_FRAME_LIST_ABORT MiniportWdiTxSuspectFrameListAbort;
void MiniportWdiTxSuspectFrameListAbort(
TAL_TXRX_HANDLE MiniportTalTxRxContext,
UINT64 SuspectFrameContext,
UINT16 NumSuspectFrames,
PNET_BUFFER_LIST *SuspectFrameList
)
{...}
View the official Windows Driver Kit DDI reference// dot11wificxintf.h
MINIPORT_WDI_TX_SUSPECT_FRAME_LIST_ABORT MiniportWdiTxSuspectFrameListAbort;
void MiniportWdiTxSuspectFrameListAbort(
TAL_TXRX_HANDLE MiniportTalTxRxContext,
UINT64 SuspectFrameContext,
UINT16 NumSuspectFrames,
PNET_BUFFER_LIST *SuspectFrameList
)
{...}
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 TxSuspectFrameListAbort callback function is implemented by the IHV miniport to inform the TxEngine that the TxMgr has identified frames which are suspected of being hung or pending completion for a significant length of time.
MiniportTalTxRxContextThe TAL device handle returned by the IHV miniport in MiniportWdiTalTxRxInitialize.
SuspectFrameContextContext information about the suspected frame.
NumSuspectFramesThe number of suspect frames.
SuspectFrameListThe list of suspected frames. For more information, see the Remarks section.
//Declaration
MINIPORT_WDI_TX_SUSPECT_FRAME_LIST_ABORT MiniportWdiTxSuspectFrameListAbort;
// Definition
void MiniportWdiTxSuspectFrameListAbort
(
TAL_TXRX_HANDLE MiniportTalTxRxContext
UINT64 SuspectFrameContext
UINT16 NumSuspectFrames
PNET_BUFFER_LIST *SuspectFrameList
)
{...}
Register your implementation of this callback function by setting the appropriate member of the NDIS_MINIPORT_WDI_DATA_HANDLERS structure.
This is an optional handler. If the IHV miniport does not implement this callback's behavior, it should not set the function pointer in NDIS_MINIPORT_WDI_DATA_HANDLERS and WDI will not call this handler. However, if this callback's behavior is not implemented, the function pointer might still be set if the IHV miniport uses the SuspectFrameList to log IHV state for diagnostic purposes.
This callback function informs the TxEngine that the TxMgr has identified frames which are suspected of being hung or pending completion for a significant length of time. The SuspectFrameList array of NBL pointers, of which the Next pointer is not applicable, represent frames which the TxMgr is requesting prompt completion even if that results in the frame not being transmitted over the air.
The TxEngine might check the status of an NBL in the SuspectFrameList array by calling TxQuerySuspectFrameStatus from the context of TxSuspectFrameListAbort with the SuspectFrameContext passed to the handler. The TxMgr will not call TxTargetDescDeinit for any NBLs in SuspectFrameList during the duration of TxSuspectFrameAbort, nor will it complete the frames to NDIS.
If the TxEngine or firmware has no knowledge or state for the suspect frame it should not issue completions for that suspect frame, as this might cause system corruption and/or double completions.
If a firmware stall or corruption is detected, an NDIS_STATUS_WDI_INDICATION_FIRMWARE_STALLED notification should be made to attempt recovery.
[!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.
SuspectFrameContextReserved.
NumSuspectFramesReserved.
SuspectFrameListReserved.