N3IWF for Non-3GPP Access

Table 1. Feature History

Feature Name

Release Information

Description

N3IWF for Untrusted Non-3GPP Access Network

2024.01

SMF supports the N3IWF interface for interworking between 5G core and untrusted non-3GPP networks.

N3IWF facilitates seamless handover and uninterrupted connectivity for users when they transition between different network types.

Default Setting: Disabled – Configuration Required

Feature Description

Table 2. Feature History

Feature Name

Release Information

Description

Enhancements to N3IWF: Service Requests, Handover Procedures, Idle Mode Management, and Voice/Video Call Support

2024.03.0

Following are the additional enhancement to the N3IWF for the seamless communication between the Wi-Fi network and the cellular network.

  • UE Initiated Service Request through N3IWF

  • Wi-Fi to NR Hand Over (HO) through N3IWF

  • NR to N3IWF Wi-Fi HO

  • UE initiated idle mode entry and exit procedure

  • Voice or Video Call Over Wi-Fi with N3IWF and HO Support with Active Bearer, SMF also supports Evolved Packet System (EPS) fallback during hand over.

  • Handling of RAT Type for N3IWF Sessions

The Non-3GPP Interworking Function (N3IWF) in the 5G SBA (Service Based Architecture) is responsible for interworking between untrusted non-3GPP networks and the 5G core. As such, the N3IWF supports both N2 and N3 based connectivity to the core, whilst supporting IPSec connectivity towards the device. The N3IWF provides the access and authentication protocols from the non-3GPP Wi-Fi network to seamlessly interface with the 5G Core Network by enabling the N2 and N3 interfaces.

This interface establishes an end-to-end security association between the User Equipment (UE) and N3IWF, irrespective of the security measures implemented at the layer 2 access level (WPA2).

SMF supports the following procedures:

  • PDU session establishment over N3IWF

  • PDU session release over N3IWF

  • UE initiated service request through N3IWF

  • Intra PLMN Wi-Fi to NR HO through N3IWF

  • Intra PLMN NR to N3IWF Wi-Fi HO

Architecture

The following figure represents the non-roaming architecture of 5G core network with untrusted non-3GPP access network.

UE Idle Mode Entry in N3IWF

SMF supports the UE/Access-initiated idle mode entry procedure to deactivate the UP connection. Deactivation of the UP connection includes the data radio bearer and N3 tunnel for an established PDU session of a UE in the CM-CONNECTED state.


Note


During the 5G PDU IM entry procedure, the IPSEC connection between the UE and N3IWF is released. This may result in future paging attempts from the SMF to fail.


Service Request handling during Idle Mode

Following are the two types of service request when UE is in idle mode:

  • UE initiated service request:

    UE in idle mode uses the service request procedure through untrusted non-3GPP access over the 3GPP access. This service request is for the re-establishment of the NAS signalling connection and the re-establishment of the user plane for all or some of the PDU sessions associated to non-3GPP access.

    UE in connected mode uses the service request procedure through untrusted non-3GPP access over the 3GPP access. This service request is for re-establishment of the user plane for one or more PDU Sessions which are associated to non-3GPP access.

    A UE in the CM-IDLE state on non-3GPP access uses the UE-triggered service request procedure to reactivate the UP connection for existing PDU sessions and may also independently activate the UP connection for an existing PDU session.

How it Works

N3IWF is deployed as a network function within the service provider's infrastructure. It interacts with various components of the 5G network architecture, such as the Access and Mobility Management Function (AMF), Session Management Function (SMF), and User Plane Function (UPF).

Call Flows

This section describes the call flows related to the N3IWF.

PDU Session Establishment Over N3IWF

UE performs initial registration and authentication with 5G core network using N3IWF. The 5G PDU session create over N3IWF remains the same as that of 5G NR PDU create except that the 5G PDU Create Request message includes these additional attributes:

  • ratType

  • anType

  • n3gaLocation


Note


  • 5G PDU session create over N3IWF does not require EBI assignment to be performed.

  • The n3gaLocation attribute carrying N3GPP TAI information is included in 3GPP-User-Location-Info AVP and sent to RADIUS server if the anType attribute is Non-3GPP Access.

  • N3GaLocation information is shared only with PCF and CHF.


The following call flow describes the initiation of PDU establishment over N3IWF:

PDU Session Release over N3IWF

