Skip to content

Print ASN1 messages to console only if DEBUG_ASN1 flag is enabled

Luis Pereira requested to merge NR_RRC_xer_fprint_only_when_DEBUG_ASN1 into develop

This MR fixes the 100% DLSCH errors after a RRCReconfiguration because the xer_fprint of the RRCReconfiguration takes a lot of time to print to console, and so the message is sent to the UE and processed by the gNB out of the normal (undefined) behavior.

[NR_MAC]   Frame.Slot 384.0
UE RNTI 0203 (1) PH 27 dB PCMAX 11 dBm, average RSRP -81 (5 meas)
UE 0203: CQI 13, RI 2, PMI (0,1)
UE 0203: UL-RI 1, TPMI 0
UE 0203: dlsch_rounds 37/21/21/21, dlsch_errors 20, pucch0_DTX 1, BLER 0.51908 MCS 6
UE 0203: dlsch_total_bytes 11221
UE 0203: ulsch_rounds 317/6/4/4, ulsch_DTX 7, ulsch_errors 4, BLER 0.04431 MCS 8
UE 0203: ulsch_total_bytes_scheduled 23584, ulsch_total_bytes_received 23286
UE 0203: LCID 1: 5690 bytes TX

[RLC]   max RETX reached on SRB 1
[RLC]   max RETX reached on SRB 1
[RLC]   max RETX reached on SRB 1
[RLC]   max RETX reached on SRB 1
[RLC]   max RETX reached on SRB 1
[RLC]   max RETX reached on SRB 1
[RLC]   max RETX reached on SRB 1
[RLC]   max RETX reached on SRB 1
[RLC]   max RETX reached on SRB 1
[RLC]   max RETX reached on SRB 1

Merge request reports