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_RATECTRL_BITDEF_H__
21#define __RTL8712_RATECTRL_BITDEF_H__
22
23/*INIRTSMCS_SEL*/
24#define	_INIRTSMCS_SEL_MSK		0x3F
25
26/* RRSR*/
27#define	_RRSR_SHORT			BIT(23)
28#define	_RRSR_RSC_MSK		0x600000
29#define	_RRSR_RSC_SHT		21
30#define	_RRSR_BITMAP_MSK	0x0FFFFF
31#define	_RRSR_BITMAP_SHT	0
32
33/* AGGLEN_LMT_H*/
34#define	_AGGLMT_MCS32_MSK			0xF0
35#define	_AGGLMT_MCS32_SHT			4
36#define	_AGGLMT_MCS15_SGI_MSK		0x0F
37#define	_AGGLMT_MCS15_SGI_SHT		0
38
39/* DARFRC*/
40/* RARFRC*/
41/* MCS_TXAGC*/
42/* CCK_TXAGC*/
43#define	_CCK_MSK			0xFF00
44#define	_CCK_SHT			8
45#define	_BARKER_MSK			0x00FF
46#define	_BARKER_SHT			0
47
48#endif	/*	__RTL8712_RATECTRL_BITDEF_H__*/
49
50