Section: 5.8.9.7.2 PC5 Relay RLC channel addition/modification
Content: Upon PC5-RRC connection establishment between the L2 U2N Relay UE and L2 U2N Remote UE, the L2 U2N Relay UE shall: 1> establish a SRAP entity as specified in TS 38.351[ NR; Sidelink Relay Adaptation Protocol (SRAP) Specification ]  [66], if no SRAP entity has been established; 1> apply RLC specified configuration of SL-RLC0 as specified in clause 9.1.1.4: 1> apply RLC default configuration of SL-RLC1 as defined in clause 9.2.4 if the L2 U2N Relay UE is in RRC_IDLE/INACTIVE state; Upon PC5-RRC connection establishment between the L2 U2U Remote UE and L2 U2U Relay UE, and PC5-RRC connection establishment between the L2 U2U Relay UE and peer L2 U2U Remote UE, the L2 U2U Remote UE or L2 U2U Relay UE shall: 1> establish a SRAP entity as specified in TS 38.351[ NR; Sidelink Relay Adaptation Protocol (SRAP) Specification ]  [66], if no SRAP entity has been established; 1> apply RLC specified configuration of SL-U2U-RLC as specified in clause 9.1.1.4; The UE shall: 1> if the PC5 Relay RLC channel addition/modification was triggered due to the reception of the RRCReconfigurationSidelink message; or 1> after receiving the RRCReconfigurationCompleteSidelink message, if the PC5 Relay RLC channel addition/modification was triggered due to the configuration received within the sl-ConfigDedicatedNR; or 1> after receiving the RRCReconfigurationCompleteSidelink message, if the PC5 Relay RLC channel addition/modification was triggered for an end-to-end sidelink DRB based on the configuration in SIB12 or SidelinkPreconfigNR: 2> if the current configuration contains a PC5 Relay RLC channel with the received sl-RLC-ChannelID or sl-RLC-ChannelID-PC5; or 2> if the configuration in SIB12 or SidelinkPreconfigNR has updated, based on which the PC5 Relay RLC channel is derived: 3> reconfigure the sidelink RLC entity in accordance with the received sl-RLC-Config or sl-RLC-ConfigPC5; 3> reconfigure the sidelink MAC entity with a logical channel in accordance with the received sl-MAC-LogicalChannelConfig or sl-MAC-LogicalChannelConfigPC5; 2> else (a PC5 Relay RLC channel with the received sl-RLC-ChannelID or sl-RLC-ChannelID-PC5 was not configured before): 3> establish a sidelink RLC entity in accordance with the received sl-RLC-Config (in sl-ConfigDedicatedNR, or SIB12, or SidelinkPreconfigNR) or sl-RLC-ConfigPC5; 3> configure the sidelink MAC entity with a logical channel in accordance with the received sl-MAC-LogicalChannelConfig or sl-MAC-LogicalChannelConfigPC5.