7.2.6 5G ProSe direct link release procedure

24.5543GPPProximity-services (ProSe) in 5G System (5GS) protocol aspectsRelease 17Stage 3TS

7.2.6.1 General

The 5G ProSe direct link release procedure is used to release a secure 5G ProSe direct link between two UEs. The link can be released from either end point. The UE sending the PROSE DIRECT LINK RELEASE REQUEST message is called the "initiating UE" and the other UE is called the "target UE".

If the UE receives an indication of radio link failure or an indication of PC5-RRC connection release from the lower layer, the UE shall release the 5G ProSe direct link locally and may delete the KNRP ID associated with this link after an implementation specific time. If the UE acting as 5G ProSe layer-2 UE-to-network relay UE or 5G ProSe layer-2 remote UE receives a request of 5G ProSe direct link release from the lower layer as specified in 3GPP TS 38.331 [13], the UE shall initiate the 5G ProSe direct link release procedure.

When the direct link between a 5G ProSe remote UE and a 5G ProSe UE-to-network relay UE is released, the 5G ProSe layer-3 UE-to-network relay UE shall perform the remote UE report procedure as specified in 3GPP TS 24.501 [11].

7.2.6.2 5G ProSe direct link release procedure initiation by initiating UE

The initiating UE shall initiate the procedure if a request from upper layers to release a 5G ProSe direct link with the target UE which uses a known layer-2 ID (for unicast communication) is received and there is an existing 5G ProSe direct link between these two UEs.

The initiating UE may initiate the procedure if the target UE has been non-responsive, e.g., no response in the 5G ProSe direct link modification procedure, 5G ProSe direct link identifier update procedure, 5G ProSe direct link re-keying procedure or 5G ProSe direct link keep-alive procedure.

The initiating UE may initiate the procedure to release an established 5G ProSe direct link if the UE has reached the maximum number of established 5G ProSe direct links and there is a need to establish a new 5G ProSe direct link. In this case, which 5G ProSe direct link is to be released is up to UE implementation.

The initiating UE may initiate the procedure to release an established 5G ProSe direct link upon expiry of the timer T5084.

If:

a) the initiating UE acts as 5G ProSe layer-3 UE-to-network relay UE; and

b) the PDU session established for relaying the traffic of the target UE is released by the initiating UE or the network as specified in 3GPP TS 24.501 [11] clause 6.3.3 or clause 6.4.3;

the initiating UE should initiate the 5G ProSe direct link release procedure.

If:

a) the initiating UE acts as 5G ProSe layer-2 remote UE or 5G ProSe layer-3 remote UE for relay with N3IWF support; and

b) the initiating UE is in 5GMM-IDLE mode;

the initiating UE may initiate the 5G ProSe direct link release procedure.

If:

a) the initiating UE acts as 5G ProSe layer-2 remote UE, 5G ProSe layer-3 remote UE or 5G ProSe layer-2 UE-to-network relay UE; and

b) the service authorization for the initiating UE to act as 5G ProSe layer-2 remote UE, 5G ProSe layer-3 remote UE or 5G ProSe layer-2 UE-to-network relay UE is revoked after receiving the configuration parameters for 5G ProSe UE-to-network relay as specified in clause 5.2.5;

the initiating UE should initiate the 5G ProSe direct link release procedure.

If:

a) the initiating UE acts as 5G ProSe layer-3 UE-to-network relay UE; and

b) the service authorization for the initiating UE to act as 5G ProSe layer-3 UE-to-network relay UE in the serving PLMN is revoked after receiving the configuration parameters for 5G ProSe UE-to-network relay as specified in clause 5.2.5;

the initiating UE should initiate the 5G ProSe direct link release procedure, and the initiating UE releases the PDU session established for relaying the traffic of the target UE as specified in 3GPP TS 24.501 [11] clause 6.4.3.

In order to initiate the 5G ProSe direct link release procedure, the initiating UE shall create a PROSE DIRECT LINK RELEASE REQUEST message with a PC5 signalling protocol cause IE indicating one of the following cause values:

#1 direct communication to the target UE not allowed;

#2 direct communication to the target UE no longer needed;

#4 direct connection is not available anymore;

#5 lack of resources for 5G ProSe direct link;

#13 congestion situation; or

#111 protocol error, unspecified.

If the 5G ProSe direct link was established for relaying and:

a) the NAS level mobility management congestion control as specified in clause 5.3.9 of TS 24.501 [11] is activated at the initiating UE; or

b) the initiating UE is under congestion;

the initiating UE shall send a PROSE DIRECT LINK RELEASE REQUEST message containing PC5 signalling protocol cause value #13 "congestion situation". The initiating UE may provide a back-off timer value to the target UE in the PROSE DIRECT LINK RELEASE REQUEST message. The initiating UE shall not accept any 5G ProSe direct link establishment request for relaying if the back-off timer NAS level mobility management congestion control is running.

