qcacmn: update the hang data for htc
whenever there is a wmi command timeout and recovery is triggered, the htc credit history gives insight into whether host had the credits to send the command to firmware. Add the credit history from the htc module. Change-Id: Iaa760981296862f8af496a23e3c24bc2fda0fb55 CRs-Fixed: 2651744
This commit is contained in:

کامیت شده توسط
nshrivas

والد
acf898a145
کامیت
1f76b82659
@@ -19,6 +19,7 @@
|
||||
#include "htc_debug.h"
|
||||
#include "htc_internal.h"
|
||||
#include "htc_credit_history.h"
|
||||
#include "htc_hang_event.h"
|
||||
#include <hif.h>
|
||||
#include <qdf_nbuf.h> /* qdf_nbuf_t */
|
||||
#include <qdf_types.h> /* qdf_print */
|
||||
@@ -380,6 +381,8 @@ HTC_HANDLE htc_create(void *ol_sc, struct htc_init_info *pInfo,
|
||||
|
||||
HTC_TRACE("-htc_create: (0x%pK)", target);
|
||||
|
||||
htc_hang_event_notifier_register(target);
|
||||
|
||||
return (HTC_HANDLE) target;
|
||||
}
|
||||
|
||||
@@ -389,6 +392,7 @@ void htc_destroy(HTC_HANDLE HTCHandle)
|
||||
|
||||
AR_DEBUG_PRINTF(ATH_DEBUG_TRC,
|
||||
("+htc_destroy .. Destroying :0x%pK\n", target));
|
||||
htc_hang_event_notifier_unregister();
|
||||
hif_stop(htc_get_hif_device(HTCHandle));
|
||||
if (target)
|
||||
htc_cleanup(target);
|
||||
|
مرجع در شماره جدید
Block a user