From ffaafd74ef5401bbf075e2d065584220e57a8e23 Mon Sep 17 00:00:00 2001 From: Arun Kumar Khandavalli Date: Wed, 12 Aug 2020 17:38:58 +0530 Subject: [PATCH] qcacmn: Correct the tlv length of the hangdata The Tlv of the hang data is reduced to 2bytes from the 4bytes change the structure defnitions accordingly. Change-Id: I675e4d837afa92496aeebec408ebfd90cbb7ad32 CRs-Fixed: 2753821 --- hif/src/ce/ce_main.h | 2 +- htc/htc_credit_history.c | 2 +- wmi/src/wmi_hang_event.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hif/src/ce/ce_main.h b/hif/src/ce/ce_main.h index 00ca3ec3e750..d28753436442 100644 --- a/hif/src/ce/ce_main.h +++ b/hif/src/ce/ce_main.h @@ -301,7 +301,7 @@ struct ce_index { * @ce_info: CE info */ struct hang_event_info { - uint32_t tlv_header; + uint16_t tlv_header; uint8_t active_tasklet_count; uint8_t active_grp_tasklet_cnt; uint8_t ce_count; diff --git a/htc/htc_credit_history.c b/htc/htc_credit_history.c index 36b6831ebc87..4f8d824b2bba 100644 --- a/htc/htc_credit_history.c +++ b/htc/htc_credit_history.c @@ -31,7 +31,7 @@ struct HTC_CREDIT_HISTORY { }; struct htc_hang_data_fixed_param { - uint32_t tlv_header; + uint16_t tlv_header; struct HTC_CREDIT_HISTORY credit_hist; } qdf_packed; diff --git a/wmi/src/wmi_hang_event.c b/wmi/src/wmi_hang_event.c index 08f1bc33de32..b23b533b07f3 100644 --- a/wmi/src/wmi_hang_event.c +++ b/wmi/src/wmi_hang_event.c @@ -20,7 +20,7 @@ #include struct wmi_hang_data_fixed_param { - uint32_t tlv_header; /* tlv tag and length */ + uint16_t tlv_header; /* tlv tag and length */ uint32_t event; uint32_t data; uint64_t time;