Version

S6b AVPs

S6b (application id: 16777272)

The S6b interface is a key component in the architecture of the Diameter protocol, specifically designed to facilitate communication between the 3GPP AAA Server and the Packet Data Network Gateway (PDN-GW) within the Evolved Packet Core (EPC) of a mobile network. The primary purpose of the S6b interface is to support the authentication, authorization, and mobility management of User Equipment (UE) accessing the network via non-3GPP access technologies such as Wi-Fi.

S6b interface workflow:

UE Attachment:

  • When a UE connects to the EPC via a non-3GPP access network (e.g., using the S2a or S2b reference point), it initiates a connection request. This request is forwarded by the PDN-GW to the 3GPP AAA Server over the S6b interface for authentication and authorization.

Authentication and Authorization:

  • The 3GPP AAA Server authenticates the UE using protocols such as EAP-AKA over IKEv2. Once the UE is successfully authenticated, the AAA Server authorizes the session, allowing the UE to access network resources.

Session Management:

  • Upon successful authentication, the PDN-GW updates its session information to reflect the UE’s current status, IP address, and other relevant data. The S6b interface facilitates this information exchange, ensuring that the PDN-GW has the latest data to manage the UE’s session effectively.

Mobility Handling:

  • As the UE moves between different access points or networks, the S6b interface is used to update the PDN-GW with new location and session parameters. This ensures that the UE can maintain an ongoing session without interruption, even as it changes its point of attachment to the network.

QoS and Resource Management:

  • Throughout the session, the S6b interface is used to dynamically adjust QoS parameters based on the UE’s needs and network conditions. This allows the network to provide the best possible service to the UE while managing overall network resources efficiently.

Accounting and Reporting:

  • The S6b interface ensures that all relevant data usage is accurately recorded and reported to the service provider’s billing systems. This is essential for accurate billing and for providing users with detailed information about their data usage.

Session Termination:

  • When the UE disconnects or the session is otherwise terminated, the S6b interface is used to properly close the session, releasing any resources that were allocated to the UE.

For complete technical specification of S6b interface in Diameter protocol please refer to: [3GPP TS 29.273]

package com.mobius.software.telco.protocols.diameter.primitives.s6b;

Name

AVP Code

Data Type

Vendor

DER-S6b-Flags

1523

Unsigned32 (Bitmask)

3GPP

Used in the context of the Diameter EAP Request (DER) over the S6b interface, specifically for authentication procedures initiated from non-3GPP access networks (e.g., WLAN). 

Bitmask Definition:

0: Initial-Attach-Indicator: If set (1), indicates the UE is performing an Initial Attach procedure from a non-3GPP access network. If not set (0), it indicates a Handover procedure.

Note: Bits not defined in this table shall be cleared by the sender and discarded by the receiver of the command.

Maximum-Wait-Time

1537

Unsigned32

3GPP

It indicates the number of milliseconds since the Origination-Time-Stamp during which the originator of a request waits for a response. See 3GPP TS 29.274

Origination-Time-Stamp

1536

Unsigned64

3GPP

Indicates the UTC time when the originating entity initiated the request. It shall contain the number of milliseconds since 00:00:00 on 1 January 1900 UTC. 

Note: This AVP contains the same numeric value, in milliseconds, as received over the GTPv2 protocol from the originating entity (see 3GPP [TS 29.274], clause 8.119).

RAR-Flags

1522

Unsigned32 (Bitmask)

3GPP

Defines specific behavioral instructions from the 3GPP AAA Server to the PDN Gateway (PGW). The flags inform the PGW whether it should update trust relationships or trigger specific restoration procedures as part of re-authorization.

Bitmask Definition (3GPP [TS 29.273], Table 9.2.3.1.5/1):

0: Trust-Relationship-Update-indication: When set, it instructs the PDN GW that the 3GPP AAA Server is only sending the trust relationship update and that no authorization procedure should be initiated towards the UE.

1: P-CSCF Restoration Request: When set, it indicates that the AAA Server requests the PDN GW to execute P-CSCF restoration procedures for WLAN, as described in 3GPP [TS 23.380], clause 5.6.

All undefined bits must be cleared by the sender and ignored by the receiver.

Trust-Relationship-Update

1515

Enumerated

3GPP

Indicate that the current operation is only intended to update the trust relationship between the 3GPP AAA Server and the PDN Gateway (PGW). When this AVP is present and set, the PGW is instructed not to perform any authorization procedures toward the User Equipment (UE).

Enumerated Values:

1: REQUEST_UPDATE: Indicates that the procedure is used only for sending a trust relationship update to the PGW. The PGW must not initiate any authorization toward the UE.

Any undefined or unrecognized values are treated as if the AVP was not present.


 

Start innovating with Mobius

What's next? Let's talk!

Mobius Software

As a company you'll get:

  • Get started quickly

  • Support any business model

  • Join millions of businesses

Questions? websupport@mobius.com