genoa.common 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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_QCOM_VOWIFI_11R := y
  16. CONFIG_WLAN_FEATURE_FILS := y
  17. CONFIG_WLAN_FEATURE_11W := y
  18. CONFIG_QCOM_LTE_COEX := n
  19. CONFIG_WLAN_FEATURE_LPSS := n
  20. CONFIG_QCACLD_FEATURE_NAN := y
  21. CONFIG_POWER_MANAGEMENT_OFFLOAD := y
  22. CONFIG_LFR_SUBNET_DETECTION := y
  23. CONFIG_MCC_TO_SCC_SWITCH := y
  24. CONFIG_QCOM_ESE := n
  25. CONFIG_WLAN_OPEN_P2P_INTERFACE := y
  26. CONFIG_WLAN_CONV_SPECTRAL_ENABLE := n
  27. CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY := y
  28. CONFIG_WLAN_DFS_MASTER_ENABLE := y
  29. CONFIG_WIFI_POS_CONVERGED := y
  30. CONFIG_WIFI_POS_LEGACY := n
  31. CONFIG_FEATURE_WLAN_WAPI := y
  32. CONFIG_AGEIE_ON_SCAN_RESULTS := y
  33. CONFIG_LEGACY_CHAN_ENUM := 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. CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
  50. CONFIG_HOST_11D_SCAN := y
  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 := n
  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 := n
  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. PANIC_ON_BUG := y
  79. WLAN_WARN_ON_ASSERT := y
  80. CONFIG_WLAN_LOGGING_SOCK_SVC := y
  81. #Flag to enable wbuff feature
  82. CONFIG_WLAN_WBUFF := n
  83. # other features
  84. WLAN_OPEN_SOURCE := y
  85. CONFIG_ATH_PERF_PWR_OFFLOAD := y
  86. CONFIG_ATH_BUS_PM := n
  87. CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n
  88. CONFIG_ATH_SUPPORT_SPECTRAL := n
  89. CONFIG_LITTLE_ENDIAN := y
  90. CONFIG_ATH_PCIE_ACCESS_DEBUG := n
  91. CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
  92. CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
  93. CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
  94. CONFIG_FEATURE_SECURE_FIRMWARE := n
  95. CONFIG_WLAN_FEATURE_PACKET_FILTERING := y
  96. CONFIG_WLAN_NS_OFFLOAD := y
  97. CONFIG_FEATURE_WLAN_RA_FILTERING:= y
  98. ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y)
  99. CONFIG_FEATURE_WLAN_LPHB := y
  100. endif
  101. CONFIG_FEATURE_WLAN_EXTSCAN := n
  102. CONFIG_MCL := y
  103. CONFIG_REG_CLIENT := y
  104. CONFIG_WLAN_OFFLOAD_PACKETS := y
  105. CONFIG_WLAN_SYNC_TSF := y
  106. CONFIG_WLAN_FEATURE_DISA := n
  107. CONFIG_WLAN_FEATURE_FIPS := y
  108. CONFIG_WLAN_FEATURE_SAE := y
  109. CONFIG_CHNL_MATRIX_RESTRICTION := n
  110. CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := y
  111. CONFIG_WLAN_FEATURE_BMI := n
  112. #Flags to enable/disable vendor commands
  113. CONFIG_FEATURE_RSSI_MONITOR := n
  114. CONFIG_FEATURE_BSS_TRANSITION := n
  115. CONFIG_FEATURE_STATION_INFO := n
  116. CONFIG_FEATURE_TX_POWER := n
  117. CONFIG_FEATURE_OTA_TEST := n
  118. CONFIG_FEATURE_ACTIVE_TOS := n
  119. CONFIG_FEATURE_SAR_LIMITS := y
  120. CONFIG_FEATURE_CONCURRENCY_MATRIX := n
  121. CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := n
  122. CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := n
  123. #Flags to enable/disable WMI APIs
  124. CONFIG_WMI_ROAM_SUPPORT := y
  125. CONFIG_WMI_CONCURRENCY_SUPPORT := y
  126. CONFIG_WMI_STA_SUPPORT := y
  127. ifeq ($(CONFIG_ARCH_SDM845), y)
  128. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  129. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  130. endif
  131. endif
  132. #Data Path specific features
  133. CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n
  134. CONFIG_CHECKSUM_OFFLOAD := y
  135. CONFIG_QCA_SUPPORT_TX_THROTTLE := y
  136. ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y)
  137. CONFIG_GTK_OFFLOAD := y
  138. endif
  139. CONFIG_QCACLD_FEATURE_APF := y
  140. #Flag to enable SARv1 -> SARv2 conversion
  141. CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n
  142. ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y)
  143. ifneq ($(WLAN_DISABLE_BUILD_TAG), y)
  144. CONFIG_BUILD_TAG := y
  145. endif
  146. endif
  147. #Buffer allocations dynamically
  148. ifeq ($(CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY), y)
  149. CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := n
  150. endif
  151. # WoW filer configs
  152. CONFIG_CFG_PMO_WOW_FILTERS_MAX := 16
  153. # Offload configs
  154. CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV := 2
  155. CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV := 1
  156. # Max Periodic Tx Pattern Config
  157. CONFIG_CFG_MAX_PERIODIC_TX_PTRNS := 2
  158. # Max Sta Vdev Config
  159. CONFIG_CFG_MAX_STA_VDEVS := 2
  160. # Additional peers sent to firmware
  161. CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS := 0
  162. # Number of TDLS peers that each Tdls vdev can track
  163. CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES := 4
  164. # Number of vdevs supported at one time, used for allocating memory
  165. CONFIG_WLAN_MAX_VDEVS := 3
  166. #Number of STA sessions max connected to our SAP, used for allocating memory
  167. #should never be less then number of max peers - INI
  168. CONFIG_SIR_SAP_MAX_NUM_PEERS := 10
  169. #Max no of offloaded beaconing entities supported
  170. CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV := 3
  171. #Beacon offload config
  172. CONFIG_WMI_BCN_OFFLOAD := y
  173. #Flag to enable Supported Operating class
  174. CONFIG_HOST_OPCLASS := y
  175. #Enable STATE MACHINE HISTORY
  176. CONFIG_SM_ENG_HIST := n
  177. ifeq (y,$(findstring y,$(CONFIG_ARCH_MSM) $(CONFIG_ARCH_QCOM)))
  178. CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y
  179. endif
  180. ###################################