PlatformsFaststream SiliconFaststream RadioFaststream VisionConnected EdgeFaststream SecureMobility & Rail
ProductsSemiconductor IPIP CoresWireless & RANEdge & GatewaysTracking & IdentificationSoftware & FrameworksConnected Systems
Technology5G protocol stackWireless and RF architectureBaseband and low PHYForward error correctionControl and data planeHigh-speed interfacesFirmware and bootSilicon root of trustSoftware-defined vehicleAutomotive OTAFunctional safety
AIAI Engineering ServicesEdge AI & Embedded MLComputer Vision EngineeringSensor Fusion & PerceptionAI Silicon & AccelerationMLOps for DevicesAI Visual InspectionPredictive MaintenanceDriver MonitoringVideo Analytics & Safety
SolutionsSemiconductorIndustrial AIConnected ProductsAsset TrackingBluetooth AoA RTLSWearable TrackingAutomotive & MobilitySmart InfrastructureSecure IdentityWireless & SatelliteNTN Asset TrackingPrivate 5GSmart WashroomsFuel ManagementSmart BuildingsWorker SafetyEnergy MonitoringSmart AgricultureSmart CityAutonomous PlatformsAssembly AutomationLiDAR Rail SafetyHardware Wallet
IndustriesSemiconductorTelecommunicationsIndustrial & ManufacturingAutomotive & MobilityTransportation & RailAerospace & DefenceHealthcare & MedicalEnergy & UtilitiesOil & GasRetailConsumer ElectronicsMedia & EntertainmentSmart Infrastructure & IoT
ServicesSystem Integration overviewASIC & SoC DesignRTL to GDSIIVerification methodologyDFT and silicon testLow-power designMixed-signal integrationDesign enablementFPGA DesignFPGA-to-ASIC ConversionAnalog, Mixed-Signal & RFHardware & High-Speed PCBEmbedded SoftwareCloud, OTA & Device ManagementManufacturing TransitionHow we engage
CompanyAbout FaststreamEngineering ExcellenceLeadership & OrganisationHow We EngageQuality & ComplianceStandards & EcosystemPartners & EcosystemTrust CentreLocations & DeliveryNewsroom & MediaCareersCase StudiesKnowledge CenterWhite PapersGlossaryNewsletterResources & Support
ContactStart a projectHow we engage
Talk to us
APPLICATION NOTE

N3IWF: bringing Wi-Fi into the 5G core

A device can reach the 5G core over a network the operator does not own. The non-3GPP interworking function is the gateway that makes that possible — and it matters most where cellular coverage is poor, spectrum is unavailable, or an enterprise already has a wireless network it would rather keep.

N3IWFWiFiNon-3GPPUntrusted access5G coreConvergence
ShareLinkedInXEmail
N3IWF: bringing untrusted Wi-Fi into the 5G core.
FASTSTREAM TECHNOLOGIESFIG. 01 · N3IWF: BRINGING WI-FI INTO THE 5G COREUEWi-Fi clientWi-Fi APuntrustedpublic IPthe open internetN3IWFNon-3GPP Inter-Working FunctionIPsec / IKEv2 encrypted tunnel · NWu interfacethe device authenticates with 5G credentials (EAP-AKA′) and the tunnel carries NAS5G core (5GC)AMFaccess & mobility · controlUPFuser-plane forwardingN2 (control)N3 (user plane)N6Data networkUntrusted access (shown here): the operator does not own the Wi-Fi, so an IPsec / IKEv2 tunnel to the N3IWF carries everything.Trusted Wi-Fi uses a TNGF instead and needs no tunnel; a non-5G device on trusted Wi-Fi uses a TWIF.Either way the gateway terminates N2 and N3, so the device looks like an ordinary 5G subscriber to the core.
THE FUNCTION

A tunnel that makes Wi-Fi look like access.

The 5G core expects to authenticate a subscriber and manage sessions. It does not, in principle, require that the subscriber arrived over 3GPP radio. The non-3GPP interworking function is what allows a device on a Wi-Fi network to present itself to the core as though it had.

