qcacmn: Repurpose the IPA tx ring pairs for normal use

Repurpose the IPA tx and tx completions rings for
normal use when IPA is disabled either via config
flag or ini.

Change-Id: Ia4b6a89c73d888a217bdef40e3c05435c3bb1bb2
CRs-Fixed: 3059730
This commit is contained in:
Yeshwanth Sriram Guntuka
2021-10-13 14:55:12 +05:30
committed by Madan Koyyalamudi
parent dcdd40116f
commit e4bd6bb939
8 changed files with 139 additions and 49 deletions

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -2134,7 +2135,7 @@ struct hal_hw_srng_config hw_srng_table_6490[] = {
},
{ /* WBM2SW_RELEASE */
.start_ring_id = HAL_SRNG_WBM2SW0_RELEASE,
#ifdef IPA_WDI3_TX_TWO_PIPES
#if defined(IPA_WDI3_TX_TWO_PIPES) || defined(TX_MULTI_TCL)
.max_rings = 5,
#else
.max_rings = 4,