qcacmn: Unify the wmi command and event record offset
The wmi data buffer offset passed to record command and event buffer uses different offset and type for command and event. Change the recorded wmi data buffer type to uin8_t pointer for both, wmi command and wmi event record. CRs-Fixed: 2164395 Change-Id: Ie759248a6a32632dd93f751a856a0588d9a11c25
This commit is contained in:
@@ -22225,7 +22225,9 @@ void wmi_tlv_attach(wmi_unified_t wmi_handle)
|
||||
{
|
||||
wmi_handle->ops = &tlv_ops;
|
||||
#ifdef WMI_INTERFACE_EVENT_LOGGING
|
||||
wmi_handle->log_info.buf_offset_command = 2;
|
||||
/* Skip saving WMI_CMD_HDR and TLV HDR */
|
||||
wmi_handle->log_info.buf_offset_command = 8;
|
||||
/* WMI_CMD_HDR is already stripped, skip saving TLV HDR */
|
||||
wmi_handle->log_info.buf_offset_event = 4;
|
||||
#endif
|
||||
populate_tlv_events_id(wmi_handle->wmi_events);
|
||||
|
Reference in New Issue
Block a user