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
This commit is contained in:
Arun Kumar Khandavalli
2020-08-12 17:38:58 +05:30
committed by snandini
parent d564955d05
commit ffaafd74ef
3 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -20,7 +20,7 @@
#include <qdf_trace.h>
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;