1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 #ifndef _LINUX_NDIS_H
16 #define _LINUX_NDIS_H
17
18 enum NDIS_DEVICE_POWER_STATE {
19 NdisDeviceStateUnspecified = 0,
20 NdisDeviceStateD0,
21 NdisDeviceStateD1,
22 NdisDeviceStateD2,
23 NdisDeviceStateD3,
24 NdisDeviceStateMaximum
25 };
26
27 struct 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
33 struct NDIS_PNP_CAPABILITIES {
34 __le32 Flags;
35 struct NDIS_PM_WAKE_UP_CAPABILITIES WakeUpCapabilities;
36 };
37
38 struct NDIS_PM_PACKET_PATTERN {
39 __le32 Priority;
40 __le32 Reserved;
41 __le32 MaskSize;
42 __le32 PatternOffset;
43 __le32 PatternSize;
44 __le32 PatternFlags;
45 };
46
47 #endif