mp_precomp.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2013 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 __MP_PRECOMP_H__
  21. #define __MP_PRECOMP_H__
  22. #include <drv_types.h>
  23. #include <hal_data.h>
  24. #define BT_TMP_BUF_SIZE 100
  25. #ifdef PLATFORM_LINUX
  26. #define rsprintf snprintf
  27. #elif defined(PLATFORM_WINDOWS)
  28. #define rsprintf sprintf_s
  29. #endif
  30. #define DCMD_Printf DBG_BT_INFO
  31. #define delay_ms(ms) rtw_mdelay_os(ms)
  32. #ifdef bEnable
  33. #undef bEnable
  34. #endif
  35. #define WPP_SOFTWARE_TRACE 0
  36. typedef enum _BTC_MSG_COMP_TYPE {
  37. COMP_COEX = 0,
  38. COMP_MAX
  39. } BTC_MSG_COMP_TYPE;
  40. extern u4Byte GLBtcDbgType[];
  41. #define DBG_OFF 0
  42. #define DBG_SEC 1
  43. #define DBG_SERIOUS 2
  44. #define DBG_WARNING 3
  45. #define DBG_LOUD 4
  46. #define DBG_TRACE 5
  47. #ifdef CONFIG_BT_COEXIST
  48. #define BT_SUPPORT 1
  49. #define COEX_SUPPORT 1
  50. #define HS_SUPPORT 1
  51. #else
  52. #define BT_SUPPORT 0
  53. #define COEX_SUPPORT 0
  54. #define HS_SUPPORT 0
  55. #endif
  56. #include "halbtcoutsrc.h"
  57. #include "halbtc8192e1ant.h"
  58. #include "halbtc8192e2ant.h"
  59. #include "halbtc8723b1ant.h"
  60. #include "halbtc8723b2ant.h"
  61. #include "halbtc8812a1ant.h"
  62. #include "halbtc8812a2ant.h"
  63. #include "halbtc8821a1ant.h"
  64. #include "halbtc8821a2ant.h"
  65. #include "halbtc8703b1ant.h"
  66. #include "halbtc8723d1ant.h"
  67. #include "halbtc8723d2ant.h"
  68. #include "halbtc8822b1ant.h"
  69. #include "halbtc8822b2ant.h"
  70. #include "halbtc8821c1ant.h"
  71. #include "halbtc8821c2ant.h"
  72. /* for wifi only mode */
  73. #include "hal_btcoex_wifionly.h"
  74. #include "halbtc8723bwifionly.h"
  75. #include "halbtc8822bwifionly.h"
  76. #include "halbtc8821cwifionly.h"
  77. #endif /* __MP_PRECOMP_H__ */