qcacmn: Enhancement in Minidump feature

Handle minidump logging using dynamic
configurablity options. Data structures
to be logged in minidump can be configured
using internal INI file.

Change-Id: I99f12b3f98c4a9c0e15c3e5d611019e6b8d0909a
This commit is contained in:
Sumedh Baikady
2020-01-17 16:49:48 -08:00
committed by nshrivas
부모 5d64a83690
커밋 d188789876
11개의 변경된 파일423개의 추가작업 그리고 32개의 파일을 삭제

파일 보기

@@ -83,6 +83,7 @@
#ifdef FEATURE_COEX
#include <target_if_coex.h>
#endif
#include <wlan_utility.h>
#ifdef DCS_INTERFERENCE_DETECTION
#include <target_if_dcs.h>
@@ -585,6 +586,9 @@ QDF_STATUS target_if_alloc_psoc_tgt_info(struct wlan_objmgr_psoc *psoc)
wlan_psoc_set_tgt_if_handle(psoc, tgt_psoc_info);
target_psoc_set_preferred_hw_mode(tgt_psoc_info, WMI_HOST_HW_MODE_MAX);
wlan_minidump_log(tgt_psoc_info,
sizeof(*tgt_psoc_info), psoc,
WLAN_MD_OBJMGR_PSOC_TGT_INFO, "target_psoc_info");
qdf_event_create(&tgt_psoc_info->info.event);
@@ -616,6 +620,7 @@ QDF_STATUS target_if_free_psoc_tgt_info(struct wlan_objmgr_psoc *psoc)
wlan_psoc_set_tgt_if_handle(psoc, NULL);
wlan_minidump_remove(tgt_psoc_info);
qdf_mem_free(tgt_psoc_info);
return QDF_STATUS_SUCCESS;