TWAG

Trusted WLAN Access Gateway

Core Network →
Introduced in Rel-11

TWAG is a core network gateway in a Trusted WLAN Access Network that provides IP connectivity and mobility management for devices accessing the 3GPP core via a trusted WLAN, terminating the S2a interface.

Category
Core Network
Introduced
Rel-11
Where
Core Network › Evolved Packet Core
Specifications
10 specs
TWAG Description Purpose Related Classification Detected Changes Specifications

Description

The Trusted WLAN Access Gateway (TWAG) is a critical functional entity defined within the 3GPP architecture for trusted, non-3GPP access. It resides within the Trusted WLAN Access Network (TWAN) and serves as the gateway between the WLAN and the 3GPP Evolved Packet Core (EPC). Its primary role is to establish and manage IP connectivity sessions for User Equipment (UE) that connect via a trusted WLAN, such as a carrier-managed Wi-Fi hotspot. The TWAG implements the network-side functionality of the S2a reference point, which connects the TWAN to the Packet Data Network Gateway (PGW) in the EPC. This interface can be realized using either the GPRS Tunnelling Protocol (GTP) or the Proxy Mobile IPv6 (PMIPv6) protocol, allowing for flexible deployment scenarios and interworking with existing core network elements.

Architecturally, the TWAG works in conjunction with the Trusted WLAN AAA Proxy (TWAP) and the Trusted WLAN Access Point (TWAP) functions within the TWAN. When a UE attaches to the trusted WLAN, authentication and authorization are handled via the TWAP and the 3GPP AAA Server. Once authenticated, the TWAG is responsible for establishing a bearer path for the UE's data traffic. It creates a tunnel (GTP or PMIP) over the S2a interface to the PGW, which serves as the anchor point for the UE's IP session. This tunnel carries all user plane traffic, ensuring seamless service continuity and allowing the UE to access packet data services (e.g., IMS, internet) as if it were connected via a 3GPP radio access network.

The TWAG performs essential mobility and session management functions. It manages the binding between the UE's local IP address in the WLAN and its core network IP address (assigned by the PGW). For mobility events, such as handovers between different WLAN access points within the same TWAN or to/from a 3GPP access, the TWAG collaborates with the core network to update the bearer path with minimal disruption. It also interfaces with the Policy and Charging Rules Function (PCRF) via the TWAP or directly (depending on architecture) to enforce quality of service (QoS) and charging policies received from the core network. This ensures that service flows are treated appropriately according to the user's subscription and the requested service.

In summary, the TWAG is the central user-plane gateway in the trusted WLAN interworking architecture. It abstracts the underlying WLAN technology from the core network, presenting it as a trusted access network to the EPC. By providing standardized interfaces and protocols, it enables secure, seamless, and policy-controlled integration of high-performance WLAN into the mobile operator's service portfolio, forming a cornerstone for early Wi-Fi offloading and fixed-mobile convergence strategies.

Purpose & Motivation

The TWAG was introduced to solve the problem of seamless and secure integration of operator-controlled Wi-Fi networks into the 3GPP mobile packet core. Prior to its standardization, Wi-Fi was largely treated as an untrusted, external IP access network, requiring users to establish separate connections (often via VPNs) and resulting in a disjointed user experience with broken session continuity. The primary motivation was to leverage the growing deployment of high-quality WLAN infrastructure as a complementary radio access technology to cellular networks, enabling data offloading and improved capacity.

The creation of the TWAG, as part of the broader Trusted WLAN Access Network (TWAN) concept in 3GPP Release 11, was driven by the need for a standardized architecture. This architecture would allow mobile operators to treat their own or partner Wi-Fi networks as a trusted extension of their radio access network. The key problem it addressed was the lack of a standardized gateway function that could terminate core network protocols (GTP/PMIP) from the WLAN side, enabling tight coupling with the EPC for authentication, policy enforcement, and charging. This was a significant advancement over the untrusted access model defined earlier, which relied on IPsec tunnels initiated from the UE (eSWAG), which was more complex and less scalable.

By providing a network-based gateway, the TWAG enabled several crucial capabilities: seamless access to 3GPP packet data services (like IMS) over WLAN, support for network-controlled mobility and handover to/from 3GPP access, and the application of consistent policy and charging rules regardless of the access technology. This facilitated the operator's vision of Fixed-Mobile Convergence (FMC) and laid the groundwork for more integrated access in later 5G systems. It solved the limitations of previous non-integrated approaches by providing a standardized, secure, and efficient path for user plane traffic from a trusted WLAN directly into the mobile core.

Classification

Part ofEPC
Related approachesTWANTWAPPGW

Detected Changes Across Releases

from 3GPP Change Requests

Specific changes extracted from the „Change history“ tables of 3GPP specifications (11 CRs across 2 releases). Complements the general historical overview above with the evidence-based evolution of this function.

Studied in Rel-11, normative work from Rel-15.

Rel-15 8 changes

In Release 15, enhancements for the TWAG function included support for end-to-end QoS over trusted WLAN and QoS differentiation for trusted non-3GPP access. The release also introduced the usage of the TWAG MAC address for the WLCP bearer and provided enhancements for location information reporting in trusted WLAN access. Furthermore, it defined emergency configuration data and procedures for emergency PDU session establishment in a TWAN.

  • Support for e2e QoS over trusted WLAN TS 23.402CR2972
  • Support of QoS differentiation for trusted non-3GPP access TS 24.302CR0632
  • Usage of TWAG MAC address for WLCP bearer TS 24.302CR0644
  • Enhance location information in trusted and untrusted WLAN TS 32.251CR0503
  • Enhance location information in trusted and untrusted WLAN TS 32.298CR0658
  • Enhance location information in trusted and untrusted WLAN TS 32.299CR0800

+ 2 more changes

Rel-18 3 changes

In Release 18, the updates to the TWAG function primarily involved refinements to the handling of SNPN (Standalone Non-Public Network) access. Specifically, the changes included redefining the SNPN list with a trusted 5G connectivity information element and removing redundant descriptions of NID (Network Identifier) coding within that list. These modifications streamlined the specification for trusted WLAN access to EPC by clarifying the data structure used to represent trusted SNPNs.

  • Redefining SNPN list with trusted 5G Connectivity IE TS 24.302CR0741
  • Removal of redundant description of NID coding in SNPN List with trusted 5G Connectivity IE TS 24.302CR0745
  • Minor correction on the coding of SNPN List with trusted 5G Connectivity TS 24.302CR0751

Explore further

Broader topics and technologies where TWAG plays a role.

Defining Specifications

3GPP specifications that define or reference TWAG, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TS 23.402 vj00 EPC for Non-3GPP Access (PMIP) Rel-19
TS 23.852 vc00 Study on GTP-based S2a for WLAN Access Rel-12
TS 24.161 vj00 Network-Based IP Flow Mobility (NBIFOM) Rel-19
TS 24.229 vj50 IMS call control protocol based on SIP and SDP Rel-19
TS 24.244 vj00 Wireless LAN Control Plane Protocol Rel-19
TS 24.302 vj00 Access to EPC via non-3GPP networks; Stage 3 Rel-19
TS 32.240 vj40 Charging Management Architecture & Principles Rel-19
TS 32.251 vj00 PS Domain Charging Management Rel-19
TS 32.298 vj30 Charging Data Record (CDR) Parameter Specification Rel-19
TS 32.299 vj00 Diameter Charging Applications for 3GPP Rel-19