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 * 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> 24 * 25 ******************************************************************************/ 26 #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 48