• Cedric Roux's avatar
    hotfix: set PDCP t-reordering to 100ms · 13757862
    Cedric Roux authored
    The function generateDRB() sets the value to 100ms but the function
    rrc_gNB_process_NGAP_PDUSESSION_SETUP_REQ() sets it to 0ms.
    
    So what happens is that the UE gets the value 100ms in the
    RRC Reconfiguration but the gNB creates the PDCP entity with 0ms.
    Let's create it with 100ms instead, to be aligned with how we configure
    the UE.
    
    And also avoid some PDCP warnings at runtime when some packets
    are retransmitted but rejected because of the 0ms timer. This is
    the warning:
    
        [PDCP]   discard NR PDU rcvd_count=68469, entity->rx_deliv 68481,sdu_in_list 0
    
    This is just a hotfix. A real solution is to have the RB creation in
    only one place. And we should also have those parameters configurable.
    Work for later.
    13757862
rrc_gNB_NGAP.c 61.1 KB