precomp.h 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. /*
  2. ** Id: //Department/DaVinci/BRANCHES/MT6620_WIFI_DRIVER_V2_3/include/precomp.h#2
  3. */
  4. /*! \file precomp.h
  5. \brief Collection of most compiler flags are described here.
  6. In this file we collect all compiler flags and detail the driver behavior if
  7. enable/disable such switch or adjust numeric parameters.
  8. */
  9. #ifndef _PRECOMP_H
  10. #define _PRECOMP_H
  11. /*******************************************************************************
  12. * C O M P I L E R F L A G S
  13. ********************************************************************************
  14. */
  15. #ifdef __GNUC__
  16. #if (DBG == 0)
  17. #pragma GCC diagnostic ignored "-Wformat"
  18. #endif
  19. #endif
  20. /*******************************************************************************
  21. * E X T E R N A L R E F E R E N C E S
  22. ********************************************************************************
  23. */
  24. #include "gl_os.h" /* Include "config.h" */
  25. #if CFG_ENABLE_WIFI_DIRECT
  26. #include "gl_p2p_os.h"
  27. #endif
  28. #include "debug.h"
  29. #include "link.h"
  30. #include "queue.h"
  31. /*------------------------------------------------------------------------------
  32. * .\include\mgmt
  33. *------------------------------------------------------------------------------
  34. */
  35. #include "wlan_typedef.h"
  36. #include "mac.h"
  37. /* Dependency: mac.h (MAC_ADDR_LEN) */
  38. #include "wlan_def.h"
  39. #if CFG_SUPPORT_SWCR
  40. #include "swcr.h"
  41. #endif
  42. /*------------------------------------------------------------------------------
  43. * .\include\nic
  44. *------------------------------------------------------------------------------
  45. */
  46. /* Dependency: wlan_def.h (ENUM_NETWORK_TYPE_T) */
  47. #include "cmd_buf.h"
  48. /* Dependency: mac.h (MAC_ADDR_LEN) */
  49. #include "nic_cmd_event.h"
  50. /* Dependency: nic_cmd_event.h (P_EVENT_CONNECTION_STATUS) */
  51. #include "nic.h"
  52. #include "nic_init_cmd_event.h"
  53. #include "hif_rx.h"
  54. #include "hif_tx.h"
  55. #include "nic_tx.h"
  56. /* Dependency: hif_rx.h (P_HIF_RX_HEADER_T) */
  57. #include "nic_rx.h"
  58. #include "bss.h"
  59. #include "nic_rate.h"
  60. #if CFG_ENABLE_WIFI_DIRECT
  61. #include "p2p_typedef.h"
  62. #include "p2p_cmd_buf.h"
  63. #include "p2p_nic_cmd_event.h"
  64. #include "p2p_mac.h"
  65. #include "p2p_nic.h"
  66. #endif
  67. /*------------------------------------------------------------------------------
  68. * .\include\mgmt
  69. *------------------------------------------------------------------------------
  70. */
  71. #include "hem_mbox.h"
  72. #include "scan.h"
  73. #include "wlan_lib.h"
  74. #include "wlan_oid.h"
  75. #include "wlan_bow.h"
  76. #if CFG_ENABLE_WIFI_DIRECT
  77. #include "wlan_p2p.h"
  78. #endif
  79. #include "hal.h"
  80. #if defined(MT6630)
  81. #include "mt6630_reg.h"
  82. #endif
  83. #include "rlm.h"
  84. #include "rlm_domain.h"
  85. #include "rlm_protection.h"
  86. #include "rlm_obss.h"
  87. #include "rate.h"
  88. #if CFG_SUPPORT_802_11V
  89. #include "wnm.h"
  90. #endif
  91. #include "aa_fsm.h"
  92. #include "cnm_timer.h"
  93. #include "que_mgt.h"
  94. #if CFG_ENABLE_BT_OVER_WIFI
  95. #include "bow.h"
  96. #include "bow_fsm.h"
  97. #endif
  98. #include "pwr_mgt.h"
  99. #if (CFG_SUPPORT_STATISTICS == 1)
  100. #include "stats.h"
  101. #endif /* CFG_SUPPORT_STATISTICS */
  102. #include "cnm.h"
  103. /* Dependency: aa_fsm.h (ENUM_AA_STATE_T), p2p_fsm.h (WPS_ATTRI_MAX_LEN_DEVICE_NAME) */
  104. #include "cnm_mem.h"
  105. #include "cnm_scan.h"
  106. #if CFG_ENABLE_WIFI_DIRECT
  107. #include "p2p_rlm_obss.h"
  108. #include "p2p_bss.h"
  109. #include "p2p.h"
  110. #include "p2p_rlm.h"
  111. #include "p2p_assoc.h"
  112. #include "p2p_ie.h"
  113. #include "p2p_role.h"
  114. #include "p2p_func.h"
  115. #include "p2p_scan.h"
  116. #include "p2p_dev.h"
  117. #endif
  118. #include "privacy.h"
  119. #include "mib.h"
  120. #include "auth.h"
  121. #include "assoc.h"
  122. #if CFG_SUPPORT_ROAMING
  123. #include "roaming_fsm.h"
  124. #endif /* CFG_SUPPORT_ROAMING */
  125. #include "ais_fsm.h"
  126. #include "adapter.h"
  127. #include "que_mgt.h"
  128. #include "rftest.h"
  129. #include "rsn.h"
  130. #include "sec_fsm.h"
  131. #if CFG_SUPPORT_WAPI
  132. #include "wapi.h"
  133. #endif
  134. /*------------------------------------------------------------------------------
  135. * NVRAM structure
  136. *------------------------------------------------------------------------------
  137. */
  138. #include "CFG_Wifi_File.h"
  139. #if CFG_ENABLE_WIFI_DIRECT
  140. #include "gl_p2p_kal.h"
  141. #endif
  142. #if CFG_SUPPORT_TDLS
  143. #include "tdls.h"
  144. #endif
  145. extern BOOLEAN fgIsResetting;
  146. /*******************************************************************************
  147. * C O N S T A N T S
  148. ********************************************************************************
  149. */
  150. /*******************************************************************************
  151. * D A T A T Y P E S
  152. ********************************************************************************
  153. */
  154. /*******************************************************************************
  155. * P U B L I C D A T A
  156. ********************************************************************************
  157. */
  158. /*******************************************************************************
  159. * P R I V A T E D A T A
  160. ********************************************************************************
  161. */
  162. /*******************************************************************************
  163. * M A C R O S
  164. ********************************************************************************
  165. */
  166. /*******************************************************************************
  167. * F U N C T I O N D E C L A R A T I O N S
  168. ********************************************************************************
  169. */
  170. /*******************************************************************************
  171. * F U N C T I O N S
  172. ********************************************************************************
  173. */
  174. #endif /* _PRECOMP_H */