halmac_hw_cfg.h 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2016 - 2018 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. ******************************************************************************/
  15. #ifndef __HALMAC__HW_CFG_H__
  16. #define __HALMAC__HW_CFG_H__
  17. #include <drv_conf.h> /* CONFIG_[IC], CONFIG_[INTF]_HCI */
  18. #ifdef CONFIG_RTL8723A
  19. #define HALMAC_8723A_SUPPORT 1
  20. #else
  21. #define HALMAC_8723A_SUPPORT 0
  22. #endif
  23. #ifdef CONFIG_RTL8188E
  24. #define HALMAC_8188E_SUPPORT 1
  25. #else
  26. #define HALMAC_8188E_SUPPORT 0
  27. #endif
  28. #ifdef CONFIG_RTL8821A
  29. #define HALMAC_8821A_SUPPORT 1
  30. #else
  31. #define HALMAC_8821A_SUPPORT 0
  32. #endif
  33. #ifdef CONFIG_RTL8723B
  34. #define HALMAC_8723B_SUPPORT 1
  35. #else
  36. #define HALMAC_8723B_SUPPORT 0
  37. #endif
  38. #ifdef CONFIG_RTL8812A
  39. #define HALMAC_8812A_SUPPORT 1
  40. #else
  41. #define HALMAC_8812A_SUPPORT 0
  42. #endif
  43. #ifdef CONFIG_RTL8192E
  44. #define HALMAC_8192E_SUPPORT 1
  45. #else
  46. #define HALMAC_8192E_SUPPORT 0
  47. #endif
  48. #ifdef CONFIG_RTL8881A
  49. #define HALMAC_8881A_SUPPORT 1
  50. #else
  51. #define HALMAC_8881A_SUPPORT 0
  52. #endif
  53. #ifdef CONFIG_RTL8821B
  54. #define HALMAC_8821B_SUPPORT 1
  55. #else
  56. #define HALMAC_8821B_SUPPORT 0
  57. #endif
  58. #ifdef CONFIG_RTL8814A
  59. #define HALMAC_8814A_SUPPORT 1
  60. #else
  61. #define HALMAC_8814A_SUPPORT 0
  62. #endif
  63. #ifdef CONFIG_RTL8881A
  64. #define HALMAC_8881A_SUPPORT 1
  65. #else
  66. #define HALMAC_8881A_SUPPORT 0
  67. #endif
  68. #ifdef CONFIG_RTL8703B
  69. #define HALMAC_8703B_SUPPORT 1
  70. #else
  71. #define HALMAC_8703B_SUPPORT 0
  72. #endif
  73. #ifdef CONFIG_RTL8723D
  74. #define HALMAC_8723D_SUPPORT 1
  75. #else
  76. #define HALMAC_8723D_SUPPORT 0
  77. #endif
  78. #ifdef CONFIG_RTL8188F
  79. #define HALMAC_8188F_SUPPORT 1
  80. #else
  81. #define HALMAC_8188F_SUPPORT 0
  82. #endif
  83. #ifdef CONFIG_RTL8821BMP
  84. #define HALMAC_8821BMP_SUPPORT 1
  85. #else
  86. #define HALMAC_8821BMP_SUPPORT 0
  87. #endif
  88. #ifdef CONFIG_RTL8814AMP
  89. #define HALMAC_8814AMP_SUPPORT 1
  90. #else
  91. #define HALMAC_8814AMP_SUPPORT 0
  92. #endif
  93. #ifdef CONFIG_RTL8195A
  94. #define HALMAC_8195A_SUPPORT 1
  95. #else
  96. #define HALMAC_8195A_SUPPORT 0
  97. #endif
  98. #ifdef CONFIG_RTL8821B
  99. #define HALMAC_8821B_SUPPORT 1
  100. #else
  101. #define HALMAC_8821B_SUPPORT 0
  102. #endif
  103. #ifdef CONFIG_RTL8196F
  104. #define HALMAC_8196F_SUPPORT 1
  105. #else
  106. #define HALMAC_8196F_SUPPORT 0
  107. #endif
  108. #ifdef CONFIG_RTL8197F
  109. #define HALMAC_8197F_SUPPORT 1
  110. #else
  111. #define HALMAC_8197F_SUPPORT 0
  112. #endif
  113. #ifdef CONFIG_RTL8198F
  114. #define HALMAC_8198F_SUPPORT 1
  115. #else
  116. #define HALMAC_8198F_SUPPORT 0
  117. #endif
  118. #ifdef CONFIG_RTL8192F
  119. #define HALMAC_8192F_SUPPORT 1
  120. #else
  121. #define HALMAC_8192F_SUPPORT 0
  122. #endif
  123. #ifdef CONFIG_RTL8812F
  124. #define HALMAC_8812F_SUPPORT 1
  125. #else
  126. #define HALMAC_8812F_SUPPORT 0
  127. #endif
  128. /* Halmac support IC version */
  129. #ifdef CONFIG_RTL8814B
  130. #define HALMAC_8814B_SUPPORT 1
  131. #else
  132. #define HALMAC_8814B_SUPPORT 0
  133. #endif
  134. #ifdef CONFIG_RTL8821C
  135. #define HALMAC_8821C_SUPPORT 1
  136. #else
  137. #define HALMAC_8821C_SUPPORT 0
  138. #endif
  139. #ifdef CONFIG_RTL8822B
  140. #define HALMAC_8822B_SUPPORT 1
  141. #else
  142. #define HALMAC_8822B_SUPPORT 0
  143. #endif
  144. #ifdef CONFIG_RTL8822C
  145. #define HALMAC_8822C_SUPPORT 1
  146. #else
  147. #define HALMAC_8822C_SUPPORT 0
  148. #endif
  149. /* Interface support */
  150. #ifdef CONFIG_SDIO_HCI
  151. #define HALMAC_SDIO_SUPPORT 1
  152. #else
  153. #define HALMAC_SDIO_SUPPORT 0
  154. #endif
  155. #ifdef CONFIG_USB_HCI
  156. #define HALMAC_USB_SUPPORT 1
  157. #else
  158. #define HALMAC_USB_SUPPORT 0
  159. #endif
  160. #ifdef CONFIG_PCI_HCI
  161. #define HALMAC_PCIE_SUPPORT 1
  162. #else
  163. #define HALMAC_PCIE_SUPPORT 0
  164. #endif
  165. #endif /* __HALMAC__HW_CFG_H__ */