Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / drivers / staging / rtl8192e / rtl_ps.h
bloba9c2d799c08ff283d466d20dd988f5d0e29c9eb7
1 /******************************************************************************
2 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
4 * Based on the r8180 driver, which is:
5 * Copyright 2004-2005 Andrea Merello <andreamrl@tiscali.it>, et al.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of version 2 of the GNU General Public License as
8 * published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19 * The full GNU General Public License is included in this distribution in the
20 * file called LICENSE.
22 * Contact Information:
23 * wlanfae <wlanfae@realtek.com>
24 ******************************************************************************/
25 #ifndef _RTL_PS_H
26 #define _RTL_PS_H
28 #include <linux/types.h>
29 #include "rtllib.h"
30 struct net_device;
32 #define RT_CHECK_FOR_HANG_PERIOD 2
33 #define INIT_DEFAULT_CHAN 1
35 void rtl8192_hw_wakeup(struct net_device *dev);
36 void rtl8192_hw_to_sleep(struct net_device *dev, u64 time);
37 void rtllib_ips_leave_wq(struct net_device *dev);
38 void rtllib_ips_leave(struct net_device *dev);
39 void IPSLeave_wq(void *data);
41 void IPSEnter(struct net_device *dev);
42 void IPSLeave(struct net_device *dev);
44 void LeisurePSEnter(struct net_device *dev);
45 void LeisurePSLeave(struct net_device *dev);
47 #endif