genoa.pci.perf_defconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. ifeq ($(CONFIG_PCI_MSM), y)
  8. CONFIG_FEATURE_WLAN_D0WOW := y
  9. endif
  10. # Data Path specific features
  11. CONFIG_WLAN_FASTPATH := y
  12. CONFIG_WLAN_NAPI := y
  13. CONFIG_ATH_11AC_TXCOMPACT := y
  14. CONFIG_QCA_LL_TX_FLOW_CONTROL_RESIZE := y
  15. CONFIG_LL_DP_SUPPORT := y
  16. CONFIG_DATA_CE_SW_INDEX_NO_INLINE_UPDATE := n
  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_NETWORK_PHY_TIMESTAMPING), y)
  39. CONFIG_WLAN_SYNC_TSF_PLUS := y
  40. CONFIG_WLAN_SYNC_TSF_PTP := y
  41. CONFIG_WLAN_SYNC_TSF_PLUS_EXT_GPIO_IRQ := y
  42. endif
  43. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  44. CONFIG_DESC_DUP_DETECT_DEBUG := n
  45. CONFIG_DEBUG_RX_RING_BUFFER := n
  46. CONFIG_WLAN_OBJMGR_DEBUG:= n
  47. CONFIG_FEATURE_UNIT_TEST_SUSPEND := n
  48. CONFIG_LEAK_DETECTION := n
  49. endif
  50. # Genoa features vs Rome PCIe
  51. ifeq ($(CONFIG_ROME_PCIE), y)
  52. CONFIG_CHNL_MATRIX_RESTRICTION := y
  53. CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY := y
  54. else
  55. CONFIG_OL_RX_INDICATION_RECORD := y
  56. CONFIG_TSOSEG_DEBUG := n
  57. CONFIG_FEATURE_TSO_DEBUG := n
  58. CONFIG_FEATURE_TSO := y
  59. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
  60. CONFIG_HELIUMPLUS := y
  61. CONFIG_64BIT_PADDR := y
  62. CONFIG_WIFI_3_0_ADRASTEA := y
  63. CONFIG_ADRASTEA_RRI_ON_DDR := y
  64. CONFIG_ATH_PROCFS_DIAG_SUPPORT := y
  65. CONFIG_ADRASTEA_SHADOW_REGISTERS := y
  66. CONFIG_HTT_PADDR64 := y
  67. CONFIG_RX_OL := y
  68. CONFIG_QCN7605_SUPPORT := y
  69. CONFIG_HIF_REG_WINDOW_SUPPORT := y
  70. ifneq ($(CONFIG_X86), y)
  71. ifeq ($(CONFIG_INET_LRO), y)
  72. CONFIG_WLAN_LRO := y
  73. else
  74. CONFIG_WLAN_LRO := n
  75. endif
  76. endif
  77. ifneq ($(CONFIG_FORCE_ALLOC_FROM_DMA_ZONE), y)
  78. CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y
  79. endif
  80. endif # CONFIG_ROME_PCIE
  81. ifeq ($(CONFIG_CNSS), y)
  82. ifeq ($(CONFIG_HIF_PCI), y)
  83. CONFIG_PLD_PCIE_CNSS_FLAG := y
  84. endif
  85. endif
  86. ifeq ($(CONFIG_CNSS2), y)
  87. ifeq ($(CONFIG_HIF_PCI), y)
  88. CONFIG_PLD_PCIE_CNSS_FLAG := y
  89. CONFIG_PLD_PCIE_INIT_FLAG := y
  90. endif
  91. endif
  92. ifeq ($(CONFIG_CNSS2), m)
  93. ifeq ($(CONFIG_HIF_PCI), y)
  94. CONFIG_PLD_PCIE_CNSS_FLAG := y
  95. CONFIG_PLD_PCIE_INIT_FLAG := y
  96. endif
  97. endif
  98. CONFIG_QCA_WIFI_FTM := n
  99. QCA_WIFI_FTM_NL80211 := n
  100. CONFIG_LINUX_QCMBR := n
  101. ###################################
  102. CONFIG_ENABLE_SIZE_OPTIMIZE := y
  103. # configure log buffer size
  104. CONFIG_CFG_NUM_DP_TRACE_RECORD := 1000
  105. CONFIG_CFG_NUM_HTC_CREDIT_HISTORY := 16
  106. CONFIG_CFG_NUM_WMI_EVENT_HISTORY := 16
  107. CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY := 16
  108. CONFIG_CFG_NUM_TX_RX_HISTOGRAM := 16
  109. CONFIG_CFG_NUM_RX_IND_RECORD := 1024
  110. ifeq ($(CONFIG_FEATURE_ROAM_DEBUG), y)
  111. CONFIG_CFG_NUM_ROAM_DEBUG_RECORD := 64
  112. endif
  113. ###################################