Section: 5.8.9.1.3 Reception of an RRCReconfigurationSidelink by the UE
Content: The UE shall perform the following actions upon reception of the RRCReconfigurationSidelink: 1> if the RRCReconfigurationSidelink includes the sl-ResetConfig: 2> perform the sidelink reset configuration procedure as specified in 5.8.9.1.10; 1> if the RRCReconfigurationSidelink includes the slrb-ConfigToReleaseList: 2> for each entry value included in the slrb-ConfigToReleaseList that is part of the current UE sidelink configuration; 3> perform the sidelink DRB release procedure, according to clause 5.8.9.1a.1; 1> if the RRCReconfigurationSidelink includes the slrb-ConfigToAddModList: 2> for each slrb-PC5-ConfigIndex value included in the slrb-ConfigToAddModList that is not part of the current UE sidelink configuration: 3> if sl-MappedQoS-FlowsToAddList is included: 4> apply the SL-PQFI included in sl-MappedQoS-FlowsToAddList; 3> perform the sidelink DRB addition procedure, according to clause 5.8.9.1a.2; 2> for each slrb-PC5-ConfigIndex value included in the slrb-ConfigToAddModList that is part of the current UE sidelink configuration: 3> if sl-MappedQoS-FlowsToAddList is included: 4> add the SL-PQFI included in sl-MappedQoS-FlowsToAddList to the corresponding sidelink DRB; 3> if sl-MappedQoS-FlowsToReleaseList is included: 4> remove the SL-PQFI included in sl-MappedQoS-FlowsToReleaseList from the corresponding sidelink DRB; 3> if the sidelink DRB release conditions as described in clause 5.8.9.1a.1.1 are met: 4> perform the sidelink DRB release procedure according to clause 5.8.9.1a.1.2; 3> else if the sidelink DRB modification conditions as described in clause 5.8.9.1a.2.1 are met: 4> perform the sidelink DRB modification procedure according to clause 5.8.9.1a.2.2; 1> if the RRCReconfigurationSidelink includes the sl-RLC-BearerToReleaseList: 2> for each entry value included in the sl-RLC-BearerToReleaseList that is part of the current UE sidelink configuration; 3> perform the additional sidelink RLC bearer release procedure, according to clause 5.8.9.1a.5; 1> if the RRCReconfigurationSidelink includes the sl-RLC-BearerToAddModList: 2> for each SL-RLC-BearerConfigIndex value included in the sl-RLC-BearerToAddModList that is not part of the current UE sidelink configuration: 3> perform the additional sidelink RLC bearer addition procedure, according to clause 5.8.9.1a.6; 2> for each SL-RLC-BearerConfigIndex value included in the sl-RLC-BearerToAddModList that is part of the current UE sidelink configuration: 3> perform the additional sidelink RLC bearer modification procedure, according to clause 5.8.9.1a.6; 1> if the RRCReconfigurationSidelink includes the sl-CarrierToReleaseList: 2> for each entry value included in the sl-CarrierToReleaseList that is part of the current UE sidelink configuration; 3> perform the sidelink carrier release procedure, according to clause 5.8.9.1b.1; 1> if the RRCReconfigurationSidelink includes the sl-CarrierToAddModList: 2> for each sl-Carrier-Id value included in the sl-CarrierToAddModList that is not part of the current UE sidelink configuration: 3> perform the sidelink carrier addition procedure, according to clause 5.8.9.1b.2; 2> for each sl-Carrier-Id value included in the sl-CarrierToAddModList that is part of the current UE sidelink configuration: 3> perform the carrier modification procedure, according to clause 5.8.9.1b.2; 1> if the RRCReconfigurationSidelink message includes the sl-MeasConfig: 2> perform the sidelink measurement configuration procedure as specified in 5.8.10; 1> if the RRCReconfigurationSidelink message includes the sl-CSI-RS-Config: 2> apply the sidelink CSI-RS configuration; 1> if the RRCReconfigurationSidelink message includes the sl-LatencyBoundCSI-Report: 2> apply the configured sidelink CSI report latency bound; 1> if the RRCReconfigurationSidelink includes the sl-RLC-ChannelToReleaseListPC5: 2> for each SL-RLC-ChannelID value included in the sl-RLC-ChannelToReleaseListPC5 that is part of the current UE sidelink configuration; 3> perform the PC5 Relay RLC channel release procedure, according to clause 5.8.9.7.1; 1> if the RRCReconfigurationSidelink includes the sl-RLC-ChannelToAddModListPC5: 2> for each sl-RLC-ChannelID-PC5 value included in the sl-RLC-ChannelToAddModListPC5 that is not part of the current UE sidelink configuration: 3> perform the PC5 Relay RLC channel addition procedure, according to clause 5.8.9.7.2; 2> for each sl-RLC-ChannelID-PC5 value included in the sl-RLC-ChannelToAddModListPC5 that is part of the current UE sidelink configuration: 3> perform the PC5 Relay RLC channel modification procedure according to clause 5.8.9.7.2; 1> if the RRCReconfigurationSidelink message includes the sl-DRX-ConfigUC-PC5; and 1> if the UE accepts the sl-DRX-ConfigUC-PC5: 2> configure lower layers to perform sidelink DRX operation according to sl-DRX-ConfigUC-PC5 for the associated destination as defined in TS 38.321[ NR; Medium Access Control (MAC) protocol specification ]  [3]; 1> if the RRCReconfigurationSidelink message includes the sl-LatencyBoundIUC-Report: 2> apply the configured sidelink IUC report latency bound; 1> if the RRCReconfigurationSidelink message includes the sl-LocalID-PairToReleaseList or sl-LocalID-PairToAddModList: 2> configure SRAP entity to perform NR sidelink L2 U2U relay operation accordingly for the end-to-end PC5 connection peer L2 U2U Remote UE as defined in TS 38.351[ NR; Sidelink Relay Adaptation Protocol (SRAP) Specification ]  [65]; 1> if the RRCReconfigurationSidelink message includes the sl-MappingToAddModListPC5 or sl-MappingToReleaseListPC5: 2> configure lower layers to perform NR sidelink L2 U2U relay operation according to mapping between end-to-end sidelink bearer of L2 U2U Remote UE and egress PC5 Relay RLC channel as defined in TS 38.351[ NR; Sidelink Relay Adaptation Protocol (SRAP) Specification ]  [65]; 1> if the UE is unable to comply with (part of) the configuration included in the RRCReconfigurationSidelink (i.e. sidelink RRC reconfiguration failure): 2> continue using the configuration used prior to the reception of the RRCReconfigurationSidelink message; 2> set the content of the RRCReconfigurationFailureSidelink message; 3> submit the RRCReconfigurationFailureSidelink message to lower layers for transmission; 1> if the RRCReconfigurationSidelink message includes the sl-SFN-DFN-Offset: 2> if the sl-SFN-DFN-Offset is set to setup: 3> apply the configured SFN-DFN time offset; 2> if the sl-SFN-DFN-Offset is set to release: 3> release the received sl-SFN-DFN-Offset; 1> else: 2> set the content of the RRCReconfigurationCompleteSidelink message; 3> if the UE rejects the sidelink DRX configuration sl-DRX-ConfigUC-PC5 received from the peer UE: 4> include the sl-DRX-ConfigReject in the RRCReconfigurationCompleteSidelink message; 4> consider no sidelink DRX to be applied for the corresponding sidelink unicast communication; 3> submit the RRCReconfigurationCompleteSidelink message to lower layers for transmission; NOTE 1: When the same logical channel is configured with different RLC mode by another UE, the UE handles the case as sidelink RRC reconfiguration failure. NOTE 2: It is up to the UE implementation whether or not to indicate the rejection to the peer UE for a received sidelink DRX configuration.