OID_PNP_WAKE_UP_PATTERN_LIST (Compact 2013)

3/26/2014

A protocol uses this object to request a list of the all the wake-up patterns currently set for the miniport'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 instead of the miniport.

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

For each wake-up pattern, the InformationBuffer of an associated NDIS_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, excluding token ring source routing information in a token ring 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 whose upper edge receives this request must always propagate the request to the underlying miniport by calling NdisRequest.

Requirements

Header

ntddndis.h

See Also

Reference

Operational OIDs
NDIS_REQUEST
NdisRequest
NDIS_PM_PACKET_PATTERN
OID_PNP_REMOVE_WAKE_UP_PATTERN
OID_PNP_ADD_WAKE_UP_PATTERN