Skip to content
  • Cédric Roux's avatar
    nr pdcp: improvements · 9edc8cce
    Cédric Roux authored
    Implement data transfer (38.331 5.2):
        - transmit operation (in nr_pdcp_entity_recv_sdu)
        - receive operation (in nr_pdcp_entity_recv_pdu)
        - t-Reordering expiration
    
    To keep track of time the function nr_pdcp_wakeup_timer_thread has been
    added and is called by the gNB's MAC scheduler via nr_pdcp_tick.
    
    (The UE has not been modified.)
    
    A thread has been introduced to set time of all the existing PDCP
    entities in the system. This probably does not scale well with many
    PDCP entities (many UEs connected to the gNB). To be changed at some
    point when needed. Hopefully, with a few UEs this mechanism won't be
    too problematic (ie. won't cause realtime problems).
    
    The problem with time in PDCP is that SDUs are kept if some are
    missing, to do reordering. A timer is started and when it expires
    we have to transmit the SDUs even if some are still missing. We
    want to do that as soon as possible. So we have to check timers
    often (every millisecond).
    
    In RLC the time is set when there is so...
    9edc8cce