Attach Flow - SRB
Attach Flow - SRB
13 Feb 2016
Network Identities
MCC and
MNC are 3
DIGITS
RNTI Values
12
Attach Procedure
T300 stops in UE
Timer Starts at UE :
S1_INITIAL_CONTEXT_SETUP = Timer Stops at UE :
10000 ms S1_INITIAL_CONTEXT_SETUP
RRC Connection Reconfiguration message including EPS Radio Bearer Identity and Attach
Accept message; UE sends Uplink Information Transfer message to the eNodeB which
includes the Attach Complete message
2015 © Samsung Electronics 15
Attach Procedure Timer starts in eNB :
RRC_UE_CAPABILITY_ENQUIRY[ms] = 2000
RRC Connection Reconfiguration message including EPS Radio Bearer Identity and Attach
Accept message; UE sends Uplink Information Transfer message to the eNodeB which
includes the Attach Complete message
2015 © Samsung Electronics 16
rrcConnection
RACH Request
rrcConnection
Setup
rrcConnection
EPS mobility management
Setup Complete
Attach Request
Attach Request
Attach Request
Attach Request
Attach Request
• APN-AMBR
The APN-AMBR defines the total bit rate that is allowed for all non-GBR bearers associated with a
specific APN. The APN-AMBR limits the total non-GBR traffic for an APN, independent of the
number of PDN connections and non-GBR bearers that are opened for that APN. For example, if an
operator provides an APN for Internet, the operator may then limit the total bandwidth for that
APN.
UE-AMBR
• The UE-AMBR is defined per subscriber and defines the total bit rate allowed to be consumed for
all non-GBR bearers of a UE. The subscription profile contains the UE-AMBR. The eNodeB enforces
the UE-AMBR.
• There are different AMBR values for uplink and downlink directions - UL APN-AMBR, DL APN-
AMBR, and UL UE-AMBR, DL UE-AMBR.
Not
configured
PCO : Protocol
Configuration Option is
used to allocate the PCSCF
domain name /IP address
Modify Bearer Request DNS : Domain Name
Server translates PCAM
Modify Bearer Response hostname into IP address
Samsung Confidential and Proprietary Information. All Contents Copyright ⓒ 2011 Samsung Electronics Co., Ltd. 30
VoLTE - UE Attachment and IMS Registration message
Auth Challenge
SRB1 is for RRC messages (which may include a piggybacked NAS message) as well as for
NAS messages prior to the establishment of SRB2, all using DCCH logical channel;
SRB2 is for RRC messages which include logged measurement information as well as for
NAS messages, all using DCCH logical channel. SRB2 has a lower-priority than SRB1 and is
always configured by E-UTRAN after security activation.
Once security is activated, all RRC messages on SRB1 and SRB2, including those
containing NAS or non-3GPP messages, are integrity protected and ciphered by PDCP.
NAS independently applies integrity protection and ciphering to the NAS messages
SIB 1 - BCCH 1 -
SIB 2 - BCCH 1 -
RRC : RRC Connection Setup Complete + NAS : Attach Request + ESM : PDN Connectivity Request SRB1 UL DCCH 0 1
RRC : DL Information Transfer + NAS : Authentication Request SRB1 DL DCCH 0 1
RRC : UL InformationTransfer + NAS : Attach Complete + NAS : Activate Default EPS Bearer SRB2 UL DCCH 1 2
Attach Request – UE to MME over 102 VLAN (RRC Connection Set Up); contains
S1AP ID allocated from eNB, Contains PDN connectivity request for Jionet APN, with
IMS Voice as preferred and CS Voice as secondary
1. Authentication – MME to DRA to HSS using Diameter ID for S6a, contains IMSI,
HSS replies using same Diameter Session ID with Authentication Vectors , MME
sends Authentication Request (EPS Challenge Request) to UE using same S1AP
ID received from eNB during Attach Request and allocates the MME end S1AP
ID. Now both S1AP ID allocated (eNB side and MME side). UE then sends
Authentication Response computed by it using the same S1AP IDs.
2. Security Mode – MME to UE over S1AP interface; MME sends Security Mode
Command to UE using the same S1AP ID, UE replies with Security Mode
Response which also includes IMEI.
3. Identity Check – MME to DRA to EIR over S13 interface; MME sends IMSI &
IMEI to EIR for Identity Check through Diameter. New Diameter ID created. EIR
replies stating IMEI as “white listed”
4. Update Location – MME to HSS over S6a; In case MME does not have context
information of UE, Update Location is sent to HSS which then sends Cancel
Location Message to old MME. HSS sends Update Location Answer to new MME
using same Diameter Session ID as contained in the request – this reply contains
APN details (Jionet and IMS) and three PDN types IPv4, IPv6 and IPv4/IPv6
Message Details in brief (UE messages shown in Red Font)
5. Create Session: MME to SAEGW over S11 interface; This is first GTP C message
for the subscriber. GPTC TeID from MME side added. SAEGW sends CCR-I
request over Gx interface to PCRF. CCA-I is received from PCRF containing the
charging rules & the triggers for CCR-U towards PCRF. SAEGW sends CCR-I
towards OCS over Gy interface with details of session related information. OCS
replies with CCA-I. After receiving reply from both PCRF and OCS, SAEGW sends
Create Session Response to MME and adds the GTPC TeID for the S11 interface
(now both ends TeID created for GTPC over S11) and IPv4 and IPv6 Address
allocated to UE for Jionet APN, indicates the AMBR values, adds the GTPU
TeID for eNB for S1-U interface
6. Attach Accept: MME to UE using the same S1AP ID created earlier. Contains
GTPU TeID for S1-U interface received from SAEGW, contains GUTI & S-TMSI.
7. UE capability: eNB to MME using already existing S1AP ID; sends UE capability
for UTRAN and GERAN; eNB sends Initial Context Set Up Response to UE
(Activate Default EPS Bearer Context Request) which includes the GTPU TeID
for S1-U interface towards SAEGW; UE sends Attach Complete Message
towards MME
8. Modify Bearer: MME sends Modify Bearer Request towards SAEGW which
contains the GTPU TeID received from eNB (Now both ends TeID of GTPU are
with SAEGW); SAEGW acknowledges by sending Modify Bearer Response to
MME
IMS Attach Messages
Message in Hex
From UE to MME
IMS PS Voice preferred and
CS voice as secondary
VLAN 102
Authentication Information Request from MME to HSS
IMSI
Same
session ID
Authentication Vectors
Authentication Request
Response calculated by UE
From MME to UE
From UE to MME
Contains IMEI
ME Identity Check Request
Diameter Session
ID for S 13
IMSI
IMEI Check
MME DRA EIR
IMEI
White Listed
IMSI
Same Diameter
Session ID for S6a as
contained in request
APN Information is
sent
APN Profile in Update Location Answer
Jionet
IMS APN
Create Session Request
IMSI
Can contain - Three PDN
types IpV4, IpV6 and
IPv4v6
Diameter Gx Session ID
CCR-I
SAEGW(PCEF) -> DRA -> PCRF
Subscription ID contains
IMSI
From PGW to PCRF over Gx
Credit Control Answer – Gx(CCA-I)
Same Session ID
CCA-I
PCRF -> DRA -> SAEGW(PCEF)
Gy Interface
Diameter Session ID for Gy Interface
CCR –I (Gy)
SAEGW -> DRA -> OCS
CCA-I (Gy)
OCS -> DRA -> SAEGW
Create Session Response
GW GTP U TeID
From UE to MME
Gtpv2 Modify Bearer Request
1. PDN Connectivity Request for IMS APN – UE to MME; uses the same S1 AP
ID already created ; indicates PDN connectivity type as IPv4 or IPv6 or
IPV4/IPv6; requests details of P CSCF and DNS Server;
2. Create Session: MME to SAEGW using the GTPC TeID already defined; This
contains the GTPC TeID from MME; SAEGW sends CCR U message to PCRF
over Gx interface; New Diameter Session ID created for IMS APN; This message
contains details of IMSI & MSISDN and the IPv4 & IPv6 address allotted to IMS
APN; PCRF replies with CCA I which contains charging rule and event triggers
to sent CCR U; SAEGW then sends Create Session Response to MME with
GTPC TeID of SGW & PGW for QCI 5 and the Primary & Secondary IPv4 &
IPv6 address of P-CSCF and the IP Address of DNS and the IPv4 & IPv6
address allocated to IMS APN and the SAEGW TeIDs for S1-U traffic
3. Attach Accept: MME to ENB ; MME sends S1 ERAB Set Up Request to eNB
and Activate Default Bearer Context Request to UE; Message also contains
the the IP address for IMS APN for UE and AMBR values for IMS APN. The eNB
sends ERAB Set Up Response containing the GTPU TeIDs for S1 U for QCI 5;
Now both ends of GTPU TeID defined for QCI 5; UE sends Activate Default
Bearer Context Accept.
4. Modify Bearer: MME to SAEGW; MME sends Modify Bearer Request which
contains details of the eNB GTP TeID for S1 U for QCI 5; SAEGW sends Modify
Bearer Accept. Now QCI 5 bearer is established and data can start flowing.
IMS Attach Messages
Same
MME- UE-S1AP-ID
UE to MME
Same
ENB- UE-S1AP-ID
UE to MME
Three PDN types IpV4,
IpV6 and IPv4v6
APN: IMS
Requesting Details of DNS
and P-CSCF Address
Create Session Request for IMS APN
GW GTP-C Teid
MME to SAEGW
allocated before
APN: IMS
IMSI: same
GTP-C Teid of MME
SAEGW to PCRF
CCA-I for IMS Session on Gx Interface
Charging
Rule Name
SAEGW to MME
The UE would be allocated IPv4 or IPv6 or IPv4v6 based on initial request,
configuration in HSS and PGW. Final decision on allocation by PGW . For usage
Ipv6 would be preferred if available on both UE and Network side
UE is allocated two sets of IP Addresses – one for Jionet APN and second for IMS APN
Create Session Response for IMS APN [3/3]
SAEGW to MME
MME to eNode B
S1AP E-RAB Setup Request
S1AP E-RAB Setup, Activate default EPS… [2/2]
NAS PDU
towards UE
EBI-6
QCI -5
MME to UE
Aggregate MBR values for
IMS APN
NAS Activate default EPS bearer Context Request
S1AP E-RAB Setup Response
eNode B to MME
UE to MME
MME to SAEGW
Request Accepted
Modify Bearer Response
When Client wants to initiate a connection with Server, Client sends a segment with
SYN(Synchronize Sequence Number). This segment will inform the Server that Client would like
to start a communication with Server and informs that with what sequence number it will
start its segments with.
Note: Sequence Numbers are mainly used to keep data in order.
TCP SYN –ACK
Now Server will respond to Client with "Acknowledgment" (ACK) and SYN bits set.
Here Servers ACK segment does two things; they are as below
REGISTER message
SIP Register(Unprotected)
User Authorization Request (I-CSCF to HSS)
S-CSCF address
Result as
Diameter Subsequent Registration
Multimedia Auth Request (S-CSCF to HSS)
Received
SIP Auth Items : 1
SIP 401 Unauthorized (S-CSCF P-CSCF SAEGW UE)
Same SIP
Call ID
User Authorization Request ( 2nd time)
Charging Information
200 Ok for SIP Register (S-CSCF P-CSCF SAEGW UE)
Public Identity
for the user for next transactions
Modify bearer request *is initiated by MME/S4-SGSN and/or from S-GW to P-GW*
Here you are not adding or deleting any resources/bearers.
This message is used when there is no change on allocated bearers, Only the cause is
user is moving from one place to another. Basically Radio Part is changing. This
information MME should inform to all Core Network Elements (S-GW) and it helps
them to attain the resources and handovers case too. It will just modify the bearers.
After getting the response of Modify Bearer Request it indicates that User Plane is
ready to carry the user data as Control plane is done and now data can flow in between
E-UTRAN and S-GW.
Update Bearer Request: *is initiated by P-GW to S-GW and/or from S-GW to MME/S4-
SGSN*
I want to explain here with example. Suppose you are playing a online game in your
Mobile. It requires a promised speed to avoid the delay and you are subscribed for that
too. Now suddenly you got to know that you have to send a mail to your boss but you
don't want to close your game. For this purpose you need more resources.
Here Update Procedure will come.
You already have dedicated bearers with you. Your packet forwarding is happening
through P-GW but you need more resources. In this case P-GW will initiate the
message Update Bearer Request.
DRIVE TEST LOGS
Attach Procedure
T300 stops in UE
Timer Starts at UE :
S1_INITIAL_CONTEXT_SETUP = Timer Stops at UE :
10000 ms S1_INITIAL_CONTEXT_SETUP
RRC Connection Reconfiguration message including EPS Radio Bearer Identity and Attach
Accept message; UE sends Uplink Information Transfer message to the eNodeB which
includes the Attach Complete message
2015 © Samsung Electronics 108
Attach Procedure Timer starts in eNB :
RRC_UE_CAPABILITY_ENQUIRY[ms] = 2000
RRC Connection Reconfiguration message including EPS Radio Bearer Identity and Attach
Accept message; UE sends Uplink Information Transfer message to the eNodeB which
includes the Attach Complete message
2015 © Samsung Electronics 109
EPC ATTACH ASIUCAUM
PDN connectivity
Request for Jionet APN
Authentication Response
UE Capability Information
PDN
Connectivity
Request to IMS
Default Bearer
Accept QCI 5
PCAM
TCP SYNC
IMS REGISTRATION RA4RA2
REGISTER
401
Unauthorized
REGISTER
200 OK
SUBSCRIBE
200 OK
NOTIFY
200 OK
PRACK
200 OK