audit: complex interfield comparison helper
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / rtl8712 / rtl8712_timectrl_bitdef.h
blob7244215824211add3dc1cd52a69e3b7d7f33012b
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
12 * more details.
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_TIMECTRL_BITDEF_H__
21 #define __RTL8712_TIMECTRL_BITDEF_H__
23 /*TSFTR*/
24 /*SLOT*/
25 /*USTIME*/
27 /*TUBASE*/
28 #define _TUBASE_MSK 0x07FF
30 /*SIFS_CCK*/
31 #define _SIFS_CCK_TRX_MSK 0xFF00
32 #define _SIFS_CCK_TRX_SHT 0x8
33 #define _SIFS_CCK_CTX_MSK 0x00FF
34 #define _SIFS_CCK_CTX_SHT 0
36 /*SIFS_OFDM*/
37 #define _SIFS_OFDM_TRX_MSK 0xFF00
38 #define _SIFS_OFDM_TRX_SHT 0x8
39 #define _SIFS_OFDM_CTX_MSK 0x00FF
40 #define _SIFS_OFDM_CTX_SHT 0
42 /*PIFS*/
43 /*ACKTO*/
44 /*EIFS*/
45 /*BCNITV*/
46 /*ATIMWND*/
48 /*DRVERLYINT*/
49 #define _ENSWBCN BIT(15)
50 #define _DRVERLY_TU_MSK 0x0FF0
51 #define _DRVERLY_TU_SHT 4
52 #define _DRVERLY_US_MSK 0x000F
53 #define _DRVERLY_US_SHT 0
55 /*BCNDMATIM*/
56 #define _BCNDMATIM_MSK 0x03FF
58 /*BCNERRTH*/
59 /*MLT*/
62 #endif /* __RTL8712_TIMECTRL_BITDEF_H__*/