• Guido Casati's avatar
    Refactor handling of DL/UL SDAP header in the SDAP entity · 823340a2
    Guido Casati authored
    The TX/RX entity should have different behavior according to
    5.2.1, 5.2.2, 3GPP TS 37.324, depending on whether it is UL and DL.
    
    The gNB can play a role both as UL RX entity and DL TX entity, while
    the UE can play a role both as UL TX entity and DL RX entity.
    
    The goal of this commit is to extend the information stored in the
    SDAP entity as the current code is just marking the entity as TX/RX.
    The commit introduces a bitmap to store the role of the
    entity, which can be DL RX, DL TX, UL RX and UL TX. Based on this
    the TX SDAP entity knows whether a DL/UL PDU should be build, and
    the RX SDAP entity knows whether a DL/UL PDU should be processed.
    
    See also Figure 4.2.2-1.
    
    SDAP headers are present only if enable_sdap option is used.
    823340a2
nr_pdcp_oai_api.c 35.5 KB