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