7.2.3 5G ProSe direct link modification procedure
24.5543GPPProximity-services (ProSe) in 5G System (5GS) protocol aspectsRelease 17Stage 3TS
7.2.3.1 General
The purpose of the 5G ProSe direct link modification procedure is to modify the existing ProSe direct link to:
a) add new PC5 QoS flow(s) to the existing 5G ProSe direct link;
b) modify existing PC5 QoS flow(s) for updating PC5 QoS parameters of the existing PC5 QoS flow(s);
c) modify existing PC5 QoS flow(s) for associating new ProSe application(s) with the existing PC5 QoS flow(s);
d) modify existing PC5 QoS flow(s) for removing the associated ProSe application(s) from the existing PC5 QoS flow(s); or
e) remove existing PC5 QoS flow(s) from the existing 5G ProSe direct link.
In this procedure, the UE sending the PROSE DIRECT LINK MODIFICATION REQUEST message is called the "initiating UE" and the other UE is called the "target UE".
NOTE: The 5G ProSe direct link modification procedure is not applicable for 5G ProSe layer-2 UE-to-network relay case.
7.2.3.2 5G ProSe direct link modification procedure initiated by initiating UE
The initiating UE shall meet the following pre-conditions before initiating this procedure for adding a new ProSe application to the existing 5G ProSe direct link:
a) there is a 5G ProSe direct link between the initiating UE and the target UE;
b) the pair of application layer IDs and the network layer protocol of this 5G ProSe direct link are identical to those required by the application layer in the initiating UE for this ProSe application; and
c) the security policy corresponding to the ProSe identifier is aligned with the security policy of the existing 5G ProSe direct link.
After receiving the service data or request from the upper layers, the initiating UE shall perform the PC5 QoS flow match as specified in clause 7.2.8. If there is no matched PC5 QoS flow, the initiating UE shall derive the PC5 QoS parameters and assign the PQFI(s) for the PC5 QoS flows(s) to be established as specified in clause 7.2.7.
If the 5G ProSe direct link modification procedure is to add new PC5 QoS flow(s) to the existing 5G ProSe direct link, the initiating UE shall create a PROSE DIRECT LINK MODIFICATION REQUEST message. In this message, initiating UE:
a) shall include the PQFI(s), the corresponding PC5 QoS parameters and optionally the ProSe identifier(s);
b) shall include the link modification operation code set to "Add new PC5 QoS flow(s) to the existing 5G ProSe direct link "; and
c) may include the PC5 QoS rule(s) to indicate the packet filters of the PC5 QoS flow(s).
If the 5G ProSe direct link modification procedure is to modify the PC5 QoS parameters for existing PC5 QoS flow(s) in the existing 5G ProSe direct link, the initiating UE shall create a PROSE DIRECT LINK MODIFICATION REQUEST message. In this message, the initiating UE:
a) shall include the PQFI(s) and the corresponding PC5 QoS parameters, including the ProSe identifier(s);
b) shall include the link modification operation code set to "Modify PC5 QoS parameters of the existing PC5 QoS flow(s)"; and
c) may include the PC5 QoS rule(s) to indicate the packet filters of the PC5 QoS flow(s).
If the 5G ProSe direct link modification procedure is to associate new ProSe application(s) with existing PC5 QoS flow(s), the initiating UE shall create a PROSE DIRECT LINK MODIFICATION REQUEST message. In this message, the initiating UE:
a) shall include the PQFI(s) and the corresponding PC5 QoS parameters, including the ProSe identifier(s);
b) shall include the link modification operation code set to "Associate new ProSe application(s) with existing PC5 QoS flow(s)"; and
c) may include the PC5 QoS rule(s) to indicate the packet filters of the PC5 QoS flow(s).
If the PC5 5G ProSe direct link modification procedure is to remove the associated ProSe application(s) from existing PC5 QoS flow(s), the initiating UE shall create a PROSE DIRECT LINK MODIFICATION REQUEST message. In this message, the initiating UE:
a) shall include the PQFI(s) and the corresponding PC5 QoS parameters including the ProSe identifier(s); and
b) shall include the link modification operation code set to "Remove ProSe application(s) from existing PC5 QoS flow(s)".
If the direct link modification procedure is to remove any PC5 QoS flow(s) from the existing 5G ProSe direct link, the initiating UE shall create a PROSE DIRECT LINK MODIFICATION REQUEST message. In this message, the initiating UE:
a) shall include the PQFI(s); and
b) shall include the link modification operation code set to "Remove existing PC5 QoS flow(s) from the existing 5G ProSe direct link".
After the PROSE DIRECT LINK MODIFICATION REQUEST message is generated, the initiating UE shall pass this message to the lower layers for transmission along with the initiating UE’s layer-2 ID for 5G ProSe direct communication and the target UE’s layer-2 ID for 5G ProSe direct communication and start timer T5081. The UE shall not send a new PROSE DIRECT LINK MODIFICATION REQUEST message to the same target UE while timer T5081 is running.
Figure 7.2.3.2.1: 5G ProSe direct link modification procedure
7.2.3.3 5G ProSe direct link modification procedure accepted by the target UE
If the PROSE DIRECT LINK MODIFICATION REQUEST message is accepted, the target UE shall respond with the PROSE DIRECT LINK MODIFICATION ACCEPT message.
If the PROSE DIRECT LINK MODIFICATION REQUEST message is to add a new ProSe application, add new PC5 QoS flow(s) or modify any existing PC5 QoS flow(s) in the 5G ProSe direct link, the target UE:
a) shall include the PQFI(s), the corresponding PC5 QoS parameters and optionally the ProSe identifier(s) that the target UE accepts; and
b) may include the PC5 QoS rule(s) to indicate the packet filters of the PC5 QoS flow(s);
in the PROSE DIRECT LINK MODIFICATION ACCEPT message.
If the PROSE DIRECT LINK MODIFICATION REQUEST message is to remove an existing ProSe application from the 5G ProSe direct link, the target UE shall delete the ProSe identifier received in the PROSE DIRECT LINK MODIFICATION REQUEST message and the corresponding PQFI(s) and PC5 QoS parameters from the profile associated with the 5G ProSe direct link.
If the PROSE DIRECT LINK MODIFICATION REQUEST message is to remove existing PC5 QoS flow(s) from the PC5 5G ProSe direct link, the target UE shall delete the PQFI(s) and the corresponding PC5 QoS parameters from the profile associated with the 5G ProSe direct link.
If the PROSE DIRECT LINK MODIFICATION REQUEST message is to add a new ProSe application, add new PC5 QoS flow(s) or modify any existing PC5 QoS flow(s) in the 5G ProSe direct link, after sending the PROSE DIRECT LINK MODIFICATION ACCEPT message, the target UE shall provide the added or modified PQFI(s) and corresponding PC5 QoS parameters along with PC5 link identifier to the lower layer.
If the PROSE DIRECT LINK MODIFICATION REQUEST message is to remove an existing ProSe application or to remove the existing PC5 QoS flow(s) from the 5G ProSe direct link, after sending the PROSE DIRECT LINK MODIFICATION ACCEPT message, the target UE shall provide the removed PQFI(s) along with the PC5 link identifier to the lower layer.
If the 5G ProSe direct link is for 5G ProSe direct communication between the 5G ProSe remote UE and the 5G ProSe layer-3 UE-to-network relay UE, and if the initiating UE is the 5G ProSe remote UE, then the target UE (as the 5G ProSe layer-3 UE-to-network relay UE) performs the QoS flows handling procedure as specified in clause 8.2.6.3.3 and clause 8.2.6.4.2.
If the target UE accepts the 5G ProSe direct link modification request, then the target UE may perform the PC5 QoS flow establishment over 5G ProSe direct link as specified in clause 7.2.7 and perform the PC5 QoS flow match over 5G ProSe direct link as specified in clause 7.2.8.
7.2.3.4 5G ProSe direct link modification procedure completion by the initiating UE
Upon receipt of the PROSE DIRECT LINK MODIFICATION ACCEPT message, the initiating UE shall stop timer T5081.
Upon receipt of the PROSE DIRECT LINK MODIFICATION ACCEPT message, if the PROSE DIRECT LINK MODIFICATION REQUEST message is to add a new ProSe application, add new PC5 QoS flow(s) or modify any existing PC5 QoS flow(s) in the 5G ProSe direct link, the initiating UE shall provide the added or modified PQFI(s) and corresponding PC5 QoS parameters along with PC5 link identifier to the lower layer.
Upon receipt of the PROSE DIRECT LINK MODIFICATION ACCEPT message, if the PROSE DIRECT LINK MODIFICATION REQUEST message is to remove an existing ProSe application or to remove the existing PC5 QoS flow(s) from the 5G ProSe direct link, the initiating UE shall provide the removed PQFI(s) along with the PC5 link identifier to the lower layer.
7.2.3.5 5G ProSe direct link modification procedure not accepted by the target UE
If the 5G ProSe direct link modification request cannot be accepted, the target UE shall send a PROSE DIRECT LINK MODIFICATION REJECT message. The PROSE DIRECT LINK MODIFICATION REJECT message contains a PC5 signalling protocol cause IE set to one of the following cause values:
#5 lack of resources for 5G ProSe direct link;
#6 required service not allowed;
#12 security policy not aligned;
#16 lack of local capabilities; or
#111 protocol error, unspecified.
If the target UE is not allowed to accept this request, e.g., because the ProSe application to be added is not allowed per the operator policy or configuration parameters for ProSe communication over PC5 as specified in clause 5.2.4, the target UE shall send a PROSE DIRECT LINK MODIFICATION REJECT message with PC5 signalling protocol cause value #6 "required service not allowed".
If the 5G ProSe direct link modification fails due to the congestion problems or other temporary lower layer problems causing resource constraints, the target UE shall send a PROSE DIRECT LINK MODIFICATION REJECT message with PC5 signalling protocol cause value #5 "lack of resources for 5G ProSe direct link".
If the link modification operation code is set to "Associate new ProSe application(s) with existing PC5 QoS flow(s)" and the security policy corresponding to the ProSe identifier(s) is not aligned with the security policy applied to the existing 5G ProSe direct link, then the target UE shall send a PROSE DIRECT LINK MODIFICATION REJECT message with PC5 signalling protocol cause value #12 "security policy not aligned".
If the link modification operation requires the addition of new PC5 QoS flow(s) but the target UE cannot support additional packet filters which would be required on the existing PDU session of the target UE, then the target UE shall send a PROSE DIRECT LINK MODIFICATION REJECT message with PC5 signalling protocol cause value #16"lack of local capabilities".
For other reasons causing the failure of link modification, the target UE shall send a PROSE DIRECT LINK MODIFICATION REJECT message with PC5 signalling protocol cause value #111 "protocol error, unspecified".
Upon receipt of the PROSE DIRECT LINK MODIFICATION REJECT message, the initiating UE shall stop timer T5081 and abort the 5G ProSe direct link modification procedure. If the PC5 signalling protocol cause value in the PROSE DIRECT LINK MODIFICATION REJECT message is #11 "required service not allowed" or #5 "lack of resources for 5G ProSe direct link" or #12 "security policy not aligned", then the initiating UE shall not attempt to start 5G ProSe direct link modification with the same target UE to add the same ProSe application, or to add or modify the same PC5 QoS flow(s) at least for a time period T.
NOTE: The length of time period T is UE implementation specific and can be different for the case when the UE receives PC5 signalling protocol cause value #11 "required service not allowed" or when the UE receives PC5 signalling protocol cause value #5 "lack of resources for 5G ProSe direct link" or when the UE receives PC5 signalling protocol cause value #12 "security policy not aligned". The length of time period T is not less than 30 minutes.
7.2.3.6 Abnormal cases
7.2.3.6.1 Abnormal cases at the initiating UE
The following abnormal cases can be identified:
a) If timer T5081 expires, the initiating UE shall retransmit the PROSE DIRECT LINK MODIFICATION REQUEST message and restart timer T5081. After reaching the maximum number of allowed retransmissions, the initiating UE shall abort the 5G ProSe direct link modification procedure and may notify the upper layer that the target UE is unreachable.
NOTE 1: The maximum number of allowed retransmissions is UE implementation specific.
NOTE 2: After reaching the maximum number of allowed retransmissions, whether the initiating UE releases this 5G ProSe direct link depends on its implementation.
b) For the same 5G ProSe direct link, if the initiating UE receives a PROSE DIRECT LINK RELEASE REQUEST message after the initiation of UE-requested 5G ProSe direct link modification procedure, the initiating UE shall stop the timer T5081 and abort the 5G ProSe direct link modification procedure and proceed with the 5G ProSe direct link release procedure.
c) For the same 5G ProSe direct link, if the initiating UE receives a PROSE DIRECT LINK MODIFICATION REQUEST message during the 5G ProSe direct link modification procedure, the initiating UE shall stop the timer T5081 and abort the 5G ProSe direct link modification procedure. Following handling is implementation dependent, e.g., the initiating UE waits for an implementation dependent time for initiating a new 5G ProSe direct link modification procedure, if still needed.
NOTE 3: The implementation dependent timer value needs to be set to avoid further collisions (e.g., random timer value).
7.2.3.6.2 Abnormal cases at the target UE
The following abnormal cases can be identified:
a) For the same 5G ProSe direct link, if the target UE receives a PROSE DIRECT LINK RELEASE REQUEST message during the 5G ProSe direct link modification procedure, the target UE shall stop all running timers for this 5G ProSe direct link, abort the 5G ProSe direct link modification procedure and proceed with the 5G ProSe direct link release procedure.