Linux 4.19.133
[linux/fpc-iii.git] / drivers / staging / vt6655 / power.h
blob2ec40045fddb1ed96f51b32113d2799d6533d082
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
4 * All rights reserved.
6 * File: power.h
8 * Purpose: Handles 802.11 power management functions
10 * Author: Lyndon Chen
12 * Date: July 17, 2002
16 #ifndef __POWER_H__
17 #define __POWER_H__
19 #include "device.h"
21 #define C_PWBT 1000 /* micro sec. power up before TBTT */
22 #define PS_FAST_INTERVAL 1 /* Fast power saving listen interval */
23 #define PS_MAX_INTERVAL 4 /* MAX power saving listen interval */
25 void PSvDisablePowerSaving(struct vnt_private *priv);
27 void PSvEnablePowerSaving(struct vnt_private *priv, unsigned short wListenInterval);
29 bool PSbIsNextTBTTWakeUp(struct vnt_private *priv);
31 #endif /* __POWER_H__ */