The transmitting part of the SRAP entity on the PC5 interface of U2N Relay UE receives SRAP data packets from the receiving part of the SRAP entity on the Uu interface of the same U2N Relay UE, and construct SRAP Data PDUs as needed (see
clause 4.2.2).
When the transmitting part of the SRAP entity on the PC5 interface has an SRAP Data PDU to transmit, the transmitting part of the SRAP entity on the PC5 interface shall:
-
Determine the egress link in accordance with clause 5.2.2.1;
-
Determine the egress RLC channel in accordance with clause 5.2.2.2;
-
If the SRAP Data PDU is for SRB0 (the BEARER ID field is 0, and the bearer is identified as SRB based on sl-RemoteUE-RB-Identity associated with the entry containing the sl-EgressRLC-ChannelUu which matches the LCID of the Uu Relay RLC Channel from which the SRAP Data PDU is received):
-
Remove the SRAP header from the SRAP Data PDU;
-
Submit this SRAP Data PDU to the determined egress RLC channel of the determined egress link.
For a SRAP Data PDU to be transmitted, SRAP entity shall:
-
If there is an entry in sl-RemoteUE-ToAddModList, whose sl-LocalIdentity included in sl-SRAP-ConfigRelay matches the UE ID field in SRAP Data PDU:
-
Determine the egress link on PC5 interface corresponding to sl-L2IdentityRemote configured for the concerned sl-LocalIdentity as specified in TS 38.331.
For a SRAP Data PDU to be transmitted, the SRAP entity shall:
-
If the SRAP Data PDU is for SRB0 (the BEARER ID field is 0 and the bearer is identified as SRB based on sl-RemoteUE-RB-Identity associated with the entry containing the sl-EgressRLC-ChannelUu which matches the LCID of the Uu Relay RLC Channel from which the SRAP Data PDU is received):
-
Determine the egress PC5 Relay RLC channel in the determined egress link corresponding to logicalChannelIdentity for SL-RLC0 as specified in TS 38.331.
-
Else if there is an entry in sl-RemoteUE-ToAddModList, whose sl-LocalIdentity included in sl-SRAP-ConfigRelay matches the UE ID field in SRAP Data PDU, which includes an sl-RemoteUE-RB-Identity that matches the SRB identity or DRB identity of the SRAP Data PDU determined by the BEARER ID field (For the BEARER ID shared by both SRB and DRB, SRB and DRB are differentiated based on sl-RemoteUE-RB-Identity associated with the entry containing the sl-EgressRLC-ChannelUu which matches the LCID of the Uu Relay RLC Channel from which the SRAP Data PDU is received, and for DRB, the DRB identity is BEARER ID plus 1):
-
If the SRAP Data PDU is for SRB1 but the corresponding sl-EgressRLC-ChannelPC5 is absent in sl-SRAP-ConfigRelay:
-
Determine the egress PC5 Relay RLC channel in the determined egress link corresponding to logicalChannelIdentity for SL-RLC1 as specified in TS 38.331.
-
Else:
-
Determine the egress PC5 Relay RLC channel in the determined egress link corresponding to sl-EgressRLC-ChannelPC5 configured for the concerned sl-LocalIdentity and concerned sl-RemoteUE-RB-Identity as specified in TS 38.331.