Browse Source

qcacld-3.0: Add SARV1 to SARV2 feature flag

Add SARV1 to SARV2 feature flag.

CRs-Fixed: 2282071
Change-Id: Iaaf449a222bf999a1d9227bde030a30cc84d18e0
Jeff Johnson 6 years ago
parent
commit
fcc29d4133
4 changed files with 14 additions and 3 deletions
  1. 2 2
      Kbuild
  2. 6 1
      Kconfig
  3. 3 0
      configs/default_defconfig
  4. 3 0
      configs/genoa.common

+ 2 - 2
Kbuild

@@ -1946,9 +1946,9 @@ cppflags-$(CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY) += -DWLAN_ENABLE_SOCIAL_C
 #Green AP feature
 cppflags-$(CONFIG_QCACLD_FEATURE_GREEN_AP) += -DWLAN_SUPPORT_GREEN_AP
 
-ifeq ($(CONFIG_QCACLD_FEATURE_APF), y)
 cppflags-$(CONFIG_QCACLD_FEATURE_APF) += -DFEATURE_WLAN_APF
-endif
+
+cppflags-$(CONFIG_WLAN_FEATURE_SARV1_TO_SARV2) += -DWLAN_FEATURE_SARV1_TO_SARV2
 
 #Stats & Quota Metering feature
 ifeq ($(CONFIG_IPA_OFFLOAD), y)

+ 6 - 1
Kconfig

@@ -132,7 +132,7 @@ config ICMP_DISABLE_PS
 	bool "Enable ICMP packet disable powersave feature"
 	default n
 
-config CONFIG_BUILD_TIMESTAMP
+config BUILD_TIMESTAMP
 	bool "Embed timestamp in wlan version"
 	default n
 
@@ -151,4 +151,9 @@ config WLAN_OBJMGR_DEBUG
 config WLAN_FEATURE_DFS_OFFLOAD
 	bool "Enable dfs offload feature"
 	default n
+
+config WLAN_FEATURE_SARV1_TO_SARV2
+	bool "Enable conversion of SAR v1 to v2 feature"
+	default n
+
 endif # QCA_CLD_WLAN

+ 3 - 0
configs/default_defconfig

@@ -96,6 +96,9 @@ CONFIG_QCACLD_FEATURE_GREEN_AP := y
 #Flag to enable Android Packet Filtering
 CONFIG_QCACLD_FEATURE_APF := y
 
+#Flag to enable SARv1 -> SARv2 conversion
+CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n
+
 ifeq ($(CONFIG_ARCH_MSM8998), y)
 CONFIG_QCACLD_FEATURE_METERING := y
 endif

+ 3 - 0
configs/genoa.common

@@ -130,6 +130,9 @@ CONFIG_GTK_OFFLOAD := y
 endif
 CONFIG_QCACLD_FEATURE_APF := y
 
+#Flag to enable SARv1 -> SARv2 conversion
+CONFIG_WLAN_FEATURE_SARV1_TO_SARV2 := n
+
 ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP), y)
 ifneq ($(WLAN_DISABLE_BUILD_TAG), y)
 CONFIG_BUILD_TAG := y