NOTE 1: How the initiating UE determines that it is under congestion is implementation specific (e.g., any relaying related operational overhead, etc).

NOTE 2: In case the initiating UE is under the NAS level mobility management congestion control, it is an implementation option that the provided back-off timer value to the target UE is set to the mobility management back-off timer T3346 or with an additional offset value.

If the 5G ProSe direct link was established by the initiating UE which is a 5G ProSe layer-2 remote UE, and the NAS level mobility management congestion control as specified in clause 5.3.9 of 3GPP TS 24.501 [11] is activated at the initiating UE, then the initiating UE shall send a PROSE DIRECT LINK RELEASE REQUEST message containing PC5 signalling protocol cause value #13 "congestion situation".

The initiating UE shall include the new 2 MSBs of KNRP ID in the PROSE DIRECT LINK RELEASE REQUEST message.

After the PROSE DIRECT LINK RELEASE 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 unicast communication and the target UE’s layer-2 ID for unicast communication and shall stop T5090 if running. The initiating UE shall start timer T5087.

Figure 7.2.6.2.1: 5G ProSe direct link release procedure

7.2.6.3 5G ProSe direct link release procedure accepted by the target UE

Upon receiving a PROSE DIRECT LINK RELEASE REQUEST message, the target UE shall stop all running timers for this 5G ProSe direct link and abort any other ongoing PC5 signalling protocol procedures on this 5G ProSe direct link.

If the PC5 signalling protocol cause value in the PROSE DIRECT LINK RELEASE REQUEST message is #13 "congestion situation" and a back-off timer value is provided in the PROSE DIRECT LINK RELEASE REQUEST message, the target UE shall start timer T5088 associated with the layer-2 ID of the initiating UE and set its value to the provided timer value.

The target UE shall respond with a PROSE DIRECT LINK RELEASE ACCEPT message. The target UE shall include the new 2 LSBs of KNRP ID in the PROSE DIRECT LINK RELEASE ACCEPT message. After the message is sent, the target UE shall release the 5G ProSe direct link by performing the following behaviours:

a) inform the lower layer along with the PC5 link identifier that the 5G ProSe direct link has been released; and

b) delete the 5G ProSe direct link context of the 5G ProSe direct link after an implementation specific time.

The target UE shall form the new KNRP ID from the new MSBs of KNRP ID received in the PROSE DIRECT LINK RELEASE REQUEST message and the new LSBs of KNRP ID included in the PROSE DIRECT LINK RELEASE ACCEPT message. The target UE shall replace the existing KNRP ID with the new KNRP ID. The target UE may include the new KNRP ID in PROSE DIRECT LINK ESTABLISHMENT REQUEST message with the initiating UE as specified in clause 7.2.2.2.

7.2.6.4 5G ProSe direct link release procedure completion by the initiating UE

Upon receipt of the PROSE DIRECT LINK RELEASE ACCEPT message, the initiating UE shall stop timer T5087 and shall release the 5G ProSe direct link by performing the following behaviours:

a) inform the lower layer along with the PC5 link identifier that the 5G ProSe direct link has been released; and

b) delete the 5G ProSe direct link context of the 5G ProSe direct link after an implementation specific time.

The initiating UE shall form the new KNRP ID from the MSBs of KNRP ID included in the PROSE DIRECT LINK RELEASE REQUEST message and the LSBs of KNRP ID received in the PROSE DIRECT LINK RELEASE ACCEPT message. The initiating UE shall replace the existing KNRP ID with the new KNRP ID. The initiating UE may include the new KNRP ID in PROSE DIRECT LINK ESTABLISHMENT REQUEST message with the target UE as specified in clause 7.2.2.2.

7.2.6.5 Abnormal cases

7.2.6.5.1 Abnormal cases at the initiating UE

If retransmission timer T5087 expires and the PC5 signalling protocol cause included in the PC5 signalling protocol cause IE in the PROSE DIRECT LINK RELEASE REQUEST message was #4 "direct connection is not available anymore", the initiating UE shall release the 5G ProSe direct link locally and delete the KNRP ID associated with this link. From this time onward the initiating UE shall no longer send or receive any messages via this link.

If retransmission timer T5087 expires and the PC5 signalling protocol cause included in the PC5 signalling protocol cause IE in the PROSE DIRECT LINK RELEASE REQUEST message was not #4 "direct connection is not available anymore", the initiating UE shall initiate the transmission of the PROSE DIRECT LINK RELEASE REQUEST message again and restart timer T5087.

If no response is received from the target UE after reaching the maximum number of allowed retransmissions, the initiating UE shall release the 5G ProSe direct link locally and delete the KNRP ID associated with this link. From this time onward the initiating UE shall no longer send or receive any messages via this link.

NOTE: The maximum number of allowed retransmissions is UE implementation specific.