genoa.common 7.0 KB

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