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:
@@ -53,9 +53,6 @@ static void wmi_log_history(struct notifier_block *block, void *data,
|
||||
if (!wmi_handle)
|
||||
return;
|
||||
|
||||
if (wmi_hang_data->offset >= QDF_WLAN_MAX_HOST_OFFSET)
|
||||
return;
|
||||
|
||||
if (wmi_history)
|
||||
wmi_log = &wmi_handle->log_info.wmi_event_log_buf_info;
|
||||
else
|
||||
@@ -75,6 +72,9 @@ static void wmi_log_history(struct notifier_block *block, void *data,
|
||||
pos = *wmi_log->p_buf_tail_idx - 1;
|
||||
|
||||
while (nread--) {
|
||||
if (wmi_hang_data->offset + total_len > QDF_WLAN_HANG_FW_OFFSET)
|
||||
return;
|
||||
|
||||
switch (wmi_history) {
|
||||
case WMI_EVT_HIST:
|
||||
wmi_buf_ptr = (wmi_hang_data->hang_data +
|
||||
|
Reference in New Issue
Block a user