qcacmn: Modify the TX ring id for IPA to support split phy

Modify the primary and alternate TX ring ID for IPA.
Primary TX ring id is set to 2, Alternate TX ring id is set to 3.

Change-Id: I88a479f67edc34794ccac5d82c8adc358b27760e
CRs-Fixed: 3445325
This commit is contained in:
Devender Kumar
2023-05-21 19:42:10 +05:30
committed by Rahul Choudhary
parent 0cb5514312
commit ccf5cf6ede

View File

@@ -18,8 +18,7 @@
#ifndef _DP_IPA_H_
#define _DP_IPA_H_
#if defined(QCA_WIFI_KIWI) || defined(QCA_WIFI_KIWI_V2) || \
defined(QCA_WIFI_QCN9224)
#if defined(QCA_WIFI_KIWI) || defined(QCA_WIFI_KIWI_V2)
/* Index into soc->tcl_data_ring[] */
#define IPA_TCL_DATA_RING_IDX 3
#else
@@ -48,6 +47,9 @@
/* Index into soc->tcl_data_ring[] and soc->tx_comp_ring[] */
#define IPA_TX_ALT_RING_IDX 4
#define IPA_TX_ALT_COMP_RING_IDX IPA_TX_ALT_RING_IDX
#elif defined(QCA_WIFI_QCN9224)
#define IPA_TX_ALT_RING_IDX 3
#define IPA_TX_ALT_COMP_RING_IDX IPA_TX_ALT_RING_IDX
#else /* !KIWI */
#define IPA_TX_ALT_RING_IDX 1
/*