qcacmn: Add WBM2SW4 support
To support IPA TX two pipes, WBM2SW4 is added as second WBM2IPA TX transfer ring. Change-Id: Id0762003c1d91e3614b15df2bc51f90e27add43c CRs-Fixed: 2750073
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2021 The Linux Foundation. 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
|
||||
@@ -136,6 +136,9 @@ enum hal_tx_ret_buf_manager {
|
||||
HAL_WBM_SW1_BM_ID = 4,
|
||||
HAL_WBM_SW2_BM_ID = 5,
|
||||
HAL_WBM_SW3_BM_ID = 6,
|
||||
#ifdef IPA_WDI3_TX_TWO_PIPES
|
||||
HAL_WBM_SW4_BM_ID = 7,
|
||||
#endif
|
||||
};
|
||||
|
||||
/*---------------------------------------------------------------------------
|
||||
|
@@ -1491,7 +1491,11 @@ struct hal_hw_srng_config hw_srng_table_6390[] = {
|
||||
},
|
||||
{ /* WBM2SW_RELEASE */
|
||||
.start_ring_id = HAL_SRNG_WBM2SW0_RELEASE,
|
||||
#ifdef IPA_WDI3_TX_TWO_PIPES
|
||||
.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,
|
||||
|
@@ -2083,7 +2083,11 @@ struct hal_hw_srng_config hw_srng_table_6490[] = {
|
||||
},
|
||||
{ /* WBM2SW_RELEASE */
|
||||
.start_ring_id = HAL_SRNG_WBM2SW0_RELEASE,
|
||||
#ifdef IPA_WDI3_TX_TWO_PIPES
|
||||
.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,
|
||||
|
مرجع در شماره جدید
Block a user