From 2c10ce10dc76463d52f777e1cd16ca246cdd93ef Mon Sep 17 00:00:00 2001 From: Manjunathappa Prakash Date: Sun, 12 Apr 2020 13:09:59 -0700 Subject: [PATCH] qcacld-3.0: Add WAR to confirm WBM IDLE ring LSB write On Lahaina platform it is seen that WBM IDLE ring init is failing, Write to WBM_IDLE link ring LSB write is failing. Add temporary WAR to do back to back write of WBM IDLE link ring LSB address config register. Change-Id: I8d6766e33a3912d197e543f0e7e252513e0253ab CRs-Fixed: 2662295 --- Kbuild | 1 + configs/default_defconfig | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Kbuild b/Kbuild index 6953bc7eba0f..f1b24822a450 100644 --- a/Kbuild +++ b/Kbuild @@ -2959,6 +2959,7 @@ ccflags-$(CONFIG_HIF_PCI) += -DCE_SVC_CMN_INIT ccflags-$(CONFIG_HIF_IPCI) += -DCE_SVC_CMN_INIT ccflags-$(CONFIG_HIF_SNOC) += -DCE_SVC_CMN_INIT cppflags-$(CONFIG_RX_DESC_SANITY_WAR) += -DRX_DESC_SANITY_WAR +cppflags-$(CONFIG_WBM_IDLE_LSB_WR_CNF_WAR) += -DWBM_IDLE_LSB_WRITE_CONFIRM_WAR ifeq ($(CONFIG_QCA6290_11AX), y) cppflags-y += -DQCA_WIFI_QCA6290_11AX -DQCA_WIFI_QCA6290_11AX_MU_UL diff --git a/configs/default_defconfig b/configs/default_defconfig index 6b9c9f694c13..cdc8bd8dc535 100644 --- a/configs/default_defconfig +++ b/configs/default_defconfig @@ -222,6 +222,9 @@ endif ifeq ($(CONFIG_ARCH_LAHAINA), y) CONFIG_QCACLD_FEATURE_METERING := y CONFIG_WDI3_STATS_UPDATE := y +ifeq ($(CONFIG_CNSS_QCA6490), y) +CONFIG_WBM_IDLE_LSB_WR_CNF_WAR := y +endif endif #Flag to enable Fast Transition (11r) feature