diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:49:45 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:49:45 +0000 |
commit | 2c3c1048746a4622d8c89a29670120dc8fab93c4 (patch) | |
tree | 848558de17fb3008cdf4d861b01ac7781903ce39 /drivers/staging/vt6655/power.h | |
parent | Initial commit. (diff) | |
download | linux-2c3c1048746a4622d8c89a29670120dc8fab93c4.tar.xz linux-2c3c1048746a4622d8c89a29670120dc8fab93c4.zip |
Adding upstream version 6.1.76.upstream/6.1.76upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'drivers/staging/vt6655/power.h')
-rw-r--r-- | drivers/staging/vt6655/power.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/staging/vt6655/power.h b/drivers/staging/vt6655/power.h new file mode 100644 index 000000000..060516f81 --- /dev/null +++ b/drivers/staging/vt6655/power.h @@ -0,0 +1,29 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. + * All rights reserved. + * + * Purpose: Handles 802.11 power management functions + * + * Author: Lyndon Chen + * + * Date: July 17, 2002 + * + */ + +#ifndef __POWER_H__ +#define __POWER_H__ + +#include "device.h" + +#define C_PWBT 1000 /* micro sec. power up before TBTT */ +#define PS_FAST_INTERVAL 1 /* Fast power saving listen interval */ +#define PS_MAX_INTERVAL 4 /* MAX power saving listen interval */ + +void PSvDisablePowerSaving(struct vnt_private *priv); + +void PSvEnablePowerSaving(struct vnt_private *priv, unsigned short wListenInterval); + +bool PSbIsNextTBTTWakeUp(struct vnt_private *priv); + +#endif /* __POWER_H__ */ |