1 /******************************************************************************
3 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19 ******************************************************************************/
20 #ifndef __RTL8712_POWERSAVE_BITDEF_H__
21 #define __RTL8712_POWERSAVE_BITDEF_H__
26 #define _WOW_EN BIT(1)
30 #define _PSSTATUS_SEL_MSK 0x0F
33 #define _PSSWITCH_ACT BIT(7)
34 #define _PSSWITCH_SEL_MSK 0x0F
35 #define _PSSWITCH_SEL_SHT 0
38 #define _LPNAV_EN BIT(31)
39 #define _LPNAV_EARLY_MSK 0x7FFF0000
40 #define _LPNAV_EARLY_SHT 16
41 #define _LPNAV_TH_MSK 0x0000FFFF
42 #define _LPNAV_TH_SHT 0
46 #define _TOGGLING BIT(7)
48 #define _RPS_ST BIT(2)
49 #define _WLAN_TRX BIT(1)
50 #define _SYS_CLK BIT(0)
52 #endif /* __RTL8712_POWERSAVE_BITDEF_H__*/