Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
48 lines
1.0 KiB
C
48 lines
1.0 KiB
C
/*
|
|
* ndis.h
|
|
*
|
|
* ntddndis.h modified by Benedikt Spranger <b.spranger@pengutronix.de>
|
|
*
|
|
* Thanks to the cygwin development team,
|
|
* espacially to Casper S. Hornstrup <chorns@users.sourceforge.net>
|
|
*
|
|
* THIS SOFTWARE IS NOT COPYRIGHTED
|
|
*
|
|
* This source code is offered for use in the public domain. You may
|
|
* use, modify or distribute it freely.
|
|
*/
|
|
|
|
#ifndef _LINUX_NDIS_H
|
|
#define _LINUX_NDIS_H
|
|
|
|
enum NDIS_DEVICE_POWER_STATE {
|
|
NdisDeviceStateUnspecified = 0,
|
|
NdisDeviceStateD0,
|
|
NdisDeviceStateD1,
|
|
NdisDeviceStateD2,
|
|
NdisDeviceStateD3,
|
|
NdisDeviceStateMaximum
|
|
};
|
|
|
|
struct NDIS_PM_WAKE_UP_CAPABILITIES {
|
|
enum NDIS_DEVICE_POWER_STATE MinMagicPacketWakeUp;
|
|
enum NDIS_DEVICE_POWER_STATE MinPatternWakeUp;
|
|
enum NDIS_DEVICE_POWER_STATE MinLinkChangeWakeUp;
|
|
};
|
|
|
|
struct NDIS_PNP_CAPABILITIES {
|
|
__le32 Flags;
|
|
struct NDIS_PM_WAKE_UP_CAPABILITIES WakeUpCapabilities;
|
|
};
|
|
|
|
struct NDIS_PM_PACKET_PATTERN {
|
|
__le32 Priority;
|
|
__le32 Reserved;
|
|
__le32 MaskSize;
|
|
__le32 PatternOffset;
|
|
__le32 PatternSize;
|
|
__le32 PatternFlags;
|
|
};
|
|
|
|
#endif /* _LINUX_NDIS_H */
|