mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
![Aldas Taraškevičius](/assets/img/avatar_default.png)
Fix checkpatch warnings about having filenames in the files. Signed-off-by: Aldas Taraškevičius <aldas60@gmail.com> Link: https://lore.kernel.org/r/20210828072119.1395-1-aldas60@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29 lines
769 B
C
29 lines
769 B
C
/* 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__ */
|