The PDU session release procedure over N3IWF remains the same as with the following 5G NR PDU session release procedures.

  • Access triggered release

  • Network triggered release

    • PCF initiated

    • Admin initiated

    • CHF triggered

    • IDLE timeout-based

    • Release due to N4 path failure

UE Initiated Service Request through N3IWF

The SMF now handles PDU Idle Mode entry/exit procedures for Wi-Fi sessions attached through N3IWF.

Figure 1. UE Initiated Service Request through N3IWF
Table 3. UE Initiated Service Request through N3IWF Call Flow Description

Step

Description

1

The UE sends a service request to the N3IWF with a list of PDU sessions to be activated and the current PDU session status.

2

The N3IWF forwards the N2 message service request to the AMF.

3

The AMF sends an Nsmf_PDUSession_UpdateSMContextRequest to the SMF (Session Management Function), including parameters such as anType, ratType, n3gaLocation, and upCnxState.

4

The SMF checks if the PDUSessionStatus indicates that the UE does not have an active session. If so, it triggers a session release.

5

If necessary, the SMF sends an N7 SmPolicyUpdateRequest to the PCF with ratType and n3gaLocation.

6

The PCF responds with a successful N7 SmPolicyUpdateResponse.

7

The SMF sends an N1N2TransferRequest to AMF.

8

AMF forwards the N1N2TransferRequest to N3IWF.

9

N3IWF responds with N2 PDU resource setup response to AMF.

10

The AMF responds with an N2 PDU resource setup response to the N3IWF.

11

The AMF sends another Nsmf_PDUSession_UpdateSMContextRequest to the SMF, indicating the UPF N3 Tunnel setup.

12

The SMF sends an N4 session modification request to the UPF to update the forwarding action rule.

13

The UPF responds with an N4 session modification response.

14

The SMF sends an Nsmf_PDUSession_UpdateSMContextResponse to the AMF.

15

If the charging trigger is enabled, the SMF sends an N4 modification request to the UPF to query the Usage Reporting Rule (URR).

16

The UPF responds with an N4 modification response, including the usage report.

17

The SMF sends an N40 ChargingDataRequest to the CHF.

18

The CHF responds with a successful N40 ChargingDataRequest.

Wi-Fi to NR HO through N3IWF

The following call flow describes about the intra-plmn Wi-Fi to NR HO for same AMF or old and new AMF in same PLMN. The call flow diagram illustrates the sequence of steps involved in transitioning a session from Wi-Fi (through N3IWF) to New Radio (NR) coverage in a 5G network.

Figure 2. Wi-Fi to NR HO through N3IWF
Table 4. Wi-Fi to NR HO for N3IWF Call Flow Description

Step

Description

1

A Wi-Fi session is established with data tunneled to N3IWF.

2

The UE moves into NR coverage area.

3

The UE sends a PDU Session Establishment Request to the AMF with Existing-PDU-Session.

4

The AMF sends an Nsmf_PDUSession_UpdateSMContextRequest to the SMF with parameters such as anType=3GPP-ACCESS, ratType=NR and NR Location.

5

The SMF sends an N7 smPolicyControlUpdateRequest to the PCF with information SmPolicyContextData having userLocationInfo=NRLocation, ratType=NR.

6

The PCF responds with a 200 OK and SmPolicyDecision if any.

7

Optionally, The SMF sends an N40 ChargingDataRequest based on the information received from PCF in Step 6.

8

If N40 ChargingDataRequest is sent, The CHF responds with an N40 ChargingDataResponse.

9

On step 6, If PCF tries to install any new rules, then SMF sends a N4SessionModificationRequest towards UPF for flow creation (Creates PDR, FAR, URR for newly installed flows).

10

If Step 9 is sent, The UPF responds with N4SessionModificationResponse.

11

If epsInterworking is enabled, The SMF initiates the Namf_Commn_EbiAssignmentRequest to assign the EBI and the AMF responds with the assigned list of EBI(s) in Namf_Commn_EbiAssignmentResponse.

12

The SMF sends an Nsmf_PDUSession_UpdateSMContextResponse carrying both N1PDUSessionEstablishmentAccept to the UE and N2PDUResourceSetupRequestTransfer to the gNB (UPF-TEID same as the one used towards N3IWF).

13

The AMF forwards the N2PDUResourceSetupRequestTransfer and NAS PDU (N1PDUSessionEstablishmentAccept) towards gNB.

