5G ProSe Communication via 5G ProSe Layer-3 UE-to-Network Relay may be performed with or without involving N3IWF for non-emergency service and for emergency service as specified in clause 5.4.4.
A 5G ProSe Layer-3 UE-to-Network Relay registers to the network (if not already registered). 5G ProSe Layer-3 UE-to-Network Relay establishes a PDU Session(s) or modifies an existing PDU Session(s) in order to provide relay traffic towards 5G ProSe Layer-3 Remote UE(s). PDU Session(s) supporting 5G ProSe Layer-3 UE-to-Network Relay shall only be used for 5G ProSe Layer-3 Remote UE(s) relay traffic.
The PLMN serving the 5G ProSe Layer-3 UE-to-Network Relay and the PLMN to which the 5G ProSe Layer-3 Remote UE registers can be the same PLMN or two different PLMNs.
Service authorization and provisioning are performed for the 5G ProSe Layer-3 UE-to-Network Relay (step 1a) and 5G ProSe Layer-3 Remote UE (step 1b) as described in clause 6.2.
The 5G ProSe Layer-3 UE-to-Network Relay may establish a PDU Session for relaying. In the case of IPv6, the 5G ProSe Layer-3 UE-to-Network Relay obtains the IPv6 prefix via prefix delegation function from the network as defined in TS 23.501.
The 5G ProSe Layer-3 Remote UE performs discovery of a 5G ProSe Layer-3 UE-to-Network Relay as described in clause 6.3.2.3. As part of the discovery procedure the 5G ProSe Layer-3 Remote UE learns about the connectivity service the 5G ProSe Layer-3 UE-to-Network Relay provides.
The 5G ProSe Layer-3 Remote UE selects a 5G ProSe Layer-3 UE-to-Network Relay and establishes a connection for unicast mode communication as described in clause 6.4.3.6. If there is no PDU Session associated with the Relay Service Code or a new PDU Session for relaying is needed, the 5G ProSe Layer-3 UE-to-Network Relay initiates a new PDU Session establishment procedure for relaying before completing the PC5 connection establishment.
When the 5G ProSe Layer-3 Remote UE sends the Direct Communication Request message including the dedicated emergency RSC, the 5G ProSe Layer-3 UE-to-Network Relay sets up an emergency PDU session for relaying the emergency service if there is not an emergency PDU Session established in step 2.
The network decides that the PDU Session to be established is for relay traffic and then generates the QoS rules and QoS Flow level QoS parameters to 5G ProSe Layer-3 UE-to-Network Relay with relay consideration and can initiate the setup of QoS flows as specified in clause 5.6.2.1. The Remote UE can also initiate the setup of QoS flows by providing PC5 QoS info and (optionally) PC5 QoS rule(s) to the 5G ProSe Layer-3 UE-to-Network Relay during connection setup, according to the procedure as specified in clause 5.6.2.1.
The 5G ProSe Layer-3 UE-to-Network Relay determines the PDU Session type for relaying as specified in clause 5.4.1.1.
According to the PDU Session Type for relaying, the 5G ProSe Layer-3 UE-to-Network Relay performs relaying function at the corresponding layer as follows:
When the IP type PDU Session is used for IP traffic over PC5 reference point, the 5G ProSe Layer-3 UE-to-Network Relay acts as an IP router. For IPv4, the 5G ProSe Layer-3 UE-to-Network Relay performs IPv4 NAT between IPv4 addresses assigned to the 5G ProSe Layer-3 Remote UE and the IPv4 address assigned to the PDU Session used for the relay traffic.
When the Ethernet type PDU Session is used for Ethernet traffic over PC5 reference point, the 5G ProSe Layer-3 UE-to-Network Relay acts as an Ethernet switch.
When the Unstructured type PDU Session is used for Unstructured traffic over PC5 reference point, the 5G ProSe Layer-3 UE-to-Network Relay performs traffic relaying based on a mapping between the PC5 Link Identifier and the PDU Session ID and a mapping between PFI for PC5 Layer-2 link and the QFI for the PDU Session. These mappings are created when the Unstructured type PDU Session is established for the 5G ProSe Layer-3 Remote UE.
When the IP type PDU Session is used for Ethernet or Unstructured traffic over PC5 reference point, the 5G ProSe Layer-3 UE-to-Network Relay uses IP tunneling. For this IP tunnelling, the 5G ProSe Layer-3 UE-to-Network Relay locally assigns an IP address/prefix for the 5G ProSe Layer-3 Remote UE and uses it on the Uu reference point to encapsulate and decapsulate the uplink and downlink traffic for the 5G ProSe Layer-3 Remote UE. The tunnelled traffic over Uu reference point is transported over the PC5 reference point as Ethernet or Unstructured traffic.
For IP PDU Session Type and IP traffic over PC5 reference point, IPv6 prefix or IPv4 address (including NAT case) is allocated for the 5G ProSe Layer-3 Remote UE as defined in clause 5.5.1.3.
The 5G ProSe Layer-3 Remote UE may provide PC5 QoS Info and PC5 QoS rule(s) to the 5G ProSe Layer-3 UE-to-Network Relay using Layer-2 link modification procedure as specified in clause 6.4.3.4. The 5G ProSe Layer-3 UE-to-Network Relay generates the Packet Filters used over Uu interface based on the received PC5 QoS Info and QoS Rule(s) as described in clause 5.6.2.1 and may perform the UE requested PDU Session Modification as defined in clause 4.3.3 of TS 23.502 to setup a new QoS Flow or bind the traffic to an existing QoS Flow.
From this point the uplink and downlink relaying can start. For downlink traffic forwarding, the PC5 QoS Rule is used to map the downlink packet to the PC5 QoS Flow. For uplink traffic forwarding, the 5G QoS Rule is used to map the uplink packet to the Uu QoS Flow.
The 5G ProSe Layer-3 UE-to-Network Relay shall send a Remote UE Report (Remote User ID, Remote UE info) message to the SMF for the PDU Session associated with the relay. The Remote User ID, as defined in TS 33.503, is an identity of the 5G ProSe Layer-3 Remote UE user that was successfully connected in step 4. The Remote UE info is used to assist identifying the 5G ProSe Layer-3 Remote UE in the 5GC. For IP PDU Session Type, the Remote UE info is Remote UE IP info. For Ethernet PDU Session Type, the Remote UE info is Remote UE MAC address which is detected by the 5G ProSe Layer-3 UE-to-Network Relay. For Unstructured PDU Session Type, the Remote UE info is not included. The SMF stores the Remote User IDs and the related Remote UE info in the 5G ProSe Layer-3 UE-to-Network Relay's SM context for this PDU Session associated with the relay.
The Remote UE Report is N1 SM NAS message sent with the PDU Session ID to the AMF, in turn delivered to the SMF.
For IP info the following principles apply:
for IPv4, the 5G ProSe Layer-3 UE-to-Network Relay shall report TCP/UDP port ranges assigned to individual 5G ProSe Layer-3 Remote UE(s) (along with the Remote User ID);
for IPv6, the 5G ProSe Layer-3 UE-to-Network Relay shall report IPv6 prefix(es) assigned to individual 5G ProSe Layer-3 Remote UE(s) (along with the Remote User ID).
If the PDU Session for relaying is released by the UE-to-Network Relay or the network as described in clause 4.3.4 of TS 23.502, the UE-to-Network Relay should initiate the release of the layer-2 links associated with the released PDU Session using the procedure defined in clause 6.4.3.3.
The PDU Session(s) used for relaying should be released as described in clause 4.3.4 of TS 23.502 (e.g. by 5G ProSe Layer-3 UE-to-Network Relay), if the service authorization for acting as a 5G ProSe Layer-3 UE-to-Network Relay in the serving PLMN is revoked.
The 5G ProSe Layer-3 UE-to-Network Relay shall send the Remote UE Report message when the 5G ProSe Layer-3 Remote UE disconnects from the 5G ProSe Layer-3 UE-to-Network Relay (e.g. upon explicit layer-2 link release or based on the absence of keep alive messages over PC5) to inform the SMF that the 5G ProSe Layer-3 Remote UE(s) have left.
It is up to 5G ProSe Layer-3 UE-to-Network Relay implementation how PDU Session(s) used for relaying are released or QoS Flow(s) used for relaying are removed by the 5G ProSe Layer-3 UE-to-Network Relay when 5G ProSe Layer-3 Remote UE(s) disconnect from the 5G ProSe Layer-3 UE-to-Network Relay.
In order to relay 5G ProSe Layer-3 Remote UE's traffic via N3IWF (see clause 6.5.1.2.2 for N3IWF selection), the 5G ProSe Layer-3 UE-to-Network Relay needs suitable ProSe Policies configured for establishing a PDU Session associated with a UPF that conveys the traffic towards the N3IWF. A 5G ProSe Layer-3 UE-to-Network Relay registers to the network as specified in clause 6.5.1.1. Based on configuration and authorization, the 5G ProSe Layer-3 UE-to-Network Relay is provisioned with PDU Session parameters in the ProSe Policy allowing the access to the N3IWF. When the corresponding PDU Session is established, the 5GS, e.g. SMF, based on the parameters (i.e. DNN, S-NSSAI) selects the UPF that ensures the connection to the N3IWF. The UPF for the 5G ProSe UE-to-Network Relay and the N3IWF may be collocated.
A 5G ProSe Layer-3 UE-to-Network Relay with a PDU Session providing access via N3IWF may also have other PDU Sessions for supporting access from the 5G ProSe Layer-3 Remote UE without going through a N3IWF.
5G ProSe Layer-3 UE-to-Network Relay performs Registration procedures and obtains the ProSe Policy that corresponds to the operation supporting the access to N3IWF. The ProSe Policy includes the RSC and PDU Session parameters allowing the access to the N3IWF.
The 5G ProSe Layer-3 Remote UE is configured with the corresponding ProSe Policy and URSP rules. The URSP policy indicates if a particular service needs to be accessed within a PDU Session and thus should use a 5G ProSe Layer-3 UE-to-Network Relay with N3IWF support as described in clause 6.5.4.
A 5G ProSe Layer-3 UE-to-Network Relay and 5G ProSe Layer-3 Remote UE follow the procedures described in steps 3-5 in clause 6.5.1.1 using the RSC configured for making the 5G ProSe Layer-3 Remote UE access to 5GC via N3IWF.
The 5G ProSe Layer-3 Remote UE that connects to a 5G ProSe Layer-3 UE-to-Network Relay with N3IWF support selects an N3IWF and determines the N3IWF IP address. The 5G ProSe Layer-3 Remote UE follows the N3IWF selection procedure as described in clause 6.5.1.2.2.
The 5G ProSe Layer-3 Remote UE establishes a signalling IPsec tunnel using IKE procedures with a N3IWF and performs NAS Registration as shown in Figure 4.12.2.2-1 of TS 23.502. After the IPSec tunnel is established, the 5G ProSe Layer-3 Remote UE can perform any of the NAS procedures (incl. PDU Session establishment for the 5G ProSe Layer-3 UE-to-Network Relay PDU Sessions) as specified in clause 4.12 of TS 23.502.
After the PDU session(s) and associated QoS Flows are established in the 5G ProSe Layer-3 Remote UE's 5GC, the N3IWF determines the number of IPsec Child SA(s) that is needed and initiates the creation of the Child SA(s) as specified in clause 4.12.5 of TS 23.502. Once the Child SA(s) has been created the 5G ProSe Layer-3 Remote UE will have the mapping between the DSCP markings for the IPsec Child SA(s), the corresponding QoS and N3IWF IP address(es) and provides this information, if needed, to the 5G ProSe Layer-3 UE-to-Network Relay as specified in clause 5.6.2.2. If needed, the 5G ProSe Layer-3 UE-to-Network Relay performs the PDU Session Modification procedure to request QoS flow(s) configuration that maps to the 5G ProSe Layer-3 Remote UE's Child SA(s).
IKE keep alive(s) between the 5G ProSe Layer-3 Remote UE and the N3IWF are used for detecting possible path failure. The 5G ProSe Layer-3 Remote UE may change 5G ProSe Layer-3 UE-to-Network Relay(s) while maintain the session with the N3IWF when the 5G ProSe Layer-3 Remote UE and the N3IWF support MOBIKE. This is negotiated between the 5G ProSe Layer-3 Remote UE and the N3IWF as specified in clause 4.12.2.2 of TS 23.502). When IKE keep alive(s) are used, the 5G ProSe Layer-3 Remote UE needs to keep the PC5 connection and 5G ProSe Layer-3 UE-to-Network Relay keeps the PDU Session.
When 5G ProSe Remote UE is in CM-CONNECTED state, the 5G ProSe Remote UE keeps the PC5 link. When the 5G ProSe Remote UE is in CM-IDLE state, it may either release the PC5 link for relaying or not.
When the 5G ProSe Layer-3 Remote UE relays traffic over 5G ProSe Layer-3 UE-to-Network Relay that supports N3IWF, the 5G ProSe Layer-3 Remote UE selects the N3IWF using the N3IWF selection procedure that is specified in clause 6.3.6.2 of TS 23.501 for untrusted non-3GPP access with the following differences.
To support the N3IWF selection for 5G ProSe Layer-3 Remote UE, a 5G ProSe Layer-3 Remote UE is configured by HPLMN with N3IWF identifier configuration for 5G ProSe Layer-3 Remote UE and 5G ProSe Layer-3 UE-to-Network Relay access node selection information as described in clause 5.1.4.1.
When the 5G ProSe Layer-3 Remote UE decides to select an N3IWF in the HPLMN, the 5G ProSe Layer-3 Remote UE uses the N3IWF identifier configuration for 5G ProSe Layer-3 Remote UE, if configured, to find the IP address of the N3IWF in the HPLMN. Otherwise, 5G ProSe Layer-3 Remote UE constructs N3IWF FQDN based on either the Tracking Area Identity FQDN or on Operator Identifier FQDN of the 5G ProSe Layer-3 UE-to-Network Relay node selection information.
To assist the 5G ProSe Layer-3 Remote UE with N3IWF selection, the 5G ProSe Layer-3 UE-to-Network Relay supporting N3IWF access advertises the 5GS TAI corresponding to the serving cell, as defined in clause 5.8.3.2, in the 5G ProSe UE-to-Network Relay Discovery procedure as defined in clause 6.3.2.3.
A 5G ProSe Layer-3 Remote UE constructs the FQDN using either Tracking Area Identity FQDN or on Operator Identifier FQDN and selects the N3IWF using the procedures of N3IWF selection in clause 6.3.6.2 of TS 23.501.
When the 5G ProSe Layer-3 Remote UE relays traffic over 5G ProSe Layer-3 UE-to-Network Relay using N3IWF for emergency services, the 5G ProSe Layer-3 Remote UE selects the N3IWF using the N3IWF selection procedure that is specified in clause 6.3.6.4.2 of TS 23.501.
When 5G ProSe Layer-3 Remote UE changes from Direct Network Communication to Indirect Network Communication path, clause 4.9.2.2 of TS 23.502 applies after the 5G ProSe Layer-3 Remote UE establishes PC5 connection to the 5G Layer-3 UE-to-Network Relay.
When 5G ProSe Layer-3 Remote UE changes from Indirect Network Communication path to Direct Network Communication, the 5G ProSe Layer-3 Remote UE follows clause 4.9.2.1 of TS 23.502.
Additional parameters announcement procedure outlined in Figure 6.5.1.3-1 is used by a 5G ProSe Remote UE to request a 5G ProSe UE-to-Network Relay to announce additional parameters (using Model A) as defined in clause 5.8.3.
The 5G ProSe UE-to-Network Relay acknowledges receipt of the request in step 2 with an Additional Parameters Announcement Response (Additional_Parameters_Announcement_Request_Refresh Timer). The Additional_Parameters_Announcement_Request_Refresh Timer (configurable in the 5G ProSe UE-to-Network Relay), is provided to the 5G ProSe Remote UE so that when this timer expires the 5G ProSe Remote UE repeats the Additional Parameters Announcement Request procedure if it still needs to obtain the additional parameters. If the 5G ProSe Remote UE does not initiate new Additional Parameters Announcement Request procedure when this Additional_Parameters_Announcement_Request_Refresh Timer expires and no other UE request additional parameters announcement before the Additional_Parameters_Announcement_Request_Refresh timer expires in the 5G ProSe UE-to-Network Relay, then the relay shall stop announcing the addtional parameters.
The 5G ProSe UE-to-Network Relay announces the additional parameters by sending Relay Discovery Additional Information message as defined in clause 5.8.3. This is repeated periodically with a configurable frequency (normally higher than the one related to the Additional_Parameters_Announcement_Request_Refresh Timer) until there is no UE requesting to announce the additional parameters as determined by the Additional_Parameters_Announcement_Request_Refresh Timer running in the 5G ProSe UE-to-Network Relay.
Detection of new or updated additional parameters in step 5 triggers the 5G ProSe UE-to-Network Relay to announce the additional parameters by sending a Relay Discovery Additional Information Message immediately and to repeat it periodically with a configurable frequency as in step 4 until there are no UEs requesting to announce the additional parameters, i.e. until the Additional_Parameters_Announcement_Request_Refresh Timer expires in the 5G ProSe UE-to-Network Relay.
Connection establishment via Multi-hop 5G ProSe Layer-3 UE-to-Network Relay without N3IWF support as described in clause 6.5.1.1 is used for multi-hop UE-to-Network Relay after Model B Discovery with the following differences and clarifications:
Service authorization and provisioning are performed for the 5G ProSe Layer-3 UE-to-Network Relay, Intermediate Relay(s) and 5G ProSe Layer-3 Remote UE.
The 5G ProSe Layer-3 Remote UE performs Model B discovery of a 5G ProSe Layer-3 UE-to-Network Relay. The Remote UE obtains the path information to the UE-to-Network Relay(s) from the discovery procedure.
For IP PDU Session Type and IP traffic over PC5 reference point, the UE-to-Network Relay assigns IPv6 prefix or IPv4 address to Intermediate Relay(s) and the Remote UE. The Intermediate Relay act as DHCP proxy or relay the IP allocation message (e.g., Router Solicitation, Advertisement).
The 5G ProSe Layer-3 Remote UE may provide PC5 QoS Info and PC5 QoS rule(s) to the 5G ProSe Layer-3 UE-to-Network Relay using Layer-2 link modification procedure via Intermediate Relay(s). Intermediate Relays may split the PC5 QoS hop-by-hop as described in clause 5.6.2.
For the Remote UE Report, the Remote User ID is an identity of the 5G ProSe Layer-3 Remote UE.
For IP PDU Session Type, the Remote UE info is IP info related to Remote UE.
for IPv4, the 5G ProSe Layer-3 UE-to-Network Relay shall report IP address and TCP/UDP port ranges that are assigned to 5G ProSe Layer-3 Remote UE(s) by the UE-to-Network Relay;
for IPv6, the 5G ProSe Layer-3 UE-to-Network Relay shall report IPv6 prefix(es) assigned to individual 5G ProSe Layer-3 Remote UE(s).
For Ethernet PDU Session Type, the Remote UE info is Remote UE MAC address which is detected by the 5G ProSe Layer-3 UE-to-Network Relay.
5G ProSe Communication via 5G ProSe Layer-3 UE-to-Network Relay with N3IWF as described in clause 6.5.1.2 is used for multi-hop UE-to-Network Relay after Model B Discovery with the following differences and clarifications:
5G ProSe Layer-3 UE-to-Network Relay performs Registration procedures and obtains the ProSe Policy that corresponds to the operation supporting the access to N3IWF. The 5G ProSe Layer-3 Remote UE is configured with the corresponding ProSe Policy and URSP rules.
Supporting of the RSC configured for making the 5G ProSe Layer-3 Remote UE access to 5GC via N3IWF is preconfigured or provisioned to the Intermediate Relay by the ProSe Policy.
A 5G ProSe Layer-3 UE-to-Network Relay, 5G ProSe Intermediate Relay(s) and 5G ProSe Layer-3 Remote UE perform multi-hop discovery using the RSC configured for making the 5G ProSe Layer-3 Remote UE access to 5GC via N3IWF. The Remote UE obtains the path information to the UE-to-Network Relay(s) from the discovery procedure. Details of discovery procedure and path establishement procedure are described in clause 6.3.2.5.3 and clause 6.4.3.9, respectively.
The 5G ProSe Layer-3 Remote UE that connects to a 5G ProSe Layer-3 UE-to-Network Relay with N3IWF support selects an N3IWF and determines the N3IWF IP address.
The 5G ProSe Layer-3 Remote UE establishes a signalling IPsec tunnel using IKE procedures with an N3IWF via Intermediate Relays and UE-to-Network Relay performs NAS Registration as described in clause 4.12.2.2 of TS 23.502.
Based on Additional QoS Information received from the N3IWF, the 5G ProSe Layer-3 Remote UE determines whether it is necessary to request for QoS session modification for the dedicated QoS Flows toward the 5G ProSe Layer-3 UE-to-Network Relay as described in clause 5.6.2.2, taking the number of hops into account.