blob: 44924d5de2179a09f267be45f82706c4668300b2 [file] [log] [blame]
Ali Bahar0e54f602011-08-23 13:53:37 +08001/******************************************************************************
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 *
Ali Baharb4f62092011-08-23 13:53:38 +080018 * Modifications for inclusion into the Linux staging tree are
19 * Copyright(c) 2010 Larry Finger. All rights reserved.
20 *
21 * Contact information:
22 * WLAN FAE <wlanfae@realtek.com>
23 * Larry Finger <Larry.Finger@lwfinger.net>
Ali Bahar0e54f602011-08-23 13:53:37 +080024 *
25 ******************************************************************************/
Larry Finger2865d422010-08-20 10:15:30 -050026#ifndef _RTL871X_WLAN_SME_H_
27#define _RTL871X_WLAN_SME_H_
28
29#define MSR_APMODE 0x0C
30#define MSR_STAMODE 0x08
31#define MSR_ADHOCMODE 0x04
32#define MSR_NOLINKMODE 0x00
33#define _1M_RATE_ 0
34#define _2M_RATE_ 1
35#define _5M_RATE_ 2
36#define _11M_RATE_ 3
37#define _6M_RATE_ 4
38#define _9M_RATE_ 5
39#define _12M_RATE_ 6
40#define _18M_RATE_ 7
41#define _24M_RATE_ 8
42#define _36M_RATE_ 9
43#define _48M_RATE_ 10
44#define _54M_RATE_ 11
45
46#endif
47