The device establishes a secure tunnel to the interworking function over whatever IP connectivity it has. Signalling that would normally traverse the radio interface is carried inside that tunnel, and once established the core treats the session much as it would a cellular one — same identity, same policy, same session management.

The distinction that matters is trusted against untrusted access. Untrusted access assumes the intervening network is hostile and secures everything end to end to the interworking function. Trusted access, where the operator has a relationship with the access network, permits a lighter arrangement. Most enterprise deployments are untrusted, because the operator does not control the Wi-Fi.

THE PROCEDURE

Register first, then build sessions.

To the core, the interworking function is an access network — not a core element. That is the shift from earlier Wi-Fi interworking, where the gateway (the ePDG, in the 4G core) sat inside the core itself. Treating the function as access means the same procedures run over Wi-Fi as over the radio: one registration, one authentication, one way to manage sessions.

A device registers through the AMF and is authenticated by the AUSF with 5G credentials — EAP-AKA′ or 5G-AKA — exactly as a cellular device would be. Before registration completes, an IPsec security association is established between the device and the interworking function, and from that point the NAS signalling, both mobility and session management, travels inside it.

Sessions follow the same path. Over that signalling association the device runs NAS session management with the SMF, via the AMF, to establish a PDU session. For each session the function sets up IPsec child associations — one per QoS flow — toward the device, and a GTP-U tunnel toward the user-plane function. User data then rides inside IPsec between device and function, and inside GTP-U between the function and the UPF.

The reference points are worth knowing, because they name every leg of that path: NWu is the secure tunnel between device and function; Y1 and Y2 sit on either side of the Wi-Fi access point; N1 is the NAS link to the AMF, N2 the control-plane link from the function to the AMF, and N3 the user-plane link to the UPF.

Because the function behaves like access, a device can hold PDU sessions over the radio and over Wi-Fi at once, and move a session between them — the basis for offloading to Wi-Fi without losing identity or policy. A few things do not carry over, though: over untrusted Wi-Fi there is no paging, no mobility registration and no periodic registration, so the patterns that rely on the network reaching a sleeping device simply do not apply.

FASTSTREAM TECHNOLOGIESFIG. 02 · N3IWF BRING-UP SEQUENCEUEWi-Fi deviceN3IWFinterworking fnAMFmobilityAUSFauthSMFsessionUPFuser plane① SECURE CHANNELIKEv2 → IPsec SA · NWu② REGISTER & AUTHENTICATENAS Registration · N1 (via N3IWF / N2)EAP-AKA′ / 5G-AKAauthenticatedIPsec SA now protects all NAS signalling③ ESTABLISH SESSIONNAS PDU Session EstablishmentIPsec Child SA · one per QoS flowGTP-U tunnel · N3④ CARRY DATAUser data — IPsec (NWu) end-to-end + GTP-U (N3)
The bring-up sequence, in order — secure channel, registration and authentication, session, then data.
WHERE IT EARNS ITS PLACE

Four situations where this is the right answer.

WHAT IS HARD

Five things that are not in the specification.

BEYOND UNTRUSTED

The trusted twin, and real convergence.

N3IWF handles the untrusted case — the operator does not control the Wi-Fi, so everything is secured end to end to the function. When the operator does control the access network, the trusted non-3GPP gateway function (TNGF) takes its place, with a lighter arrangement because the access is already trusted. Two relatives complete the family: the trusted WLAN interworking function (TWIF) carries devices that cannot speak 5G NAS themselves, and the wireline access gateway function (W-AGF) brings fixed broadband into the same core. Different trust, different medium — the same idea of making non-3GPP access look like access.

Moving a session between Wi-Fi and the radio is the simple case. The richer one is using both at once. A multi-access PDU session terminates on a single UPF but reaches the device over the 3GPP and non-3GPP access together, and Access Traffic Steering, Switching and Splitting (ATSSS) decides, per flow, how to use them.

