rtl871x_wlan_sme.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #define MSR_APMODE 0x0C
  29. #define MSR_STAMODE 0x08
  30. #define MSR_ADHOCMODE 0x04
  31. #define MSR_NOLINKMODE 0x00
  32. #define _1M_RATE_ 0
  33. #define _2M_RATE_ 1
  34. #define _5M_RATE_ 2
  35. #define _11M_RATE_ 3
  36. #define _6M_RATE_ 4
  37. #define _9M_RATE_ 5
  38. #define _12M_RATE_ 6
  39. #define _18M_RATE_ 7
  40. #define _24M_RATE_ 8
  41. #define _36M_RATE_ 9
  42. #define _48M_RATE_ 10
  43. #define _54M_RATE_ 11
  44. #endif