genoa.common 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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. #Flag to enable/disable Avoid acs freq feature
  52. CONFIG_SAP_AVOID_ACS_FREQ_LIST := n
  53. ifeq ($(CONFIG_ARCH_MSM8996), y)
  54. CONFIG_CHANNEL_HOPPING_ALL_BANDS := y
  55. endif
  56. # Debug specific features
  57. CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY := y
  58. BUILD_DEBUG_VERSION := y
  59. BUILD_DIAG_VERSION := n
  60. CONFIG_REMOVE_PKT_LOG := y
  61. CONFIG_FEATURE_HTC_CREDIT_HISTORY := y
  62. CONFIG_TRACE_RECORD_FEATURE := y
  63. CONFIG_WLAN_NUD_TRACKING := n
  64. CONFIG_CP_STATS := y
  65. CONFIG_FEATURE_FW_LOG_PARSING := n
  66. CONFIG_PTT_SOCK_SVC_ENABLE := y
  67. CONFIG_WMI_INTERFACE_EVENT_LOGGING := y
  68. CONFIG_WLAN_FEATURE_LINK_LAYER_STATS := n
  69. CONFIG_FEATURE_ROAM_DEBUG := y
  70. CONFIG_WLAN_LOG_FATAL := y
  71. CONFIG_WLAN_LOG_ERROR := y
  72. CONFIG_WLAN_LOG_WARN := y
  73. CONFIG_WLAN_LOG_INFO := y
  74. CONFIG_WLAN_LOG_DEBUG := y
  75. ifeq ($(CONFIG_REMOVE_PKT_LOG), y)
  76. CONFIG_WDI_EVENT_ENABLE := n
  77. else
  78. CONFIG_WDI_EVENT_ENABLE := y
  79. endif
  80. PANIC_ON_BUG := y
  81. WLAN_WARN_ON_ASSERT := y
  82. CONFIG_WLAN_LOGGING_SOCK_SVC := y
  83. #Flag to enable wbuff feature
  84. CONFIG_WLAN_WBUFF := n
  85. # other features
  86. WLAN_OPEN_SOURCE := y
  87. CONFIG_ATH_PERF_PWR_OFFLOAD := y
  88. CONFIG_ATH_BUS_PM := n
  89. CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := n
  90. CONFIG_ATH_SUPPORT_SPECTRAL := n
  91. CONFIG_LITTLE_ENDIAN := y
  92. CONFIG_ATH_PCIE_ACCESS_DEBUG := n
  93. CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
  94. CONFIG_QCA_SINGLE_BINARY_SUPPORT := n
  95. CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := y
  96. CONFIG_FEATURE_SECURE_FIRMWARE := n
  97. CONFIG_WLAN_FEATURE_PACKET_FILTERING := y
  98. CONFIG_WLAN_NS_OFFLOAD := y
  99. CONFIG_FEATURE_WLAN_RA_FILTERING:= y
  100. ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y)
  101. CONFIG_FEATURE_WLAN_LPHB := y
  102. endif
  103. CONFIG_FEATURE_WLAN_EXTSCAN := n
  104. CONFIG_MCL := y
  105. CONFIG_REG_CLIENT := y
  106. CONFIG_WLAN_OFFLOAD_PACKETS := y
  107. CONFIG_WLAN_SYNC_TSF := y
  108. CONFIG_WLAN_FEATURE_DISA := n
  109. CONFIG_WLAN_FEATURE_FIPS := y
  110. CONFIG_WLAN_FEATURE_SAE := y
  111. CONFIG_CHNL_MATRIX_RESTRICTION := n
  112. CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY := y
  113. CONFIG_WLAN_FEATURE_BMI := n
  114. # Enable FW stats version 2
  115. CONFIG_AR900B := y
  116. #Flags to enable/disable vendor commands
  117. CONFIG_FEATURE_RSSI_MONITOR := n
  118. CONFIG_FEATURE_BSS_TRANSITION := n
  119. CONFIG_FEATURE_STATION_INFO := n
  120. CONFIG_FEATURE_TX_POWER := n
  121. CONFIG_FEATURE_OTA_TEST := n
  122. CONFIG_FEATURE_ACTIVE_TOS := n
  123. CONFIG_FEATURE_SAR_LIMITS := y
  124. CONFIG_FEATURE_CONCURRENCY_MATRIX := n
  125. CONFIG_FEATURE_SAP_COND_CHAN_SWITCH := n
  126. CONFIG_FEATURE_P2P_LISTEN_OFFLOAD := n
  127. #Flags to enable/disable WMI APIs
  128. CONFIG_WMI_ROAM_SUPPORT := y
  129. CONFIG_WMI_CONCURRENCY_SUPPORT := y
  130. CONFIG_WMI_STA_SUPPORT := y
  131. ifeq ($(CONFIG_ARCH_SDM845), y)
  132. ifeq ($(CONFIG_IPA_OFFLOAD), y)
  133. CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
  134. endif
  135. endif
  136. #Data Path specific features
  137. CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n
  138. CONFIG_CHECKSUM_OFFLOAD := y
  139. CONFIG_QCA_SUPPORT_TX_THROTTLE := y
  140. ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y)
  141. CONFIG_GTK_OFFLOAD := y
  142. endif
  143. CONFIG_QCACLD_FEATURE_APF := y
  144. #Flag to enable SARv1 -> SARv2 conversion
  145. CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n
  146. ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y)
  147. ifneq ($(WLAN_DISABLE_BUILD_TAG), y)
  148. CONFIG_BUILD_TAG := y
  149. endif
  150. endif
  151. #Buffer allocations dynamically
  152. ifeq ($(CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY), y)
  153. CONFIG_WLAN_DFS_STATIC_MEM_ALLOC := n
  154. endif
  155. # WoW filer configs
  156. CONFIG_CFG_PMO_WOW_FILTERS_MAX := 16
  157. # Offload configs
  158. CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV := 2
  159. CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV := 1
  160. # Max Periodic Tx Pattern Config
  161. CONFIG_CFG_MAX_PERIODIC_TX_PTRNS := 2
  162. # Max Sta Vdev Config
  163. CONFIG_CFG_MAX_STA_VDEVS := 2
  164. # Additional peers sent to firmware
  165. CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS := 0
  166. # Number of TDLS peers that each Tdls vdev can track
  167. CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES := 4
  168. # Number of vdevs supported at one time, used for allocating memory
  169. CONFIG_WLAN_MAX_VDEVS := 3
  170. #Number of STA sessions max connected to our SAP, used for allocating memory
  171. #should never be less then number of max peers - INI
  172. CONFIG_SIR_SAP_MAX_NUM_PEERS := 10
  173. #Max no of offloaded beaconing entities supported
  174. CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV := 3
  175. #Beacon offload config
  176. CONFIG_WMI_BCN_OFFLOAD := y
  177. #Flag to enable Supported Operating class
  178. CONFIG_HOST_OPCLASS := y
  179. #Enable STATE MACHINE HISTORY
  180. CONFIG_SM_ENG_HIST := n
  181. ifeq (y,$(findstring y,$(CONFIG_ARCH_MSM) $(CONFIG_ARCH_QCOM) $(CONFIG_QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK)))
  182. CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH := y
  183. endif
  184. CONFIG_SAP_DHCP_FW_IND := n
  185. ###################################