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