genoa.pci.perf_defconfig 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. include $(WLAN_ROOT)/configs/genoa.common
  2. CONFIG_ROME_PCIE := n
  3. # Interface specific features
  4. CONFIG_ROME_IF = pci
  5. CONFIG_QMI_SUPPORT := y
  6. CONFIG_HIF_PCI := y
  7. CONFIG_EXT_WOW := y
  8. ifeq ($(CONFIG_PCI_MSM), y)
  9. CONFIG_FEATURE_WLAN_D0WOW := y
  10. endif
  11. # Data Path specific features
  12. CONFIG_WLAN_FASTPATH := y
  13. CONFIG_WLAN_NAPI := y
  14. CONFIG_ATH_11AC_TXCOMPACT := y
  15. CONFIG_QCA_LL_TX_FLOW_CONTROL_RESIZE := y
  16. CONFIG_LL_DP_SUPPORT := y
  17. ifeq ($(CONFIG_IPA), y)
  18. CONFIG_IPA_OFFLOAD := y
  19. endif
  20. ifeq ($(CONFIG_IPA3), y)
  21. CONFIG_IPA_OFFLOAD := y
  22. endif
  23. # Debug specific features
  24. CONFIG_MPC_UT_FRAMEWORK := n
  25. CONFIG_FEATURE_EPPING := n
  26. CONFIG_WLAN_NAPI_DEBUG := n
  27. CONFIG_WLAN_FEATURE_P2P_DEBUG := n
  28. CONFIG_WLAN_LOG_ENTER := n
  29. CONFIG_WLAN_LOG_EXIT := n
  30. # Features gets enabled on slub debug
  31. CONFIG_FEATURE_PKTLOG := y
  32. CONFIG_WLAN_DEBUG_CRASH_INJECT := n
  33. CONFIG_FEATURE_MEMDUMP_ENABLE := n
  34. ifeq ($(CONFIG_DEBUG_FS), y)
  35. CONFIG_WLAN_DEBUGFS := n
  36. CONFIG_WLAN_POWER_DEBUGFS := n
  37. endif
  38. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  39. CONFIG_DESC_DUP_DETECT_DEBUG := n
  40. CONFIG_DEBUG_RX_RING_BUFFER := n
  41. CONFIG_WLAN_OBJMGR_DEBUG:= n
  42. CONFIG_FEATURE_UNIT_TEST_SUSPEND := n
  43. CONFIG_LEAK_DETECTION := n
  44. endif
  45. # Genoa features vs Rome PCIe
  46. ifeq ($(CONFIG_ROME_PCIE), y)
  47. CONFIG_CHNL_MATRIX_RESTRICTION := y
  48. CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY := y
  49. else
  50. CONFIG_OL_RX_INDICATION_RECORD := y
  51. CONFIG_TSOSEG_DEBUG := n
  52. CONFIG_FEATURE_TSO_DEBUG := n
  53. CONFIG_FEATURE_TSO := y
  54. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
  55. CONFIG_HELIUMPLUS := y
  56. CONFIG_64BIT_PADDR := y
  57. CONFIG_WIFI_3_0_ADRASTEA := y
  58. CONFIG_ADRASTEA_RRI_ON_DDR := y
  59. CONFIG_ATH_PROCFS_DIAG_SUPPORT := y
  60. CONFIG_ADRASTEA_SHADOW_REGISTERS := y
  61. CONFIG_HTT_PADDR64 := y
  62. CONFIG_AR900B := y
  63. CONFIG_RX_OL := y
  64. CONFIG_QCN7605_SUPPORT := y
  65. CONFIG_HIF_REG_WINDOW_SUPPORT := y
  66. ifneq ($(CONFIG_X86), y)
  67. ifeq ($(CONFIG_INET_LRO), y)
  68. CONFIG_WLAN_LRO := y
  69. else
  70. CONFIG_WLAN_LRO := n
  71. endif
  72. endif
  73. ifneq ($(CONFIG_FORCE_ALLOC_FROM_DMA_ZONE), y)
  74. CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y
  75. endif
  76. endif # CONFIG_ROME_PCIE
  77. ifeq ($(CONFIG_CNSS), y)
  78. ifeq ($(CONFIG_HIF_PCI), y)
  79. CONFIG_PLD_PCIE_CNSS_FLAG := y
  80. endif
  81. endif
  82. ifeq ($(CONFIG_CNSS2), y)
  83. ifeq ($(CONFIG_HIF_PCI), y)
  84. CONFIG_PLD_PCIE_CNSS_FLAG := y
  85. CONFIG_PLD_PCIE_INIT_FLAG := y
  86. endif
  87. endif
  88. CONFIG_QCA_WIFI_FTM := n
  89. QCA_WIFI_FTM_NL80211 := n
  90. CONFIG_LINUX_QCMBR := n
  91. ###################################
  92. CONFIG_ENABLE_SIZE_OPTIMIZE := y
  93. # configure log buffer size
  94. CONFIG_CFG_NUM_DP_TRACE_RECORD := 1000
  95. CONFIG_CFG_NUM_HTC_CREDIT_HISTORY := 16
  96. CONFIG_CFG_NUM_WMI_EVENT_HISTORY := 16
  97. CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY := 16
  98. CONFIG_CFG_NUM_TX_RX_HISTOGRAM := 16
  99. CONFIG_CFG_NUM_RX_IND_RECORD := 1024
  100. ifeq ($(CONFIG_FEATURE_ROAM_DEBUG), y)
  101. CONFIG_CFG_NUM_ROAM_DEBUG_RECORD := 64
  102. endif
  103. ###################################