T tracer: trace MAC DL retransmission PDUs in the gnb

and adapt macpdu2wireshark to deal with them
This commit is contained in:
Cedric Roux
2021-11-25 11:27:17 +01:00
parent a9c03e32bf
commit b65b0e2eaf
3 changed files with 52 additions and 7 deletions
@@ -1198,6 +1198,9 @@ void nr_schedule_ue_spec(module_id_t module_id,
"UE %d mismatch between scheduled TBS and buffered TB for HARQ PID %d\n",
UE_id,
current_harq_pid);
T(T_GNB_MAC_RETRANSMISSION_DL_PDU_WITH_DATA, T_INT(module_id), T_INT(CC_id), T_INT(rnti),
T_INT(frame), T_INT(slot), T_INT(current_harq_pid), T_INT(harq->round), T_BUFFER(harq->tb, TBS));
} else { /* initial transmission */
LOG_D(NR_MAC, "[%s] Initial HARQ transmission in %d.%d\n", __FUNCTION__, frame, slot);