ndis.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * ndis.h
  3. *
  4. * ntddndis.h modified by Benedikt Spranger <b.spranger@pengutronix.de>
  5. *
  6. * Thanks to the cygwin development team,
  7. * espacially to Casper S. Hornstrup <chorns@users.sourceforge.net>
  8. *
  9. * 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.
  13. */
  14. #ifndef _LINUX_NDIS_H
  15. #define _LINUX_NDIS_H
  16. enum NDIS_DEVICE_POWER_STATE {
  17. NdisDeviceStateUnspecified = 0,
  18. NdisDeviceStateD0,
  19. NdisDeviceStateD1,
  20. NdisDeviceStateD2,
  21. NdisDeviceStateD3,
  22. NdisDeviceStateMaximum
  23. };
  24. struct NDIS_PM_WAKE_UP_CAPABILITIES {
  25. enum NDIS_DEVICE_POWER_STATE MinMagicPacketWakeUp;
  26. enum NDIS_DEVICE_POWER_STATE MinPatternWakeUp;
  27. enum NDIS_DEVICE_POWER_STATE MinLinkChangeWakeUp;
  28. };
  29. struct NDIS_PNP_CAPABILITIES {
  30. __le32 Flags;
  31. struct NDIS_PM_WAKE_UP_CAPABILITIES WakeUpCapabilities;
  32. };
  33. struct NDIS_PM_PACKET_PATTERN {
  34. __le32 Priority;
  35. __le32 Reserved;
  36. __le32 MaskSize;
  37. __le32 PatternOffset;
  38. __le32 PatternSize;
  39. __le32 PatternFlags;
  40. };
  41. #endif /* _LINUX_NDIS_H */