qcacld-3.0: Correct the tlv length of the hangdata

The Tlv of the hang data is reduced to 2bytes from the 4bytes
change the structure definitions accordingly.

Change-Id: Ic535a7b985d028076d14afebe603dfa3fd8e94d3
CRs-Fixed: 2753804
This commit is contained in:
Arun Kumar Khandavalli 2020-08-12 17:34:41 +05:30 • committed by snandini
commit 16d9ba73d0
4 changed files with 5 additions and 5 deletions

View file

@ -93,7 +93,7 @@ static struct __qdf_device g_qdf_ctx;
static uint8_t cds_multicast_logging;
struct cds_hang_event_fixed_param {
uint32_t tlv_header;
uint16_t tlv_header;
uint8_t recovery_reason;
char driver_version[11];
char hang_event_version;

View file

@ -118,7 +118,7 @@ ol_tx_desc_pool_size_hl(struct cdp_cfg *ctrl_pdev);
(TXRX_HL_TX_DESC_HI_PRIO_RESERVED + 100)
struct peer_hang_data {
uint32_t tlv_header;
uint16_t tlv_header;
uint8_t peer_mac_addr[QDF_MAC_ADDR_SIZE];
uint16_t peer_timeout_bitmask;
} qdf_packed;

View file

@ -21,7 +21,7 @@
#include <qdf_types.h>
struct hdd_hang_event_fixed_param {
uint32_t tlv_header;
uint16_t tlv_header;
uint8_t vdev_id;
uint8_t vdev_opmode;
uint8_t vdev_state;
@ -29,7 +29,7 @@ struct hdd_hang_event_fixed_param {
} qdf_packed;
struct hdd_scan_fixed_param {
uint32_t tlv_header;
uint16_t tlv_header;
uint8_t last_scan_reject_vdev_id;
enum scan_reject_states last_scan_reject_reason;
unsigned long last_scan_reject_timestamp;

View file

@ -79,7 +79,7 @@
#include "wlan_pkt_capture_ucfg_api.h"
struct pe_hang_event_fixed_param {
uint32_t tlv_header;
uint16_t tlv_header;
uint8_t vdev_id;
uint8_t limmlmstate;
uint8_t limprevmlmstate;