genoa.pci.debug_defconfig 2.8 KB

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