OID_PNP_WAKE_UP_PATTERN_LIST

The OID_PNP_WAKE_UP_PATTERN_LIST OID is used by a protocol to query a list of the wake-up patterns currently set for the miniport driver's network adapter. A protocol specifies a wake-up pattern with OID_PNP_ADD_WAKE_UP_PATTERN.

OID_PNP_WAKE_UP_PATTERN_LIST is handled by NDIS rather than the miniport driver.

NDIS returns to the protocol a description of each wake-up pattern set in the miniport driver. Each wake-up pattern, along with its mask, is described by an NDIS_PM_PACKET_PATTERN structure.

For each wake-up pattern, the InformationBuffer member of the NDIS_OID_REQUEST structure contains the following:

  • An NDIS_PM_PACKET_PATTERN structure that provides information about the pattern and its mask.

  • A mask that indicates which bytes of an incoming packet should be compared with corresponding bytes in the pattern. The mask starts with the first byte of the packet. The mask immediately follows the NDIS_PM_PACKET_PATTERN structure in the InformationBuffer.

  • A wake-up pattern, which begins PatternOffset bytes from the beginning of the InformationBuffer.

An intermediate driver in which the upper edge receives this OID request must always propagate the request to the underlying miniport driver by calling Ndis(Co)Request.

Requirements

Version

Supported in NDIS 6.0 and 6.1. For NDIS 6.20 and later, use OID_PM_WOL_PATTERN_LIST instead.

Header

Ntddndis.h (include Ndis.h)

See also

NDIS_PM_PACKET_PATTERN
NDIS_OID_REQUEST
OID_PM_WOL_PATTERN_LIST
OID_PNP_ADD_WAKE_UP_PATTERN
OID_PNP_REMOVE_WAKE_UP_PATTERN

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft