]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - drivers/staging/rtl8712/rtl8712_ratectrl_bitdef.h
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_RATECTRL_BITDEF_H__
21 #define __RTL8712_RATECTRL_BITDEF_H__
24 #define _INIRTSMCS_SEL_MSK 0x3F
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
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
43 #define _CCK_MSK 0xFF00
45 #define _BARKER_MSK 0x00FF
48 #endif /* __RTL8712_RATECTRL_BITDEF_H__*/