Steering chooses which access a new flow should take. Switching moves a live flow from one access to the other — when Wi-Fi drops, the flow continues on the radio without the application noticing. Splitting divides a single flow across both accesses at once, for throughput or resilience, with the device and the UPF reordering at each end. Core policy and measured link conditions drive the choice; round-trip time and simple reachability are the usual inputs.

This is where convergence stops being a diagram and becomes a scheduling problem — in the device modem, in the UPF, and in the policy that governs both. The interworking function itself is well specified; steering a real workload across two links that fail independently is the part that takes the engineering.

FASTSTREAM TECHNOLOGIESFIG. 03 · ATSSS: USING BOTH ACCESSES AT ONCEONE MA-PDU SESSION · TWO ACCESSES AT ONCE3GPP accessnon-3GPP accessUE3GPP + Wi-FigNBWi-Fi APN3IWF / TNGFuntrusted / trustedUPFMA-PDU anchorDNATSSS — HOW TRAFFIC USES THE TWO ACCESSESSTEERchoose the path for a new flowSWITCHmove a live flow acrossSPLITone flow, both paths at once
One MA-PDU session over both accesses — and the three things ATSSS can do with a flow.
COMMON QUESTIONS

What engineers ask before they call.

01

What is N3IWF?

The non-3GPP interworking function: a gateway allowing a device to reach the 5G core over a network that is not 3GPP radio, typically Wi-Fi. The device builds a secure tunnel to it, and signalling that would normally cross the radio interface is carried inside that tunnel.

02

What is the difference between trusted and untrusted non-3GPP access?

Untrusted access assumes the intervening network is hostile and secures everything end to end to the interworking function. Trusted access, where the operator has a relationship with the access network, allows a lighter arrangement. Enterprise deployments are usually untrusted, because the operator does not control the Wi-Fi.

03

Why would an enterprise use this instead of private 5G?

Because it requires no licensed spectrum and no cellular radio deployment. Where a building already has good Wi-Fi and poor cellular penetration, extending core services over the existing network is considerably cheaper than building coverage.

04

What are the practical difficulties?

Mainly that the intervening network is not under operator control, so latency and loss cannot be managed the way radio resources can. Tunnel establishment also costs time and battery, mobility between access types is where implementations differ most, and device support is uneven.

05

How does a device authenticate over Wi-Fi?

Through the AMF and AUSF with its 5G credentials, using EAP-AKA′ or 5G-AKA — the same authentication as over the radio. An IPsec security association to the interworking function is set up before registration completes, and protects the NAS signalling from then on.

06

What are the reference points?

NWu is the secure tunnel between device and interworking function; Y1 and Y2 flank the Wi-Fi access point; N1 is the NAS link to the AMF, N2 the control link from the function to the AMF, and N3 the user-plane link to the UPF.

07

What does not work over untrusted Wi-Fi?

Paging, mobility registration and periodic registration — the network cannot reach a sleeping device over Wi-Fi the way it can over the radio. Multiple PDU sessions can still run over Wi-Fi and 3GPP access at once, and move between them.

08

What is the difference between N3IWF and TNGF?

Both make non-3GPP access look like access to the 5G core. N3IWF is for untrusted access — typically Wi-Fi the operator does not control — so traffic is secured end to end over IPsec. TNGF is for trusted access the operator does control, which allows a lighter security arrangement. TWIF and W-AGF cover non-5G devices and wireline.

09

What is ATSSS?

Access Traffic Steering, Switching and Splitting: the feature that lets one multi-access PDU session use 3GPP and non-3GPP access at the same time. Steering picks the path for a new flow, switching moves a live flow between accesses, and splitting divides a flow across both at once.

FOUND THIS USEFUL?

Pass it on.

Written for engineers. Share it with one.

ShareLinkedInXEmail
KEEP READING

Related work.

BUILD WITH FASTSTREAM

Bring us the difficult part.

Tell us the specification, the constraint and the deadline. Programmes that cross silicon, radio, embedded and AI are where Faststream is strongest.