Merge tag 'char-misc-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregk...
[linux-2.6-microblaze.git] / drivers / staging / vt6656 / power.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
4  * All rights reserved.
5  *
6  * File: power.h
7  *
8  * Purpose: Handles 802.11 power management  functions
9  *
10  * Author: Lyndon Chen
11  *
12  * Date: July 17, 2002
13  *
14  */
15
16 #ifndef __POWER_H__
17 #define __POWER_H__
18
19 #define C_PWBT  1000 /* micro sec. power up before TBTT */
20
21 int vnt_disable_power_saving(struct vnt_private *priv);
22 void vnt_enable_power_saving(struct vnt_private *priv, u16 listen_interval);
23 int vnt_next_tbtt_wakeup(struct vnt_private *priv);
24
25 #endif /* __POWER_H__ */