Detach, Timers & RealTime QXDM Log
Detach, Timers & RealTime QXDM Log
Detach, Timers & RealTime QXDM Log
Now,
• UE is done with DL Synchronization eNodeB→UE (PSS, SSS, PCI, MIB, SIB & PLMN)
• Also, UL Synchronization UE→eNodeB (RACH procedure)
• RRC establishment is performed (RRC connection request, RRC connection setup, RRC connection complete)
Going further will discuss about the attach procedure takes place. Before that lets know a short definition of attach:
• UE needs to register with the network to receive services that require registration. This registration is called Network Attachment.
(i). This is the message that the UE sent the first time it connects to the network either by;
- UE Power On
- UE Idle to connected Mode
(ii). This message here, this is the initial message sent over the NAS layer and they are piggybacked, and, on this message, we also have the PDA
and connectivity request.
(iv)The UE starts by running the contention-based random-access procedure and the first two steps of RRC connection establishment.
(v). The UE then composes an EPS session management (ESM) message, PDN Connectivity Request, which asks the network to establish a default
EPS bearer. The message includes a PDN type, which indicates whether the UE supports IPv4, IPv6 or both. It can also include a set of protocol
configuration options, which list any parameters that relate to the external network, such as a preferred access point name or a request to
receive an IPv4address.
(vi). The UE embeds the PDN connectivity request into an EMM Attach Request, in which it asks for registration with a serving MME. The
message includes the Globally Unique Temporary Identity (GUTI)that the UE was using when last switched on and the identity of the tracking
area in which the UE was last located. It also includes the UE’s non-access stratum capabilities, primarily the security algorithms that it supports.
(vi). The UE embeds the Attach Request into the last message from the RRC connection establishment procedure, RRC Connection Setup
Complete. The RRC message also identifies the PLMN that the UE would like to register with and the identity of its last serving MME.
Step1: Initial UE Message (Attach Request + PDN Connectivity Request):
In step 1 of the attach procedure, the UE sends this message to the serving eNB.
The UE and MME can store their LTE security keys after the UE switches off. If the UE has a valid set of security keys, then it uses these to secure
the attach request using a process known as integrity protection. This assures the MME that the request is coming from a genuine UE and not
from an alien.
The eNodeB extracts the EMM and ESM messages and embeds them into an S1-AP Initial UE Message, which requests the establishment of an
S1 signaling connection for the UE.
As part of this message, the eNodeB specifies the RRC establishment cause and the requested PLMN, which it received from the UE during the
RRC procedure, as well as the tracking area in which it lies.
This cancels the UE’s registration with the evolved packet core and is normally used when the mobile switches off.
We will assume that the UE starts in ECM-CONNECTED and RRC_CONNECTED, consistent with its state. The user triggers the procedure by telling
the UE to shut down.
In response, the UE composes an EMM Detach Request, in which it specifies its GUTI, and sends the message to the MME. After sending the
message, the UE can switch off without waiting for a reply.
The MME now has to tear down the UE’s EPS bearers. To do this, it looks up the UE’s serving gateway and sends it a GTP-C Delete Session
Request.
The serving gateway forwards the message to the PDN gateway, which can run a procedure known as IP-CAN session termination that undoes
the earlier effect of IP-CAN session establishment.
The PDN gateway then tears down all the UE’s bearers and replies to the serving gateway, which tears down its bearers in the same way and
replies to the MME. If necessary, these steps are repeated for any other network that the UE is connected to.
To finish the procedure, the MME tells the eNodeB to tear down all the resources that are related to the UE and indicates that the cause is a
detach request.
The eNodeB does so and responds. The MME can now delete most of the information that it associated with the UE. However, it keeps a record
of the UE’s;
**These will be needed next time the UE switches on. If the UE starts in ECM-IDLE and RRC_IDLE, then it cannot send the detach request right
away. Instead, it starts by running the contention-based random-access procedure, followed by RRC connection Request & RRC Connection
Setup. It then embeds the detach request into the message RRC Connection Setup Complete, and the detach procedure continues as before.
Figure: Detach Procedure
Timers RRC, UE & Network Side
RRC Timers:
Timer Start Stop At expiry
T300 Transmission of RRCConnectionRequest Reception of RRCConnectionSetup or RRCConnectionReject Perform the actions as specified in 5.3.3.6
message, cell re-selection and upon abortion of connection
establishment by upper layers
T302 Reception of RRCConnectionReject while performing RRC Upon entering RRC_CONNECTED and upon cell re-selection Inform upper layers about barring alleviation as specified in 5.3.3.7
connection establishment
T303 Access barred while performing RRC connection Upon entering RRC_CONNECTED and upon cell re-selection Inform upper layers about barring alleviation as specified in 5.3.3.7
establishment for mobile originating calls
T304 Reception of RRCConnectionReconfiguration message Criterion for successful completion of handover to EUTRA or cell In case of cell change order from E-UTRA or intra E-UTRA handover, initiate the RRCconnection re-establishment
including the MobilityControl Info or reception of change order is met (the criterion is specified in the target RAT in procedure; In case of handover to E-UTRA, perform the actions defined in the specifications applicable for the source
MobilityFromEUTRACommand message including case of inter-RAT) RAT.
CellChangeOrder
T305 Access barred while performing RRCconnection Upon entering RRC_CONNECTED and upon cell re-selection Inform upper layers about barring alleviation as specified in 5.3.3.7
establishment for mobile originating signalling
T310 Upon detecting physical layer problems i.e. upon receiving Upon receiving N311 consecutive in-sync indications from lower If security is not activated: go to RRC_IDLE
N310 consecutive out-of-sync indications from lower layers layers, upon triggering the handover procedure and upon initiating
the connection re-establishment procedure
else: initiate the connection re-establishment procedure
T311 Upon initiating the RRCconnection Selection of a suitable E-UTRA cell or a cell using another RAT. Enter RRC_IDLE
reestablishmentmprocedure
T320 Upon receiving t320 or upon cell (re)selection to E-UTRA Upon entering RRC_CONNECTED, when PLMN selection is Discard the cell reselection priority information provided by dedicated signalling.
from another RAT with validity time configured for performed on request by NAS, or upon cell (re)selection to another
dedicated priorities (in which case the remaining validity RAT (in which case the timer is carried on to the other RAT).
time is applied).
T321 Upon receiving measConfig including a reportConfig with Upon acquiring the information needed to set all fields of Initiate the measurement reporting procedure, stop performing the related measurements and remove the
the purpose set to reportCGI cellGlobalId for the requested cell, upon receiving measConfig that corresponding measId
includes removal of the reportConfig with the purpose set to
reportCGI
UE Side Timer:
TIMER TIMER ON
STATE CAUSE OF START NORMAL STOP
NUM. VALUE EXPIRY
T3402 Default 12 min. EMM DEREGISTERED At attach failure and the attempt counter is ATTACH REQUEST sent TRACKING Initiation of the attach procedure or TAU
NOTE 1 EMM REGISTERED equal to 5. AREA UPDATE REQUEST sent procedure
At tracking area updating failure
and the attempt counter is equal to 5.
T3410 15s EMMREGISTEREDINITIATED ATTACH REQUEST sent ATTACH ACCEPT received Start T3411 or T3402 as described in
ATTACH REJECT received subclause 5.5.1.2.6
T3411 10s EMM DEREGISTERED. At attach failure due to lower layer failure, ATTACH REQUEST sent Retransmission of the ATTACH
ATTEMPTING TO-ATTACH EMM REGISTERED. T3410 timeout or attach rejected with other TRACKING AREA UPDATE REQUEST REQUEST or TRACKING AREA
ATTEMPTING TO-UPDATE EMM cause values than those treated in sent UPDATE REQUEST
subclause 5.5.1.2.5.
At tracking area updating failure due to
lower layer failure, T3430 timeout or TAU
rejected with other EMM cause values than
those treated in subclause 5.5.3.2.5.
T3412 Default 54 min. EMM REGISTERED In EMM-REGISTERED, when When entering state EMM Initiation of the periodic TAU procedure
NOTE 2 EMM-CONNECTED mode is left. DEREGISTERED
NOTE 5 or
when entering EMM-CONNECTED mode.
T3416 30s EMM REGISTERED INITIATED RAND and RES stored as a result of a SECURITY MODE COMMAND received Delete the stored RAND and RES
UMTS authentication challenge SERVICE REJECT received
EMM REGISTERED
TRACKING AREA UPDATE ACCEPT
EMM DEREGISTERED INITIATED
received
EMM-TRACKINGAREA UPDATING INITIATED AUTHENTICATION REJECT received
EMM-SERVICE REQUEST INITIATED AUTHENTICATION FAILURE sent
EMM DEREGISTERED
or
EMM-NULL entered
T3417 5s EMM-SERVICEREQUESTINITIATED SERVICE REQUEST sent EXTENDED Bearers have been set up Abort the procedure
SERVICE SERVICE REJECT received
REQUEST sent in case f and g in subclause
5.6.1.1
T3417ext 10s EMM-SERVICEREQUESTINITIATED EXTENDED SERVICE REQUEST sent in Inter-system change from S1 mode to A/Gb Abort the procedure
case d in mode or Iu mode is completed
subclause 5.6.1.1 Inter-system change from S1 mode to A/Gb
EXTENDED SERVICE REQUEST sent in mode or Iu mode is failed
case e in SERVICE REJECT received
subclause 5.6.1.1 and the CSFB response
was set to "CS fallback
accepted by the UE"
T3418 20s EMM REGISTEREDINITIATED AUTHENTICATION FAILURE (EMM AUTHENTICATION REQUEST received On first expiry, the UE should consider
EMM REGISTERED cause = #20 "MAC failure" the network as false
EMM-TRACKINGARE AUPDATINGINITIATED or #26 "non-EPS authentication
EMM DEREGISTEREDINITIATED unacceptable") sent
EMM-SERVICEREQUESTINITIATED
T3420 15s EMM REGISTERED INITIATED AUTHENTICATION FAILURE (cause = AUTHENTICATION REQUEST received On first expiry, the UE should consider
EMM REGISTERED #21 "synch failure") sent the network as false
EMM DEREGISTERED INITIATED
EMM-TRACKINGAREA UPDATING INITIATED
EMM-SERVICE REQUEST INITIATED
T3421 15s EMM DEREGISTERED INITIATED DETACH REQUEST sent DETACH ACCEPT received Retransmission of DETACH REQUEST
T3423 NOTE 3 EMM REGISTERED T3412 expires while the UE is in EMM- When entering state EMM Set TIN to "P-TMSI"
REGISTERED.NO-CELLAVAILABLE DEREGISTERED
and ISR is activated. or
when entering EMM-CONNECTED mode.
T3430 15s EMM-TRACKING AREA UPDATING INITIATED TRACKING AREA UPDATE TRACKING AREA UPDATE ACCEPT Start T3411 or T3402 as described in
REQUEST sent received subclause 5.5.3.2.6
TRACKING AREA UPDATE REJECT
received
T3440 10s EMM REGISTERED INITIATED ATTACH REJECT, DETACH REQUEST, Signalling connection released Release the signalling connection and
EMM-TRACKING AREA UPDATING INITIATED TRACKING AREA Bearers have been set up proceed as described in subclause 5.3.1.2
EMM DEREGISTERED INITIATED UPDATE REJECT with any of the EMM
EMM-SERVICE REQUEST INITIATED cause #11, #12, #13, #14 or #15 SERVICE
EMM REGISTERED REJECT received with any of the EMM
cause #11,#12, #13 or #15
TRACKING AREA UPDATE ACCEPT
received after the UE
sent TRACKING AREA UPDATE
REQUEST in EMMIDLE mode with no
"active" flag
T3442 NOTE 4 EMM REGISTERED SERVICE REJECT received with EMM TRACKING AREA UPDATE REQUEST None
cause #39 "CS domain temporarily not sent
available"
Note 1 The default value of this timer is used if the network does not indicate another value in an EMM signaling procedure.
Note 2 The value of this timer is provided by the network operator during the attach and tracking area updating procedures. (This Timer value is set in Attach Accept message as well).
Note 3 The value of this timer may be provided by the network in the ATTACH ACCEPT message and TRACKING AREA UPDATE ACCEPT message. The default value of this timer is identical to the value of T3412.
Note 4 The value of this timer is provided by the network operator when a service request for CS fallback is rejected by the network with EMM cause #39 "CS domain temporarily not available".
Note 5 The default value of this timer is used if the network does not indicate a value in the TRACKING AREA UPDATE ACCEPT message and the UE does not have a stored value for this timer.
(This Timer value is set in Attach Accept message as well).
Network Side Timer:
ON THE
TIMER TIMER
STATE CAUSE OF START NORMAL STOP 1st, 2nd, 3rd, 4th
NUM. VALUE
EXPIRY (NOTE 1)
T3413 NOTE 2 EMM REGISTERED Paging procedure for EPS services initiated Paging procedure for EPS services completed Network dependent
T3422 6s EMM DEREGISTERED INITIATED DETACH REQUEST sent DETACH ACCEPT received Retransmission of DETACH REQUEST
T3450 6s EMM-COMMON PROC-INIT ATTACH ACCEPT sent ATTACH COMPLETE received Retransmission of the same message type, i.e.
TRACKING AREA UPDATE ACCEPT sent TRACKING AREA UPDATE COMPLETE ATTACH ACCEPT,TRACKING AREA
with GUTI received UPDATE ACCEPT or GUTI
TRACKING AREA UPDATE ACCEPT sent GUTI REALLOCATION COMPLETE REALLOCATION COMMAND
with TMSI received
GUTI REALLOCATION COMMAND sent
T3460 6s EMM-COMMON PROC-INIT AUTHENTICATION REQUEST sent AUTHENTICATION RESPONSE received Retransmission of the same message type,
SECURITY MODE COMMAND sent AUTHENTICATION FAILURE received i.e.AUTHENTICATION REQUEST or
SECURITY MODE COMPLETE received SECURITY MODE COMMAND
SECURITY MODE REJECT received
T3470 6s EMM-COMMON PROC-INIT IDENTITY REQUEST sent IDENTITY RESPONSE received Retransmission of IDENTITY REQUEST
Mobile Default 4 min greater All except EMM DEREGISTERED Entering EMM-IDLE mode NAS signalling connection established Network dependent, but typically paging is
reachable than T3412 halted on 1st expiry
Implicit NOTE 3 All except EMM DEREGISTERED The mobile reachable timer NAS signalling connection established Implicitly detach the UE on 1st expiry
detach expires while the network is in
timer EMM-IDLE mode
NOTE 1: Typically, the procedures are aborted on the fifth expiry of the relevant timer. Exceptions are described in the corresponding procedure description.
NOTE 3: The value of this timer is network dependent. If ISR is activated, the default value of this timer is 4 minutes greater than T3423.
Here is the ref. of a real time UE log
Thank You!!
===============================================================