qcacmn: Retain ds ring indices across wifi restart

Retain ds ring indices across wifi restart to avoid
edma hang. Fetch the indices from ds module and set
the corresponding ds ring indices.

Change-Id: Ia299a7006166aef096c7d2c1f65f6bef65415a37
CRs-Fixed: 3332152
This commit is contained in:
Pavankumar Nandeshwar
2022-11-13 23:45:13 -08:00
committed by Madan Koyyalamudi
vanhempi 4f77d1f3c1
commit a2ddd8956b
9 muutettua tiedostoa jossa 236 lisäystä ja 35 poistoa

Näytä tiedosto

@@ -823,9 +823,11 @@ struct hal_rx_pkt_capture_flags {
struct hal_hw_txrx_ops {
/* init and setup */
void (*hal_srng_dst_hw_init)(struct hal_soc *hal,
struct hal_srng *srng, bool idle_check);
struct hal_srng *srng, bool idle_check,
uint32_t idx);
void (*hal_srng_src_hw_init)(struct hal_soc *hal,
struct hal_srng *srng, bool idle_check);
struct hal_srng *srng, bool idle_check,
uint32_t idx);
void (*hal_srng_hw_disable)(struct hal_soc *hal,
struct hal_srng *srng);
@@ -1217,6 +1219,9 @@ struct hal_hw_txrx_ops {
QDF_STATUS (*hal_srng_set_msi_config)(hal_ring_handle_t ring_hdl,
void *ring_params);
#endif
void (*hal_tx_ring_halt_set)(hal_soc_handle_t hal_soc_hdl);
void (*hal_tx_ring_halt_reset)(hal_soc_handle_t hal_soc_hdl);
bool (*hal_tx_ring_halt_poll)(hal_soc_handle_t hal_soc_hdl);
};
/**