qcacmn: Dump WMI work queue stack for watchdog bite
In the event of an WMI work queue watchdog bite, dump the stack trace to aid in debugging. Change-Id: I7f3df5a56904748fb80afb1aef1aed90d20fbbc0 CRs-Fixed: 2145913
This commit is contained in:
@@ -48,6 +48,7 @@
|
|||||||
#ifdef DFS_COMPONENT_ENABLE
|
#ifdef DFS_COMPONENT_ENABLE
|
||||||
#include <wlan_dfs_public_struct.h>
|
#include <wlan_dfs_public_struct.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include <qdf_threads.h>
|
||||||
|
|
||||||
#define WMI_UNIFIED_MAX_EVENT 0x100
|
#define WMI_UNIFIED_MAX_EVENT 0x100
|
||||||
#define WMI_MAX_CMDS 1024
|
#define WMI_MAX_CMDS 1024
|
||||||
@@ -175,6 +176,18 @@ struct fwdebug {
|
|||||||
};
|
};
|
||||||
#endif /* WLAN_OPEN_SOURCE */
|
#endif /* WLAN_OPEN_SOURCE */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* struct wmi_wq_dbg_info - WMI WQ debug info
|
||||||
|
* @ wd_msg_type_id - wmi event id
|
||||||
|
* @ wmi_wq - WMI workqueue struct
|
||||||
|
* @ task - WMI workqueue task struct
|
||||||
|
*/
|
||||||
|
struct wmi_wq_dbg_info {
|
||||||
|
uint16_t wd_msg_type_id;
|
||||||
|
qdf_workqueue_t *wmi_wq;
|
||||||
|
qdf_thread_t *task;
|
||||||
|
};
|
||||||
|
|
||||||
struct wmi_ops {
|
struct wmi_ops {
|
||||||
QDF_STATUS (*send_vdev_create_cmd)(wmi_unified_t wmi_handle,
|
QDF_STATUS (*send_vdev_create_cmd)(wmi_unified_t wmi_handle,
|
||||||
uint8_t macaddr[IEEE80211_ADDR_LEN],
|
uint8_t macaddr[IEEE80211_ADDR_LEN],
|
||||||
|
Reference in New Issue
Block a user