qcacmn: Enhance hang reason code mappings

Currently many host hang reason codes are not mapped to corresponding
userspace codes as a result these hang reason code will be invalid
for userspace and also QDF_REASON_UNSPECIFIED is used in some places
in host.

To add mappings for host hang codes to corresponding to userspace
hang codes and also add new hang codes.

Change-Id: Idb21ccb4a34c9c94872798404912bdb743e9270b
CRs-Fixed: 3381229
此提交包含在:
Asutosh Mohapatra
2023-01-16 16:42:05 +05:30
提交者 Madan Koyyalamudi
父節點 8cfe6b1005
當前提交 de1e7e7e12
共有 2 個檔案被更改,包括 7 行新增1 行删除

查看文件

@@ -797,7 +797,7 @@ static void send_flush_completion_to_user(uint8_t ring_id)
wlan_report_log_completion(is_fatal, indicator, reason_code, ring_id);
if (recovery_needed)
cds_trigger_recovery(QDF_REASON_UNSPECIFIED);
cds_trigger_recovery(QDF_FLUSH_LOGS);
}
#endif