Hi,
I have implemented the handover in nr, which works as it should and the traffic gets rerouted to the new gnb. The handover is triggered manually at 0.17 sec after the simulation starts.
However, I do get the following error in the pdcp layer, which occurs in the UE side. After inspecting the error, below I am trying to explain what happens.
What do you think could solve this error?
Thank you, Franci
// GNB sending pdcp packet of size 590 bytes
LtePdcp:DoTransmitPdcpSdu(0x5589a0937800, 2, 3, 588)
LtePdcp:DoTransmitPdcpSdu(): PDCP header: D/C=1 SN=1196
// UE first round: Decodes only 142 bytes from 590
+0.179390175s [ Rnti 2] LtePdcp:DoReceivePdu(0x5589a08bc480, 2, 3, 142)
+0.179390175s [ Rnti 2] LtePdcp:DoReceivePdu(): PDCP header: D/C=1 SN=1196
// UE second round: Tries to decode the remaining 448 bytes, which does have any more a PDCP header (it is present in the first 142 bytes), thus obviously leading to an error, when PDCP tries to remove the header from the packet
+0.179390175s [ Rnti 2] LtePdcp:DoReceivePdu(0x5589a08bc480, 2, 3, 448)
**** Error ****
assert failed. cond="m_dcBit == DATA_PDU", +0.179390175s 3 file=../src/lte/model/lte-pdcp-header.cc, line=114 terminate called without an active exception