qcacld-3.0: Enable athdiag debug support for SNOC devices
- Athdiag debug support is enabled for PCIe devices but disabled
for integrated SNOC devices like iHelium.
- Enable athdiag debug feature support for SNOC devices as well.
Change-Id: I73ce74286bf59147e45868e424de4ee1bc858ca0
CRs-Fixed: 948890
diff --git a/Kbuild b/Kbuild
index e21632f..23c6036 100644
--- a/Kbuild
+++ b/Kbuild
@@ -1266,6 +1266,11 @@
CDEFINES += -DWLAN_FEATURE_RX_FULL_REORDER_OL
endif
+# Enable athdiag procfs debug support for adrastea
+ifeq (y, $(filter y, $(CONFIG_CNSS_ADRASTEA) $(CONFIG_ICNSS)))
+CDEFINES += -DCONFIG_ATH_PROCFS_DIAG_SUPPORT
+endif
+
# NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS
ifeq (y,$(filter y,$(CONFIG_CNSS_EOS) $(CONFIG_ICNSS)))
CONFIG_HELIUMPLUS := y