qcacmn: Change to remove void pointer usage for HAL SRNG

Add code to remove void pointer usage for hal_srng
and use opaque pointer dp_hal_ring_t instead.

Change-Id: I6907f7376d7fe3c9180b8795bd96f49fead2ec64
CRs-Fixed: 2484404
Tento commit je obsažen v:
Akshay Kosigi
2019-06-27 15:26:13 +05:30
odevzdal nshrivas
rodič 91c56523d3
revize 0bca9fb200
20 změnil soubory, kde provedl 283 přidání a 205 odebrání

Zobrazit soubor

@@ -266,8 +266,8 @@ QDF_STATUS htt_soc_htc_prealloc(struct htt_soc *htt_soc);
void htt_soc_detach(void *soc);
int htt_srng_setup(void *htt_soc, int pdev_id, void *hal_srng,
int hal_ring_type);
int htt_srng_setup(void *htt_soc, int pdev_id, hal_ring_handle_t hal_ring_hdl,
int hal_ring_type);
int htt_soc_attach_target(void *htt_soc);
@@ -283,9 +283,10 @@ int htt_soc_attach_target(void *htt_soc);
*
* Return: 0 on success; error code on failure
*/
int htt_h2t_rx_ring_cfg(void *htt_soc, int pdev_id, void *hal_srng,
int hal_ring_type, int ring_buf_size,
struct htt_rx_ring_tlv_filter *htt_tlv_filter);
int htt_h2t_rx_ring_cfg(void *htt_soc, int pdev_id,
hal_ring_handle_t hal_ring_hdl,
int hal_ring_type, int ring_buf_size,
struct htt_rx_ring_tlv_filter *htt_tlv_filter);
/*
* htt_t2h_stats_handler() - target to host stats work handler