qcacmn: Enhance hang info feature

Add bus related info in hif layer in order to get bus status
when hang issue happened.

Change-Id: If922e0892e0f65de778b9696bbc56fc63c25c169
CRs-Fixed: 2801350
This commit is contained in:
Kai Liu
2020-10-20 22:22:39 +08:00
committed by snandini
parent 43b866f124
commit 4be28ba641
18 changed files with 117 additions and 11 deletions

View File

@@ -4486,6 +4486,9 @@ void hif_log_ce_info(struct hif_softc *scn, uint8_t *data,
size = sizeof(info) -
(CE_COUNT_MAX - info.ce_count) * sizeof(struct ce_index);
if (*offset + size > QDF_WLAN_HANG_FW_OFFSET)
return;
QDF_HANG_EVT_SET_HDR(&info.tlv_header, HANG_EVT_TAG_CE_INFO,
size - QDF_HANG_EVENT_TLV_HDR_SIZE);