rtl8712_ratectrl_bitdef.h 1.5 KB

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