ソースを参照

qcacld-3.0: Enable fw stats version 2 for some target

Some target chipset support fw stats version 2, but we didn't enable
it in some configure file. Enable it in these configure files which
depend on chipset.

Change-Id: Ief8b87bdb466a1838e6a61928f0154868f0ff220
CRs-Fixed: 2524266
Will Huang 5 年 前
コミット
7f5e9ce296
3 ファイル変更15 行追加3 行削除
  1. 5 1
      configs/default_defconfig
  2. 5 1
      configs/qca6174_defconfig
  3. 5 1
      configs/qca6390_defconfig

+ 5 - 1
configs/default_defconfig

@@ -331,9 +331,13 @@ CONFIG_ADRASTEA_SHADOW_REGISTERS := y
 endif
 endif
 endif
 endif
 
 
+# Enable fw stats version 2
+ifeq (y,$(findstring y,$(CONFIG_HELIUMPLUS) $(CONFIG_LITHIUM)))
+CONFIG_AR900B := y
+endif
+
 # NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS
 # NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS
 ifeq ($(CONFIG_HELIUMPLUS), y)
 ifeq ($(CONFIG_HELIUMPLUS), y)
-CONFIG_AR900B := y
 
 
 ifeq ($(CONFIG_64BIT_PADDR), y)
 ifeq ($(CONFIG_64BIT_PADDR), y)
 CONFIG_HTT_PADDR64 := y
 CONFIG_HTT_PADDR64 := y

+ 5 - 1
configs/qca6174_defconfig

@@ -252,9 +252,13 @@ CONFIG_ADRASTEA_SHADOW_REGISTERS := y
 endif
 endif
 endif
 endif
 
 
+# Enable fw stats version 2
+ifeq (y,$(findstring y,$(CONFIG_HELIUMPLUS) $(CONFIG_LITHIUM)))
+CONFIG_AR900B := y
+endif
+
 # NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS
 # NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS
 ifeq ($(CONFIG_HELIUMPLUS), y)
 ifeq ($(CONFIG_HELIUMPLUS), y)
-CONFIG_AR900B := y
 
 
 ifeq ($(CONFIG_64BIT_PADDR), y)
 ifeq ($(CONFIG_64BIT_PADDR), y)
 CONFIG_HTT_PADDR64 := y
 CONFIG_HTT_PADDR64 := y

+ 5 - 1
configs/qca6390_defconfig

@@ -282,9 +282,13 @@ CONFIG_ADRASTEA_SHADOW_REGISTERS := y
 endif
 endif
 endif
 endif
 
 
+# Enable fw stats version 2
+ifeq (y,$(findstring y,$(CONFIG_HELIUMPLUS) $(CONFIG_LITHIUM)))
+CONFIG_AR900B := y
+endif
+
 # NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS
 # NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS
 ifeq ($(CONFIG_HELIUMPLUS), y)
 ifeq ($(CONFIG_HELIUMPLUS), y)
-CONFIG_AR900B := y
 
 
 ifeq ($(CONFIG_64BIT_PADDR), y)
 ifeq ($(CONFIG_64BIT_PADDR), y)
 CONFIG_HTT_PADDR64 := y
 CONFIG_HTT_PADDR64 := y