1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
5  *
6  ******************************************************************************/
7 #ifndef __RTL8712_TIMECTRL_BITDEF_H__
8 #define __RTL8712_TIMECTRL_BITDEF_H__
9 
10 /*TSFTR*/
11 /*SLOT*/
12 /*USTIME*/
13 
14 /*TUBASE*/
15 #define	_TUBASE_MSK			0x07FF
16 
17 /*SIFS_CCK*/
18 #define	_SIFS_CCK_TRX_MSK		0xFF00
19 #define	_SIFS_CCK_TRX_SHT		0x8
20 #define	_SIFS_CCK_CTX_MSK		0x00FF
21 #define	_SIFS_CCK_CTX_SHT		0
22 
23 /*SIFS_OFDM*/
24 #define	_SIFS_OFDM_TRX_MSK		0xFF00
25 #define	_SIFS_OFDM_TRX_SHT		0x8
26 #define	_SIFS_OFDM_CTX_MSK		0x00FF
27 #define	_SIFS_OFDM_CTX_SHT		0
28 
29 /*PIFS*/
30 /*ACKTO*/
31 /*EIFS*/
32 /*BCNITV*/
33 /*ATIMWND*/
34 
35 /*DRVERLYINT*/
36 #define	_ENSWBCN				BIT(15)
37 #define	_DRVERLY_TU_MSK			0x0FF0
38 #define	_DRVERLY_TU_SHT			4
39 #define	_DRVERLY_US_MSK			0x000F
40 #define	_DRVERLY_US_SHT			0
41 
42 /*BCNDMATIM*/
43 #define	_BCNDMATIM_MSK			0x03FF
44 
45 /*BCNERRTH*/
46 /*MLT*/
47 
48 #endif /* __RTL8712_TIMECTRL_BITDEF_H__*/
49 
50