14

The gNB forwards the N1PDUSessionEstablishmentAccept to UE.

15

The gNB responds with N2PDUResourceSetupTransferResponse having the TEID.

16

The AMF sends an Nsmf_PDUSession_UpdateSMContextRequest to the SMF having the N2PDUResourceSetupTransferResponse.

17

The SMF sends an N4SessionModificationRequest with Update FAR to update the forwarding parameters and QueryURR to retrieve the usage report if any.

18

The UPF responds with N4SessionModificationResponse. The tunnel between UPF and gNB becomes active.

19

The SMF responds to the AMF with an Nsmf_PDUSession_UpdateSMContextResponse.

20

If any usage report received from UPF in Step 18, The SMF sends N40ChargingDataRequest to the CHF with the usage information and CHF responds with N40ChargingDataResponse.

21

In case of different AMF, The SMF initiates N1N2TransferRequest to source AMF (old) with the N2ResourceReleaseTransferRequest and AMF responds with N1N2TransferAck.

22

The Source AMF forwards the N2ResourceReleaseTransferRequest towards N3IWF.

23

The N3IWF responds with the N2ResourceReleaseTransferResponse to source AMF.

24

The AMF sends Nsmf_PDUSession_UpdateSMContextRequest to the SMF indicating N2Release success.

25

The SMF responds with an Nsmf_PDUSession_UpdateSMContextResponse to source AMF.

26

The SMF sends an Nsmf_PDUSession_SMContextStatusNotify to the source AMF to indicate the status of Handover. This step is applicable only when 3GPP 23 502 version spec is set to 15.6.0 under compliance profile.

27

If PCF requested for rule-reports of successful installation in step 6, SMF sends a N7smPolicyControlUpdateRequest to the PCF.

28

If step 25 is sent, PCF responds with N7 smPolicyControlUpdateResponse to SMF.

NR to N3IWF Wi-Fi HO

The following call flow describes about the intra-plmn NR to Wi-Fi HO for same AMF or old and new AMF in same PLMN. The call flow diagram illustrates the sequence of steps involved in transitioning a session from New Radio (NR) coverage to Wi-Fi coverage through N3IWF in a 5G network.

Figure 3. NR to N3IWF Wi-Fi HO
Table 5. NR to Wi-Fi HO for N3IWF Call Flow Description

Step

Description

1

A session is established over NR with data tunneled to the gNB.

2

The UE moves to an area with Wi-Fi coverage.

3

The UE sends a N1PDUSessionEstablishmentRequest to the N3IWF with Existing-PDU-Session.

4

The N3IWF forwards the N1PDUSessionEstablishmentRequest to the AMF with Existing-PDU-Session.

5

The AMF sends an Nsmf_PDUSession_UpdateSMContextRequest to the SMF with parameters such as anType=NON-3GPP-ACCESS, ratType=WLAN and N3GA Location.

6

The SMF sends an N7 smPolicyControlUpdateRequest to the PCF with information SmPolicyContextData having userLocationInfo=N3GA-Location, ratType=WLAN.

7

The PCF responds with a 200 OK and SmPolicyDecision if any.

8

Optionally, The SMF sends an N40ChargingDataRequest based on the information received from PCF in Step 6.

9

If Step 7 is sent, The CHF responds with an N40 ChargingDataResponse.

10

On step 7, If PCF tries to install any new rules, then SMF sends a N4SessionModificationRequest towards UPF for flow creation (Creates QER, PDR, FAR, URR for newly installed flows).

11

If Step 10 is sent, The UPF responds with N4SessionModificationResponse.

12

The SMF sends an Nsmf_PDUSession_UpdateSMContextResponse carrying both N1PDUSessionEstablishmentAccept to the UE and N2PDUResourceSetupRequestTransfer to the N3IWF (UPF-TEID same as the one used towards gNB).

13

The AMF forwards the N2PDUResourceSetupRequestTransfer and NAS PDU (N1PDUSessionEstablishmentAccept) to N3IWF.

14

The N3IWF forwards the N1PDUSessionEstablishmentAccept to UE.

15

The N3IWF responds with N2PDUResourceSetupTransferResponse having the TEID.

16

The AMF sends an Nsmf_PDUSession_UpdateSMContextRequest to the SMF having the N2PDUResourceSetupTransferResponse.

17

