halbt_precomp.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2007 - 2011 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. * The full GNU General Public License is included in this distribution in the
  15. * file called LICENSE.
  16. *
  17. * Contact Information:
  18. * wlanfae <wlanfae@realtek.com>
  19. * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
  20. * Hsinchu 300, Taiwan.
  21. * Larry Finger <Larry.Finger@lwfinger.net>
  22. *
  23. ******************************************************************************/
  24. #ifndef __HALBT_PRECOMP_H__
  25. #define __HALBT_PRECOMP_H__
  26. /*************************************************************
  27. * include files
  28. *************************************************************/
  29. #include "../wifi.h"
  30. #include "../efuse.h"
  31. #include "../base.h"
  32. #include "../regd.h"
  33. #include "../cam.h"
  34. #include "../ps.h"
  35. #include "../pci.h"
  36. #include "halbtcoutsrc.h"
  37. /* Interface type */
  38. #define RT_PCI_INTERFACE 1
  39. #define RT_USB_INTERFACE 2
  40. #define RT_SDIO_INTERFACE 3
  41. #define DEV_BUS_TYPE RT_PCI_INTERFACE
  42. #include "halbtc8192e2ant.h"
  43. #include "halbtc8723b1ant.h"
  44. #include "halbtc8723b2ant.h"
  45. #include "halbtc8821a2ant.h"
  46. #include "halbtc8821a1ant.h"
  47. #define GetDefaultAdapter(padapter) padapter
  48. #define BIT0 0x00000001
  49. #define BIT1 0x00000002
  50. #define BIT2 0x00000004
  51. #define BIT3 0x00000008
  52. #define BIT4 0x00000010
  53. #define BIT5 0x00000020
  54. #define BIT6 0x00000040
  55. #define BIT7 0x00000080
  56. #define BIT8 0x00000100
  57. #define BIT9 0x00000200
  58. #define BIT10 0x00000400
  59. #define BIT11 0x00000800
  60. #define BIT12 0x00001000
  61. #define BIT13 0x00002000
  62. #define BIT14 0x00004000
  63. #define BIT15 0x00008000
  64. #define BIT16 0x00010000
  65. #define BIT17 0x00020000
  66. #define BIT18 0x00040000
  67. #define BIT19 0x00080000
  68. #define BIT20 0x00100000
  69. #define BIT21 0x00200000
  70. #define BIT22 0x00400000
  71. #define BIT23 0x00800000
  72. #define BIT24 0x01000000
  73. #define BIT25 0x02000000
  74. #define BIT26 0x04000000
  75. #define BIT27 0x08000000
  76. #define BIT28 0x10000000
  77. #define BIT29 0x20000000
  78. #define BIT30 0x40000000
  79. #define BIT31 0x80000000
  80. #endif /* __HALBT_PRECOMP_H__ */