genoa.pci.perf_defconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. CONFIG_DATA_CE_SW_INDEX_NO_INLINE_UPDATE := y
  18. ifeq ($(CONFIG_IPA), y)
  19. CONFIG_IPA_OFFLOAD := y
  20. endif
  21. ifeq ($(CONFIG_IPA3), y)
  22. CONFIG_IPA_OFFLOAD := y
  23. endif
  24. # Debug specific features
  25. CONFIG_MPC_UT_FRAMEWORK := n
  26. CONFIG_FEATURE_EPPING := n
  27. CONFIG_WLAN_NAPI_DEBUG := n
  28. CONFIG_WLAN_FEATURE_P2P_DEBUG := n
  29. CONFIG_WLAN_LOG_ENTER := n
  30. CONFIG_WLAN_LOG_EXIT := n
  31. # Features gets enabled on slub debug
  32. CONFIG_FEATURE_PKTLOG := y
  33. CONFIG_WLAN_DEBUG_CRASH_INJECT := n
  34. CONFIG_FEATURE_MEMDUMP_ENABLE := n
  35. ifeq ($(CONFIG_DEBUG_FS), y)
  36. CONFIG_WLAN_DEBUGFS := n
  37. CONFIG_WLAN_POWER_DEBUGFS := n
  38. endif
  39. ifeq ($(CONFIG_NETWORK_PHY_TIMESTAMPING), y)
  40. CONFIG_WLAN_SYNC_TSF_PLUS := y
  41. CONFIG_WLAN_SYNC_TSF_PTP := y
  42. CONFIG_WLAN_SYNC_TSF_PLUS_EXT_GPIO_IRQ := y
  43. endif
  44. ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
  45. CONFIG_DESC_DUP_DETECT_DEBUG := n
  46. CONFIG_DEBUG_RX_RING_BUFFER := n
  47. CONFIG_WLAN_OBJMGR_DEBUG:= n
  48. CONFIG_FEATURE_UNIT_TEST_SUSPEND := n
  49. CONFIG_LEAK_DETECTION := n
  50. endif
  51. # Genoa features vs Rome PCIe
  52. ifeq ($(CONFIG_ROME_PCIE), y)
  53. CONFIG_CHNL_MATRIX_RESTRICTION := y
  54. CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY := y
  55. else
  56. CONFIG_OL_RX_INDICATION_RECORD := y
  57. CONFIG_TSOSEG_DEBUG := n
  58. CONFIG_FEATURE_TSO_DEBUG := n
  59. CONFIG_FEATURE_TSO := y
  60. CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
  61. CONFIG_HELIUMPLUS := y
  62. CONFIG_64BIT_PADDR := y
  63. CONFIG_WIFI_3_0_ADRASTEA := y
  64. CONFIG_ADRASTEA_RRI_ON_DDR := y
  65. CONFIG_ATH_PROCFS_DIAG_SUPPORT := y
  66. CONFIG_ADRASTEA_SHADOW_REGISTERS := y
  67. CONFIG_HTT_PADDR64 := y
  68. CONFIG_RX_OL := y
  69. CONFIG_QCN7605_SUPPORT := y
  70. CONFIG_HIF_REG_WINDOW_SUPPORT := y
  71. ifneq ($(CONFIG_X86), y)
  72. ifeq ($(CONFIG_INET_LRO), y)
  73. CONFIG_WLAN_LRO := y
  74. else
  75. CONFIG_WLAN_LRO := n
  76. endif
  77. endif
  78. ifneq ($(CONFIG_FORCE_ALLOC_FROM_DMA_ZONE), y)
  79. CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y
  80. endif
  81. endif # CONFIG_ROME_PCIE
  82. ifeq ($(CONFIG_CNSS), y)
  83. ifeq ($(CONFIG_HIF_PCI), y)
  84. CONFIG_PLD_PCIE_CNSS_FLAG := y
  85. endif
  86. endif
  87. ifeq ($(CONFIG_CNSS2), y)
  88. ifeq ($(CONFIG_HIF_PCI), y)
  89. CONFIG_PLD_PCIE_CNSS_FLAG := y
  90. CONFIG_PLD_PCIE_INIT_FLAG := y
  91. endif
  92. endif
  93. CONFIG_QCA_WIFI_FTM := n
  94. QCA_WIFI_FTM_NL80211 := n
  95. CONFIG_LINUX_QCMBR := n
  96. ###################################
  97. CONFIG_ENABLE_SIZE_OPTIMIZE := y
  98. # configure log buffer size
  99. CONFIG_CFG_NUM_DP_TRACE_RECORD := 1000
  100. CONFIG_CFG_NUM_HTC_CREDIT_HISTORY := 16
  101. CONFIG_CFG_NUM_WMI_EVENT_HISTORY := 16
  102. CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY := 16
  103. CONFIG_CFG_NUM_TX_RX_HISTOGRAM := 16
  104. CONFIG_CFG_NUM_RX_IND_RECORD := 1024
  105. ifeq ($(CONFIG_FEATURE_ROAM_DEBUG), y)
  106. CONFIG_CFG_NUM_ROAM_DEBUG_RECORD := 64
  107. endif
  108. ###################################