• Robert Schmidt's avatar
    Simplify RRC DRB handling code · f81ec9c2
    Robert Schmidt authored
    Prior to this commit, the handling of DRBs is complex: first the RRC
    "guessed" a DRB ID when setting up DRBs via E1AP (in
    rrc_gNB_process_NGAP_PDUSESSION_SETUP_REQ()), and later chose one for
    real in fill_DRB_Configlist() (called in
    rrc_gNB_generate_dedicatedRRCReconfiguration()).
    
    To simplify, remove fill_DRB_Configlist(), and instead allocate the DRB
    using generateDRB() before sending the message via E1AP, in
    rrc_gNB_generate_dedicatedRRCReconfiguration(). The rest of the logic is
    the same.
    
    For PDU sessions, always mark PDU sessions as "done" to match pdu
    session state logic.
    f81ec9c2
rrc_gNB_NGAP.c 63 KB