Browse Source

qcacld-3.0: Enable spectral scan for QCA6750

Kbuild change to enable spectral scan for QCA6750 target.

Change-Id: I78e3e1220e46f62c71e838fe15cad35f2e5dbf75
CRs-Fixed: 2702866
Abhishek Ambure 4 years ago
parent
commit
ffc2837211
2 changed files with 4 additions and 0 deletions
  1. 2 0
      Kbuild
  2. 2 0
      configs/default_defconfig

+ 2 - 0
Kbuild

@@ -2473,7 +2473,9 @@ cppflags-$(CONFIG_WLAN_ENH_CFR_ENABLE) += -DWLAN_ENH_CFR_ENABLE
 cppflags-$(CONFIG_WLAN_CFR_ENABLE) += -DCFR_USE_FIXED_FOLDER
 cppflags-$(CONFIG_DIRECT_BUF_RX_ENABLE) += -DDIRECT_BUF_RX_ENABLE
 cppflags-$(CONFIG_WMI_DBR_SUPPORT) += -DWMI_DBR_SUPPORT
+ifeq ($(CONFIG_CNSS_QCA6750), n)
 cppflags-$(CONFIG_DIRECT_BUF_RX_ENABLE) += -DDBR_MULTI_SRNG_ENABLE
+endif
 cppflags-$(CONFIG_WMI_CMD_STRINGS) += -DWMI_CMD_STRINGS
 cppflags-$(CONFIG_WLAN_FEATURE_TWT) += -DWLAN_SUPPORT_TWT
 cppflags-$(CONFIG_WLAN_DISABLE_EXPORT_SYMBOL) += -DWLAN_DISABLE_EXPORT_SYMBOL

+ 2 - 0
configs/default_defconfig

@@ -53,6 +53,8 @@ ifeq ($(CONFIG_CNSS_QCA6750), y)
 	CONFIG_LITHIUM := y
 	CONFIG_WLAN_FEATURE_11AX := y
 	CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y
+	CONFIG_DIRECT_BUF_RX_ENABLE := y
+	CONFIG_WMI_DBR_SUPPORT := y
 	ifeq ($(CONFIG_ARCH_SDM845), y)
 		CONFIG_IPA3 := n
 	endif