blob: a19f72dec0cd1561b20165bfa8b11fdee8a20c3b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
David Brownell15b2d2b2008-06-19 18:19:16 -07002 * ndis.h
3 *
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 * ntddndis.h modified by Benedikt Spranger <b.spranger@pengutronix.de>
David Brownell15b2d2b2008-06-19 18:19:16 -07005 *
6 * Thanks to the cygwin development team,
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 * espacially to Casper S. Hornstrup <chorns@users.sourceforge.net>
David Brownell15b2d2b2008-06-19 18:19:16 -07008 *
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 * THIS SOFTWARE IS NOT COPYRIGHTED
10 *
11 * This source code is offered for use in the public domain. You may
12 * use, modify or distribute it freely.
Linus Torvalds1da177e2005-04-16 15:20:36 -070013 */
14
15#ifndef _LINUX_NDIS_H
16#define _LINUX_NDIS_H
17
Linus Torvalds1da177e2005-04-16 15:20:36 -070018enum NDIS_DEVICE_POWER_STATE {
19 NdisDeviceStateUnspecified = 0,
20 NdisDeviceStateD0,
21 NdisDeviceStateD1,
22 NdisDeviceStateD2,
23 NdisDeviceStateD3,
24 NdisDeviceStateMaximum
25};
26
27struct NDIS_PM_WAKE_UP_CAPABILITIES {
28 enum NDIS_DEVICE_POWER_STATE MinMagicPacketWakeUp;
29 enum NDIS_DEVICE_POWER_STATE MinPatternWakeUp;
30 enum NDIS_DEVICE_POWER_STATE MinLinkChangeWakeUp;
31};
32
Linus Torvalds1da177e2005-04-16 15:20:36 -070033struct NDIS_PNP_CAPABILITIES {
David Brownell340600a2005-04-28 13:45:25 -070034 __le32 Flags;
Linus Torvalds1da177e2005-04-16 15:20:36 -070035 struct NDIS_PM_WAKE_UP_CAPABILITIES WakeUpCapabilities;
36};
37
38struct NDIS_PM_PACKET_PATTERN {
David Brownell340600a2005-04-28 13:45:25 -070039 __le32 Priority;
40 __le32 Reserved;
41 __le32 MaskSize;
42 __le32 PatternOffset;
43 __le32 PatternSize;
44 __le32 PatternFlags;
Linus Torvalds1da177e2005-04-16 15:20:36 -070045};
46
Linus Torvalds1da177e2005-04-16 15:20:36 -070047#endif /* _LINUX_NDIS_H */