The SMF sends an N4SessionModificationRequest with Update FAR to update the forwarding parameters and QueryURR to retrieve the usage report if any.

18

The UPF responds with N4SessionModificationResponse. The tunnel between UPF and N3IWF becomes active.

19

If EPS Interworking is enabled in NR, the Nsmf_PDUSession_UpdateSMContextResponse message from SMF contains the releaseEbiList containing the list of EBIs to be released towards the AMF.

20

If any usage report received from UPF in Step 18, The SMF sends N40ChargingDataRequest to the CHF with the usage information and CHF responds with N40ChargingDataResponse.

21

In case of different AMF, The SMF initiates N1N2TransferRequest to source AMF (old) with the N2ResourceReleaseTransferRequest and AMF responds with N1N2TransferAck.

22

The Source AMF forwards the N2ResourceReleaseTransferRequest towards gNB.

23

The gNB responds with the N2ResourceReleaseTransferResponse to source AMF.

24

The AMF sends Nsmf_PDUSession_UpdateSMContextRequest to the SMF indicating N2Release success.

25

The SMF responds with an Nsmf_PDUSession_UpdateSMContextResponse to source AMF.

26

The SMF sends an Nsmf_PDUSession_SMContextStatusNotify to the source AMF to indicate the status of Handover. This step is applicable only when 3GPP 23502 version spec is set to 15.6.0 under compliance profile.

27

If PCF requested for rule-reports of successful installation in step 6, SMF sends a N7smPolicyControlUpdateRequest to the PCF.

28

If step 25 is sent, PCF responds with N7 smPolicyControlUpdateResponse to SMF.

Voice or Video Call Over Wi-Fi with N3IWF and HO Support with Active Bearer

This feature is crucial for maintaining call continuity when a user moves from one network to another (example, from Wi-Fi to cellular or vice versa). "Active Bearer" refers to an ongoing data session or call. So, "HO Support for Active Bearer" means that the system can handle the transition of an ongoing call or data session from one network to another without dropping the connection.

Handling of RAT Type for N3IWF Sessions

Prior to Release 2024.03, The SMF used to processes the PDU session establishment request received for N3IWF-based sessions with RAT-type set to NR.

From Release 2024.03 onwards, The SMF now rejects PDU session establishment requests for N3IWF-based sessions with RAT-type set to NR and only processes requests if the RAT-type is set to WLAN (According to release 16.4.0 of 3GPP spec 23.501).

Standard Compliance

The N3IWF feature complies with the following standards:

  • 3GPP 23.501 release 15 version

OAM Support

Bulk Statistics Support

This feature supports a new label "anType" as part of the smf service stats. This label defines the access network type as 3GPP access or non-3GPP access.

For more information on bulk statistics support, see the UCC 5G SMF Metrics Reference document applicable for this release.

SMF supports the following set of new values for procedure-type in smf_service_stats:

  • pduim_ran_req_active_to_idle_non3gpp - RAN initiated Idle Mode entry

  • pduim_nw_req_active_to_idle_non3gpp - NW initiated Idle Mode entry

  • pduim_ue_req_idle_to_active_non3gpp - UE initiated Idle Mode Exit

SMF uses the existing procedure type labels along with ‘an-type” label to differentiate between the NR and N3IWF sessions.

  • nr_to_untrusted_wifi_handover - NR to N3IWF Handover

  • utn3gpp_to_5g_handover - N3IWF to NR Handover

  • ue_req_pdu_sess_mod - UE initiated PDU Modification

  • amf_req_pdu_sess_mod - AMF initiated PDU Modification

  • smf_req_pdu_sess_mod - SMF initiated PDU Modification

  • pcf_req_pdu_sess_mod - PCF initiated PDU Modification

  • udm_req_pdu_sess_mod - UDM initiated PDU Modification

  • gnb_req_pdu_sess_mod - GNB initiated PDU Modification

  • pcscf_restoration_init_mod - PCSCF restoration initiated PDU Modification

Monitoring Support

The existing show subscriber and clear subscriber commands include a new filter option "an-type" to indicate the access type of subscribers. The show subscriber command output also displays information on N3Ga location.

If the UE connects to the Wi-Fi access point and attempts to attach through ePDG, the access type is categorized as non-3GPP access. In the case of N3IWF sessions attaching through AMF, the access type is 3GPP access and the an-type is non-3gpp access.

Logging Support

This feature provides support for access network type information in the procedure failure logs.