genoa.common 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. # Protocol specific features
  2. #features not required for GENOA IOT, compilation errors are there.
  3. CONFIG_SUPPORT_11AX := y
  4. CONFIG_160MHZ_SUPPORT := y
  5. CONFIG_FEATURE_STATS_EXT := n
  6. CONFIG_QCA_IBSS_SUPPORT := y
  7. CONFIG_FEATURE_WLAN_FT_IEEE8021X := y
  8. CONFIG_FEATURE_WLAN_FT_PSK := y
  9. #required features
  10. CONFIG_FEATURE_WLAN_RMC := n
  11. CONFIG_QCACLD_WLAN_LFR2 := y
  12. CONFIG_QCACLD_WLAN_LFR3 := n
  13. CONFIG_QCOM_TDLS := y
  14. CONFIG_QCACLD_FEATURE_GREEN_AP := n
  15. CONFIG_CRYPTO_COMPONENT := y
  16. CONFIG_QCOM_VOWIFI_11R := y
  17. CONFIG_WLAN_FEATURE_FILS := y
  18. CONFIG_WLAN_FEATURE_11W := y
  19. CONFIG_QCOM_LTE_COEX := n
  20. CONFIG_WLAN_FEATURE_LPSS := n
  21. CONFIG_QCACLD_FEATURE_NAN := y
  22. CONFIG_POWER_MANAGEMENT_OFFLOAD := y
  23. CONFIG_LFR_SUBNET_DETECTION := y
  24. CONFIG_MCC_TO_SCC_SWITCH := y
  25. CONFIG_QCOM_ESE := n
  26. CONFIG_WLAN_OPEN_P2P_INTERFACE := y
  27. CONFIG_WLAN_CONV_SPECTRAL_ENABLE := n
  28. CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y
  29. CONFIG_WLAN_DFS_MASTER_ENABLE := y
  30. CONFIG_WIFI_POS_CONVERGED := y
  31. CONFIG_WIFI_POS_LEGACY := n
  32. CONFIG_FEATURE_WLAN_WAPI := y
  33. CONFIG_AGEIE_ON_SCAN_RESULTS := y
  34. CONFIG_WLAN_PMO_ENABLE := y
  35. CONFIG_CONVERGED_P2P_ENABLE := y
  36. CONFIG_WLAN_POLICY_MGR_ENABLE := y
  37. CONFIG_HDD_INIT_WITH_RTNL_LOCK := y
  38. CONFIG_WLAN_FEATURE_TWT := n
  39. CONFIG_WMI_CMD_STRINGS := y
  40. CONFIG_SOFTAP_CHANNEL_RANGE := y
  41. CONFIG_FEATURE_WLAN_SCAN_PNO := y
  42. CONFIG_WLAN_FEATURE_DSRC := n
  43. CONFIG_FEATURE_MONITOR_MODE_SUPPORT := n
  44. CONFIG_DP_TRACE := y
  45. CONFIG_QCACLD_FEATURE_METERING := n
  46. #Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode)
  47. CONFIG_WLAN_DYNAMIC_CVM := n
  48. #We might need to disable WEXT support in perf builds in future
  49. ifeq ($(CONFIG_WIRELESS_EXT), y)
  50. CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
  51. endif
  52. CONFIG_HOST_11D_SCAN := y
  53. #Flag to enable/disable Avoid acs freq feature
  54. CONFIG_SAP_AVOID_ACS_FREQ_LIST := n
  55. ifeq ($(CONFIG_ARCH_MSM8996), y)
  56. CONFIG_CHANNEL_HOPPING_ALL_BANDS := y
  57. endif
  58. # Debug specific features
  59. CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := y
  60. BUILD_DEBUG_VERSION := y
  61. BUILD_DIAG_VERSION := n
  62. CONFIG_REMOVE_PKT_LOG := y
  63. CONFIG_FEATURE_HTC_CREDIT_HISTORY := y
  64. CONFIG_TRACE_RECORD_FEATURE := y
  65. CONFIG_WLAN_NUD_TRACKING := n
  66. CONFIG_CP_STATS := y
  67. CONFIG_FEATURE_FW_LOG_PARSING := n
  68. CONFIG_PTT_SOCK_SVC_ENABLE := y
  69. CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
  70. CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := n
  71. CONFIG_FEATURE_ROAM_DEBUG := y
  72. CONFIG_WLAN_LOG_FATAL := y
  73. CONFIG_WLAN_LOG_ERROR := y
  74. CONFIG_WLAN_LOG_WARN := y
  75. CONFIG_WLAN_LOG_INFO := y
  76. CONFIG_WLAN_LOG_DEBUG := y
  77. ifeq ($(CONFIG_REMOVE_PKT_LOG), y)
  78. CONFIG_WDI_EVENT_ENABLE := n
  79. else
  80. CONFIG_WDI_EVENT_ENABLE := y
  81. endif
  82. ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
  83. CONFIG_PKTLOG_LEGACY := y
  84. endif
  85. #Enable the type_specific_data in the ath_pktlog_arg
  86. ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
  87. CONFIG_PKTLOG_HAS_SPECIFIC_DATA := y
  88. endif
  89. ifeq ($(CONFIG_SLUB_DEBUG), y)
  90. PANIC_ON_BUG := y
  91. WLAN_WARN_ON_ASSERT := y
  92. else ifeq ($(CONFIG_PERF_DEBUG), y)
  93. PANIC_ON_BUG := y
  94. WLAN_WARN_ON_ASSERT := y
  95. else
  96. PANIC_ON_BUG := n
  97. WLAN_WARN_ON_ASSERT := n
  98. endif
  99. CONFIG_WLAN_LOGGING_SOCK_SVC := y
  100. #Flag to enable wbuff feature
  101. CONFIG_WLAN_WBUFF := n
  102. # other features
  103. WLAN_OPEN_SOURCE := y
  104. CONFIG_ATH_PERF_PWR_OFFLOAD := y
  105. CONFIG_ATH_BUS_PM := n
  106. CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n
  107. CONFIG_ATH_SUPPORT_SPECTRAL := n
  108. CONFIG_LITTLE_ENDIAN := y
  109. CONFIG_ATH_PCIE_ACCESS_DEBUG := n
  110. CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
  111. CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
  112. CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
  113. CONFIG_FEATURE_SECURE_FIRMWARE := n
  114. CONFIG_WLAN_FEATURE_PACKET_FILTERING := y
  115. CONFIG_WLAN_NS_OFFLOAD := y
  116. CONFIG_FEATURE_WLAN_RA_FILTERING:= y
  117. ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y)
  118. CONFIG_FEATURE_WLAN_LPHB := y
  119. endif
  120. CONFIG_FEATURE_WLAN_EXTSCAN := n
  121. CONFIG_MCL := y
  122. CONFIG_REG_CLIENT := y
  123. CONFIG_WLAN_OFFLOAD_PACKETS := y
  124. CONFIG_WLAN_SYNC_TSF := y
  125. CONFIG_WLAN_FEATURE_DISA := n
  126. CONFIG_WLAN_FEATURE_FIPS := y
  127. CONFIG_WLAN_FEATURE_SAE := y
  128. CONFIG_CHNL_MATRIX_RESTRICTION := n
  129. CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := y
  130. CONFIG_WLAN_FEATURE_BMI := n
  131. # Enable FW stats version 2
  132. CONFIG_AR900B := y
  133. #Flags to enable/disable vendor commands
  134. CONFIG_FEATURE_RSSI_MONITOR := n
  135. CONFIG_FEATURE_BSS_TRANSITION := n
  136. CONFIG_FEATURE_STATION_INFO := n
  137. CONFIG_FEATURE_TX_POWER := n
  138. CONFIG_FEATURE_OTA_TEST := n
  139. CONFIG_FEATURE_ACTIVE_TOS := n
  140. CONFIG_FEATURE_SAR_LIMITS := y
  141. CONFIG_FEATURE_CONCURRENCY_MATRIX := n
  142. CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := n
  143. CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := n
  144. #Flags to enable/disable WMI APIs
  145. CONFIG_WMI_ROAM_SUPPORT := y
  146. CONFIG_WMI_CONCURRENCY_SUPPORT := y
  147. CONFIG_WMI_STA_SUPPORT := y
  148. ifeq ($(CONFIG_ARCH_SDM845), y)
  149. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  150. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  151. endif
  152. endif
  153. #Data Path specific features
  154. CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n
  155. CONFIG_CHECKSUM_OFFLOAD := y
  156. CONFIG_QCA_SUPPORT_TX_THROTTLE := y
  157. ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y)
  158. CONFIG_GTK_OFFLOAD := y
  159. endif
  160. CONFIG_QCACLD_FEATURE_APF := y
  161. #Flag to enable SARv1 -> SARv2 conversion
  162. CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n
  163. ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y)
  164. ifneq ($(WLAN_DISABLE_BUILD_TAG), y)
  165. CONFIG_BUILD_TAG := y
  166. endif
  167. endif
  168. #Buffer allocations dynamically
  169. ifeq ($(CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY), y)
  170. CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := n
  171. endif
  172. # WoW filer configs
  173. CONFIG_CFG_PMO_WOW_FILTERS_MAX := 16
  174. # Offload configs
  175. CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV := 2
  176. CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV := 1
  177. # Max Periodic Tx Pattern Config
  178. CONFIG_CFG_MAX_PERIODIC_TX_PTRNS := 2
  179. # Max Sta Vdev Config
  180. CONFIG_CFG_MAX_STA_VDEVS := 2
  181. # Additional peers sent to firmware
  182. CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS := 0
  183. # Number of TDLS peers that each Tdls vdev can track
  184. CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES := 4
  185. # Number of vdevs supported at one time, used for allocating memory
  186. CONFIG_WLAN_MAX_VDEVS := 3
  187. #Number of STA sessions max connected to our SAP, used for allocating memory
  188. #should never be less then number of max peers - INI
  189. CONFIG_SIR_SAP_MAX_NUM_PEERS := 10
  190. #Max no of offloaded beaconing entities supported
  191. CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV := 3
  192. #Beacon offload config
  193. CONFIG_WMI_BCN_OFFLOAD := y
  194. #Flag to enable Supported Operating class
  195. CONFIG_HOST_OPCLASS := y
  196. #Enable STATE MACHINE HISTORY
  197. CONFIG_SM_ENG_HIST := n
  198. ifeq (y,$(findstring y,$(CONFIG_ARCH_MSM) $(CONFIG_ARCH_QCOM) $(CONFIG_QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK)))
  199. CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y
  200. endif
  201. CONFIG_SAP_DHCP_FW_IND := n
  202. #Enable FW Offload
  203. CONFIG_WLAN_FW_OFFLOAD := y
  204. #Enable PCIe Shadow Register
  205. CONFIG_QCN7605_PCIE_SHADOW_REG_SUPPORT := y
  206. ###################################