Jelajahi Sumber

qcacld-3.0: Enable device force wake recipe in driver

Enable force wake recipe feature DEVICE_FORCE_WAKE_ENABLE
and disable the generic shadow register write feature
GENERIC_SHADOW_REGISTER_ACCESS_ENABLE.
Enable feature  HIF_REG_WINDOW_SUPPORT to enable the
windowed register read/write from HIF layer.

Change-Id: Ic19d80b686639eb12a2e0a7c0ebf991740a576e7
CRs-Fixed: 2850592
Nisha Menon 4 tahun lalu
induk
melakukan
8958f63a28
2 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 1 0
      Kbuild
  2. 2 1
      configs/default_defconfig

+ 1 - 0
Kbuild

@@ -3726,6 +3726,7 @@ cppflags-$(CONFIG_HIF_CPU_PERF_AFFINE_MASK) += -DHIF_CPU_PERF_AFFINE_MASK
 
 cppflags-$(CONFIG_GENERIC_SHADOW_REGISTER_ACCESS_ENABLE) += -DGENERIC_SHADOW_REGISTER_ACCESS_ENABLE
 cppflags-$(CONFIG_IPA_SET_RESET_TX_DB_PA) += -DIPA_SET_RESET_TX_DB_PA
+cppflags-$(CONFIG_DEVICE_FORCE_WAKE_ENABLE) += -DDEVICE_FORCE_WAKE_ENABLE
 
 ifdef CONFIG_MAX_CLIENTS_ALLOWED
 ccflags-y += -DWLAN_MAX_CLIENTS_ALLOWED=$(CONFIG_MAX_CLIENTS_ALLOWED)

+ 2 - 1
configs/default_defconfig

@@ -45,9 +45,10 @@ ifeq ($(CONFIG_CNSS_QCA6490), y)
 	CONFIG_HASTINGS_BT_WAR := y
 	CONFIG_WDI3_IPA_OVER_GSI :=y
 	CONFIG_PCIE_GEN_SWITCH := y
-	CONFIG_GENERIC_SHADOW_REGISTER_ACCESS_ENABLE :=y
 	CONFIG_WLAN_TWT_SAP_STA_COUNT := y
 	CONFIG_WLAN_TWT_SAP_PDEV_COUNT := y
+	CONFIG_DEVICE_FORCE_WAKE_ENABLE :=y
+	CONFIG_HIF_REG_WINDOW_SUPPORT :=y
 endif
 
 ifeq ($(CONFIG_CNSS_QCA6750), y)