From e4efc48048831845378f08efd51a62efc1812958 Mon Sep 17 00:00:00 2001 From: Rakesh Pillai Date: Fri, 24 Jun 2022 07:06:39 -0700 Subject: [PATCH] qcacld-3.0: Disable sanity of sw_cookie in RX error for KIWI Disable the sanity of sw_cookie in RX error path for KIWI target. Change-Id: I6d0e5c4c643007bfec2232d2f7c200842508ec44 CRs-Fixed: 3228794 --- Kbuild | 1 + configs/default_defconfig | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Kbuild b/Kbuild index a0730eee20..a535a88980 100644 --- a/Kbuild +++ b/Kbuild @@ -3869,6 +3869,7 @@ cppflags-$(CONFIG_TX_AGGREGATION_SIZE_ENABLE) += -DTX_AGGREGATION_SIZE_ENABLE cppflags-$(CONFIG_TX_MULTI_TCL) += -DTX_MULTI_TCL cppflags-$(CONFIG_WLAN_DP_DISABLE_TCL_CMD_CRED_SRNG) += -DWLAN_DP_DISABLE_TCL_CMD_CRED_SRNG cppflags-$(CONFIG_WLAN_DP_DISABLE_TCL_STATUS_SRNG) += -DWLAN_DP_DISABLE_TCL_STATUS_SRNG +cppflags-$(CONFIG_DP_WAR_VALIDATE_RX_ERR_MSDU_COOKIE) += -DDP_WAR_VALIDATE_RX_ERR_MSDU_COOKIE # Enable Low latency cppflags-$(CONFIG_WLAN_FEATURE_LL_MODE) += -DWLAN_FEATURE_LL_MODE diff --git a/configs/default_defconfig b/configs/default_defconfig index e0e302002e..130c78da52 100644 --- a/configs/default_defconfig +++ b/configs/default_defconfig @@ -620,6 +620,9 @@ ifeq ($(CONFIG_LITHIUM), y) # Enable Shadow V2 for all lithium platform # CONFIG_SHADOW_V2 := y + +# Enable sw_cookie sanity WAR for all Lithium platforms +CONFIG_DP_WAR_VALIDATE_RX_ERR_MSDU_COOKIE := y endif ifeq ($(CONFIG_BERYLLIUM), y)