qcacmn: Add support to copy buffers posted to CE SRC
Enable data field in hif_ce_desc_event structure
and copy the buffer posted to CE SRC ring. This is
done to validate the contents of the buffer.
Change-Id: I6745422f6c3a8ac013bb35032056f041d2216d89
CRs-Fixed: 2540707
diff --git a/hif/src/ce/ce_service_srng.c b/hif/src/ce/ce_service_srng.c
index 4864678..1e303c0 100644
--- a/hif/src/ce/ce_service_srng.c
+++ b/hif/src/ce/ce_service_srng.c
@@ -108,7 +108,7 @@
event = &hist_ev[record_index];
- qdf_mem_zero(event, sizeof(struct hif_ce_desc_event));
+ hif_clear_ce_desc_debug_data(event);
event->type = type;
event->time = qdf_get_log_timestamp();