In order to access SNPN services via a PLMN or via untrusted non-3GPP access network, an SNPN enabled UE is configured with an N3IWF FQDN for the SNPN and with an MCC of the country where the configured N3IWF is located. To select an N3IWF in an SNPN, the UE shall first determine the country in which the UE is located. If the UE cannot determine the country in which the UE is located, the UE shall stop the SNPN N3IWF selection. If the UE can determine the country in which the UE is located, the UE shall proceed as follows:
if the UE is located in the country where the configured N3IWF is located, the UE shall use the configured N3IWF FQDN for the SNPN N3IWF selection. The UE shall consider that the subscribed SNPN is selected; or
if the UE is located in a country different from the country where the configured N3IWF is located:
the UE shall construct a Visited Country FQDN for SNPN N3IWF selection as specified in TS 23.003; and
the UE shall perform the DNS NAPTR query using the constructed Visited Country FQDN for SNPN N3IWF selection. If:
the result of this DNS query includes:
a set of one or more records, the UE shall select an N3IWF FQDN included in the DNS response based on UE implementation means and use the selected N3IWF FQDN for the SNPN N3IWF selection. The UE shall consider that the subscribed SNPN is selected; or
no records, the UE shall use the configured N3IWF FQDN for the SNPN N3IWF selection. The UE shall consider that the subscribed SNPN is selected; or
there is no response to the DNS query, the UE shall stop the SNPN N3IWF selection.
If the UE is connected to an N3IWF that is in the same country as the country in which the UE is currently in and the AMF has previously indicated support for emergency services over non-3GPP access (see TS 24.501), the UE shall use the existing N3IWF connection for emergency services. Otherwise, the UE shall perform the IKEv2 deletion procedure for the existing N3IWF connection and initiate N3AN node selection procedure for emergency services as described below.
When the UE supports connectivity with N3IWF but does not support connectivity with ePDG, the UE shall perform the procedure in clause 7.2.6.2 for selecting an N3IWF for emergency services.
When the UE supports connectivity with N3IWF and ePDG, the UE shall perform the procedure in clause 7.2.6.3 for selecting either an N3IWF or an ePDG for emergency services.
If the UE is in the home country, the UE shall follow the procedure in clause 7.2.4.3 bullet a).
If the UE is in a visited country, the UE shall perform the DNS NAPTR query using Visited Country Emergency N3IWF FQDN as specified in TS 23.003 via the non-3GPP access network to determine PLMNs in the visited country that support emergency services in non-3GPP access via N3IWF. If the DNS response contains one or more records, the UE shall select a PLMN included in the DNS response that has highest PLMN priority (see TS 24.526) in the N3AN node selection information, excluding any PLMN in the list of "forbidden PLMNs for non-3GPP access to 5GCN". The UE shall construct an N3IWF FQDN based on the FQDN format of the selected PLMN's N3AN node selection information entry in the N3AN node selection information using the PLMN ID of the selected PLMN as specified in TS 23.003. If none of the PLMNs included in the DNS response figures in the N3AN node selection information or the N3AN node selection information is not provisioned, the UE shall select any of the PLMNs included in the DNS response and shall construct an N3IWF FQDN based on the Operator Identifier based N3IWF FQDN format.
If the emergency registration procedure has failed for all attempted PLMNs, or the DNS response in the visited country does not contain any record, the UE shall abort the procedure.
NOTE: The UE can notifiy the user that an emergency session cannot be established.
The UE operating in SNPN access operation mode with a selected entry of "list of subscriber data" shall perform following procedures:
if the selected entry is not considered as valid, the UE may:
select another valid entry of "list of subscriber data", if any, such that the UE is in the country where the configured N3IWF of the entry is located, which has not been tried yet, and proceed to bullet b) 1);
select another valid entry of "list of subscriber data", if any, such that the UE is not in the country where the configured N3IWF of the entry is located, which has not been tried yet, and proceed to bullet b) 2);
stop operating in SNPN access operation mode and attempt to perform UE procedure as specified in clause 7.2.6.2; or
abort the procedure; and
if the selected entry is considered as valid and:
the UE is in the home country, i.e. in the country where the configured N3IWF of the selected entry of "list of subscriber data" is located, the UE shall follow the procedure in clause 7.2.5 bullet a). If the emergency registration procedure has failed, the UE may proceed to bullet a) 1), a) 2), a) 3) or a) 4); or
the UE is in a visited country, i.e. in a country other than the country where the configured N3IWF of the selected entry of "list of subscriber data" is located, the UE shall perform the DNS NAPTR query using Visited Country Emergency SNPN FQDN as specified in TS 23.003 via the non-3GPP access network to determine SNPNs in the visited country that support emergency services in non-3GPP access via N3IWF:
if the DNS response contains one or more records, the UE shall select an SNPN included in the DNS response via UE implementation means and construct an N3IWF FQDN based on the FQDN format of the selected SNPN as specified in TS 23.003 for N3IWF selection. The UE shall use the DNS server function to resolve the constructed SNPN N3IWF FQDN to the IP address(es) of the N3IWF:
if the DNS response contains one or more IP addresses of N3IWF, the UE shall select an IP address of N3IWF with the same IP version as its local IP address, if any, and initiate the procedure as specified in clause 7.3; and
if the DNS resolution of constructed SNPN N3IWF FQDN fails, or the emergency registration procedure in the bullet above has failed, the UE shall select another SNPN, if any, included in the DNS response and repeat the procedure as specified in bullet b) 2) i); and
if the DNS response contains no record, or no DNS response is received, or the emergency registration procedure has failed for all the SNPNs included in the DNS response as specified bullet b) 2) i), the UE may proceed to bullet a) 1), a) 2) or a) 3).
If the UE is in the home country, the UE shall follow the steps in clause 7.2.4.4.2 bullet a), except that:
in bullet a)1)i), if the emergency registration fails, the UE shall attempt to select an ePDG in the home country using the steps under bullet a)1)ii); and
in bullet a)1)ii):
Emergency ePDG FQDN shall be used instead of home ePDG identifier; and
If the emergency registration fails, the UE shall attempt to select an N3IWF in the home country using the steps under bullet a)1)i).
If the UE is in a visited country, the UE shall perform the DNS NAPTR query using Visited Country Emergency N3IWF FQDN and Visited Country Emergency FQDN as specified in TS 23.003 via the non-3GPP access network to determine PLMNs in the visited country that support emergency services in non-3GPP access via N3IWF or ePDG. If the DNS response contains one or more records, the UE shall select a PLMN included in the DNS response that has highest PLMN priority (see TS 24.526) in the N3AN node selection information.
If the N3AN node selection information for the PLMN is available the UE selects first an N3IWF or ePDG based on the preference parameter in the selected PLMN's N3AN node selection information entry of the N3AN node selection information. If N3IWF is preferred, the UE constructs the N3IWF FQDN based on the FQDN format of the selected PLMN's N3AN node selection information entry in the N3AN node selection information using the PLMN ID of the selected PLMN as specified in TS 23.003. If ePDG is preferred, the UE constructs either the Tracking/Location Area Identity based Emergency ePDG FQDN or the Operator Identifier based Emergency ePDG FQDN as indicated by the FQDN format in the N3AN node selection information for the selected PLMN.
If the N3AN node selection information is not available, the UE shall follow the procedure in clause 7.2.6.2, except that, instead of aborting the procedure in case of a failure, the UE shall perform the procedure for ePDG selection for emergency services specified in TS 24.302, by constructing the Operator Identifier based Emergency ePDG FQDN.
If the emergency registration procedure has failed for all attempted PLMNs, the UE shall abort the procedure.
If the UE that supports slice-based N3IWF selection receives N3IWF identifier IE in the REGISTRATION REJECT message as specified in TS 24.501, and re-attempts the registration procedure with the same requested NSSAI over untrusted non-3GPP access, the UE shall proceed as follows:
if the N3IWF identifier IE contains an IP address, the UE shall use that IP address as the IP address of the N3IWF; or
if the N3IWF identifier IE contains an FQDN, the UE shall use that FQDN as the FQDN of the N3IWF and shall use the DNS server function to resolve the N3IWF FQDN to the IP address(es) of the N3IWF(s). The UE shall select as the IP address of the N3IWF a resolved IP address of an N3IWF with the same IP version as its local IP address; and
once the UE has selected the IP address of the N3IWF, the UE shall initiate the IKEv2 SA establishment procedure as specified in clause 7.3.
If the IKEv2 SA establishment procedure towards the selected N3IWF fails due to no response to an IKE_SA_INIT request message, the UE shall repeat the N3AN node selection procedure but with considering the N3AN node configuration information provisioned to the UE as specified in clause 7.2.1.
In order to access SNPN for onboarding services via untrused non-3GPP access network, an SNPN enabled UE shall determine if it is located in the same country as the configured N3IWF for onboarding, called home country, and proceed as follows:
If the UE determines that it is in the home country, the UE shall use the pre-configured N3IWF FQDN for onboarding services in SNPN to select an N3IWF supporting onboarding services in SNPN; and
If the UE determines that it is in not in the home country the UE shall consider itself as located in a visited country and perform a NAPTR DNS query using the Visited Country FQDN for N3IWF supporting Onboarding, as specified in TS 23.003. Depending on the DNS response, the UE shall proceed as follows:
If no response is received, the UE shall stop the N3IWF selection for onboarding services in SNPN;
If the response is received but contains no records, the UE determines that the visited country does not mandate the selection of an N3IWF in the same country and perform actions specified under the home country scenario in bullet a); and
Otherwise, the UE shall select one SNPN ID in implementation specific way from the record(s) received in the response and construct the Visited Country FQDN for SNPN N3IWF supporting Onboarding based on the selected SNPN ID, as specified in TS 23.003. If the N3IWF selection for onboarding services in SNPN using the selected SNPN ID fails, the UE shall select another SNPN ID from the record(s) received in the response, if any, and re-attempt N3IWF selection. After the UE has unsuccessfully tried all the SNPN ID(s) from the record(s) received in the response, the UE shall stop the N3IWF selection for onboarding services in SNPN.