mirror of https://github.com/pvnis/srsRAN_4G.git
srsue: fix stdout metrics print when scells aren't configured yet
during MAC reset, scells are reset to and their PCI is set to UINT32_MAX which results in malformatted stdout prints, see below: Random Access Transmission: seq=16, ra-rnti=0x2 Random Access Transmission: seq=14, ra-rnti=0x2 0 4 -24 24 -1.1u 1.0 140 0.50 0.0 0% 0.0 0.0 0.0 0.0 67% 14294967295 0.0 0.0 -1.1u 0.0 0.0 0.0 0.0 0% 0.0 0.0 0.0 0.0 0% 24294967295 0.0 0.0 -1.1u 0.0 0.0 0.0 0.0 0% 0.0 0.0 0.0 0.0 0% 34294967295 0.0 0.0 -1.1u 0.0 0.0 0.0 0.0 0% 0.0 0.0 0.0 0.0 0% this patch checks the configured PCI value against UINT32_MAX and prints "n/a" in case the scells aren't set yet.master
parent
909e5de34f
commit
3573644624
Loading…
Reference in New Issue