mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 17:24:14 -04:00
qcacmn: Fix debugfs issue for DPTRACE
TX packet records in DPTRACE logs for debugfs do
not contain msdu id, while QXDM logs do contain them.
Add msdu id of packets in the DPTRACE records for
debugfs.
Change-Id: Id3f6c21d95221cd5444327189b803ac857d56525
CRs-Fixed: 2242178
This commit is contained in:
parent
8e04fa7fce
commit
cfb14523ad
1 changed files with 5 additions and 0 deletions
|
|
@ -2212,9 +2212,14 @@ static void qdf_dpt_display_record_debugfs(qdf_debugfs_file_t file,
|
|||
{
|
||||
int loc;
|
||||
char prepend_str[QDF_DP_TRACE_PREPEND_STR_SIZE];
|
||||
struct qdf_dp_trace_data_buf *buf =
|
||||
(struct qdf_dp_trace_data_buf *)record->data;
|
||||
|
||||
loc = qdf_dp_trace_fill_meta_str(prepend_str, sizeof(prepend_str),
|
||||
index, 0, record);
|
||||
if (loc < sizeof(prepend_str))
|
||||
loc += snprintf(&prepend_str[loc], sizeof(prepend_str) - loc,
|
||||
"[%d]", buf->msdu_id);
|
||||
qdf_dpt_dump_hex_trace_debugfs(file, prepend_str,
|
||||
record->data, record->size);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue