From a19907c7ac8f624f419155e19aaeaa4f4bb754e9 Mon Sep 17 00:00:00 2001 From: Naman Padhiar Date: Tue, 5 Apr 2022 11:50:50 +0530 Subject: [PATCH] qcacmn: Use a max of 5 WBM2SW rings for whunt failure The maximum WBM2SW rings in whunt for MSL is 5 and the same could be 4 in wlan code which will result in wcov failure for MSL. Use a maximum of 5 WBM2SW rings for HSP based on FW_SIM config flag to address this failure. Change-Id: I16770566710efeeea7acbb51f6710e7a996b5cac CRs-Fixed: 3167050 --- hal/wifi3.0/qca6750/hal_6750.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hal/wifi3.0/qca6750/hal_6750.c b/hal/wifi3.0/qca6750/hal_6750.c index b4034c4afe32..06503a1ac392 100644 --- a/hal/wifi3.0/qca6750/hal_6750.c +++ b/hal/wifi3.0/qca6750/hal_6750.c @@ -2242,7 +2242,11 @@ struct hal_hw_srng_config hw_srng_table_6750[] = { }, { /* WBM2SW_RELEASE */ .start_ring_id = HAL_SRNG_WBM2SW0_RELEASE, +#ifdef CONFIG_PLD_IPCIE_FW_SIM + .max_rings = 5, +#else .max_rings = 4, +#endif .entry_size = sizeof(struct wbm_release_ring) >> 2, .lmac_ring = FALSE, .ring_dir = HAL_SRNG_DST_RING,