Improve retransmission messages in UL&DL

This commit is contained in:
Robert Schmidt
2020-12-03 09:52:41 +01:00
parent f821a333d7
commit 589ff862dc
2 changed files with 13 additions and 3 deletions
@@ -640,7 +640,15 @@ void nr_schedule_ue_spec(module_id_t module_id,
retInfo->numDmrsCdmGrpsNoData); retInfo->numDmrsCdmGrpsNoData);
/* we do not have to do anything, since we do not require to get data /* we do not have to do anything, since we do not require to get data
* from RLC, encode MAC CEs, or copy data to FAPI structures */ * from RLC, encode MAC CEs, or copy data to FAPI structures */
LOG_W(MAC, "%d.%2d retransmission UE %d/RNTI %04x\n", frame, slot, UE_id, rnti); LOG_W(MAC,
"%d.%2d DL retransmission UE %d/RNTI %04x HARQ PID %d round %d NDI %d\n",
frame,
slot,
UE_id,
rnti,
current_harq_pid,
harq->round,
harq->ndi);
} else { /* initial transmission */ } else { /* initial transmission */
/* reserve space for timing advance of UE if necessary, /* reserve space for timing advance of UE if necessary,
@@ -621,13 +621,15 @@ void nr_schedule_ulsch(module_id_t module_id,
UE_info->mac_stats[UE_id].ulsch_total_bytes_scheduled += sched_pusch->tb_size; UE_info->mac_stats[UE_id].ulsch_total_bytes_scheduled += sched_pusch->tb_size;
} else { } else {
LOG_W(MAC, LOG_W(MAC,
"%d.%2d UL retransmission RNTI %04x sched %d.%2d round %d\n", "%d.%2d UL retransmission RNTI %04x sched %d.%2d HARQ PID %d round %d NDI %d\n",
frame, frame,
slot, slot,
rnti, rnti,
sched_pusch->frame, sched_pusch->frame,
sched_pusch->slot, sched_pusch->slot,
cur_harq->round); harq_id,
cur_harq->round,
cur_harq->ndi);
} }
LOG_D(MAC, LOG_D(MAC,