1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
4  *
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.
8  *
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.
13  *
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
17  *
18  *
19  ******************************************************************************/
20 #ifndef __RTL8712_TIMECTRL_BITDEF_H__
21 #define __RTL8712_TIMECTRL_BITDEF_H__
22 
23 /*TSFTR*/
24 /*SLOT*/
25 /*USTIME*/
26 
27 /*TUBASE*/
28 #define	_TUBASE_MSK			0x07FF
29 
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
35 
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
41 
42 /*PIFS*/
43 /*ACKTO*/
44 /*EIFS*/
45 /*BCNITV*/
46 /*ATIMWND*/
47 
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
54 
55 /*BCNDMATIM*/
56 #define	_BCNDMATIM_MSK			0x03FF
57 
58 /*BCNERRTH*/
59 /*MLT*/
60 
61 
62 #endif /* __RTL8712_TIMECTRL_BITDEF_H__*/
63 
64