From 1f9ab627fdbfa62d5ac98bf4d4380fa86ff93fd9 Mon Sep 17 00:00:00 2001 From: Ananya Gupta Date: Mon, 23 May 2022 14:10:16 +0530 Subject: [PATCH] qcacmn: Increase status size for HTT WBM completion v3 In beryllium DP, htt_tx_wbm_completion_v3 is used in which 20B are used by host and only 16B is assigned to the htt tx status. To fix this, increase the macro HAL_TX_COMP_HTT_STATUS_LEN to 20 bytes. Change-Id: I973ba1f8118488089cd6d6baac7fd589886c2164 CRs-Fixed: 3199031 --- hal/wifi3.0/hal_tx.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hal/wifi3.0/hal_tx.h b/hal/wifi3.0/hal_tx.h index 61b2628163..143d732a9f 100644 --- a/hal/wifi3.0/hal_tx.h +++ b/hal/wifi3.0/hal_tx.h @@ -140,7 +140,11 @@ do { \ * (Exception frames and TQM bypass frames) */ #define HAL_TX_COMP_HTT_STATUS_OFFSET 8 +#ifdef CONFIG_BERYLLIUM +#define HAL_TX_COMP_HTT_STATUS_LEN 20 +#else #define HAL_TX_COMP_HTT_STATUS_LEN 16 +#endif #define HAL_TX_BUF_TYPE_BUFFER 0 #define HAL_TX_BUF_TYPE_EXT_DESC 1