qcacmn: Add wlan driver log msgs into the minidump

As part of minidump enhancement feature, incorporate wlan driver
log_msg data structure into the minidump.

Change-Id: Ic68e199c645bf8c8be50e105391b5c6efa90decc
CRs-Fixed: 2946292
这个提交包含在:
Aditya Kodukula
2021-05-10 15:55:06 -07:00
提交者 Madan Koyyalamudi
父节点 55279efffb
当前提交 f94320aa61

查看文件

@@ -222,11 +222,14 @@ static struct log_msg gplog_msg[MAX_LOGMSG_COUNT];
static inline QDF_STATUS allocate_log_msg_buffer(void)
{
qdf_minidump_log(gplog_msg, sizeof(gplog_msg), "wlan_logs");
return QDF_STATUS_SUCCESS;
}
static inline void free_log_msg_buffer(void)
{ }
{
qdf_minidump_remove(gplog_msg, sizeof(gplog_msg), "wlan_logs");
}
#endif
/* Need to call this with spin_lock acquired */