Skip to content

Assertion: Illegal NPRB/RBstart Configuration (5,47) for BWPsize 48

With COTS UE in bad radio conditions we get this Assertion from time to time:

Assertion (NPRB>0 && (NPRB + RBstart <= BWPsize)) failed! 
In PRBalloc_to_locationandbandwidth0() /home/user/openairinterface5g/common/utils/nr/nr_common.c:286 
Illegal NPRB/RBstart Configuration (5,47) for BWPsize 48 
[NR_PHY]   [gNB 0][RAPROC] Frame 890, slot 19 Initiating RA procedure with preamble 0, energy 54.0 dB (I0 179, thres 130), delay 0 start symbol 0 freq index 0 
[NR_MAC]   [gNB 0][RAPROC] CC_id 0 Frame 890 Activating Msg2 generation in frame 891, slot 7 using RA rnti 10b SSB, new rnti 1aee index 0 RA index 0 
[NR_MAC]   [gNB 0][RAPROC] CC_id 0 Frame 891, slotP 7: Generating RA-Msg2 DCI, rnti 0x10b, state 1, CoreSetType 0 
[NR_MAC]   [RAPROC] Msg3 slot 13: current slot 7 Msg3 frame 891 k2 3 Msg3_tda_id 2 
[NR_MAC]   Adding new UE context with RNTI 0x1aee 
[NR_MAC]   [gNB 0][RAPROC] PUSCH with TC_RNTI 0x1aee received correctly, adding UE MAC Context RNTI 0x1aee 
[NR_MAC]   [RAPROC] RA-Msg3 received (sdu_lenP 28) 
[RLC]   activated srb0 for UE with RNTI 0x1aee 
[RLC]   Added srb 1 to UE with RNTI 0x1aee 
[NR_MAC]   Activating scheduling RA-Msg4 for TC_RNTI 0x1aee (state WAIT_Msg3) 
[NR_MAC]   Unexpected ULSCH HARQ PID 0 (have -1) for RNTI 0x1aee (ignore this warning for RA) 
[NR_MAC]   No CU UE ID stored for UE RNTI 1aee, adding CU UE ID 2 
[NR_MAC]   Remove NR rnti 0xd75f 
[RLC]   remove UE 1aee 
[RLC]   Update old UE RNTI d75f context to RNTI 1aee 
[GTPU]   [99] Updated tunnels from UEid d75f to UEid 1aee 
[NR_MAC]   UE 1aee Generate msg4: feedback at  892. 8, payload 21 bytes, next state WAIT_Msg4_ACK 
[NR_MAC]   handle_nr_uci_pucch_0_1(): unknown RNTI d75f in PUCCH UCI 
[NR_MAC]   Invalid timing advance offset for RNTI 9596 
[NR_MAC]   Could not find UE for RNTI d75f 
[NR_MAC]   (UE RNTI 0x1aee) Received Ack of RA-Msg4. CBRA procedure succeeded! 
[RLC]   max RETX reached on SRB 1 
Assertion (NPRB>0 && (NPRB + RBstart <= BWPsize)) failed! 
In PRBalloc_to_locationandbandwidth0() /home/user/openairinterface5g/common/utils/nr/nr_common.c:286 
Illegal NPRB/RBstart Configuration (5,47) for BWPsize 48 
Exiting execution 
first_call set from phy cb first_call_set=0x724b4ee12751

How to reproduce: TBD