genoa.pci.perf_defconfig 3.0 KB

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