Mobile Analyzer Trace Log Messages (Part 2) : Chin Gang Wu, Application Engineer 2 February 2015 Confidential
Mobile Analyzer Trace Log Messages (Part 2) : Chin Gang Wu, Application Engineer 2 February 2015 Confidential
Mobile Analyzer Trace Log Messages (Part 2) : Chin Gang Wu, Application Engineer 2 February 2015 Confidential
(Part 2)
Chin Gang Wu, Application Engineer locate, communicate, accelerate
2nd February 2015
Confidential
Objectives
- Introduction to common UMTS terminology used in Mobile Analyser
Slide 2
UMTS / GSM Network
CS Core
PS Core
Slide 3
UMTS Protocol Stack
Slide 4
Exercise #1:
Make a MO call and find all the call control messages as shown in the following call
flow diagram.
Slide 5
Location Update Messages (CS only)
UE UTRAN MS C/VLR HLR
[15490] URRC_EST_REQ (Location updating request)
Loca tion Update Re que st
[15670] URLC_RRC_TM_DATA_REQ (RRC Connection Request)
Se nd Authe ntica tion Info
[15759] URLC_RRC_UM_DATA_IND (RRC Connection Setup)
[15950] URLC_RRC_AM_DATA_REQ (RRC Connection Setup Complete)
S e nd Authe ntica tion Info. ACK
AUTH req
[16478] URRC_DATA_IND (Authentication Request)
[16600] URRC_DATA_REQ (Authentication Response) AUTH re s p
Upda te Location
[16655] URLC_RRC_AM_DATA_IND (Security Mode Command)
[16692] URLC_RRC_AM_DATA_REQ (Security Mode Complete) Inse rt s ubs criber da ta
[17303] URRC_DATA_IND (MM Identity Request) Ins ert s ubs criber data ACK
Slide 6
Non Access Stratum (NAS)
The Non Access Stratum architecture is divided into:
Circuit Switched (CS) Protocols – MM and CM sub-layers
Packet Switched (PS) Protocols – GMM and SM sub-layers
Slide 7
GPRS Attach Messages
[2166] SCC: T:2 C: at+cgatt=1
[2217] GMMAS_ESTABLISH_REQ
(Attach Request)
[2396] URLC_RRC_TM_DATA_REQ
(UL-CCCH: RRC Connection Request)
[2486] URLC_RRC_UM_DATA_IND
(DL-CCCH: RRC Connection Setup)
[2692] URLC_RRC_AM_DATA_REQ
(UL-DCCH: RRC Connection Setup Complete)
[2694] URLC_RRC_AM_DATA_REQ
(UL-DCCH: Initial Direct Transfer Attach Request)
[2702] GMMAS_ESTABLISH_CNF
[3054] GMMAS_DATA_IND
(Attach Accept)
[3066] GMMAS_DATA_REQ
(Attach Complete)
[3068] URLC_RRC_AM_DATA_REQ
(UL-DCCH: Uplink Direct Transfer Attach Complete)
Slide 8
GPRS Attach Messages –Authentication and Ciphering
Slide 9
GPRS Attach Messages – Attach Request
length (SDL_Integer): 26
Skip Indicator : 0
Protocol Discriminator : Mobility Management for GPRS services (8)
Message Type value : 1
** Attach Request **
The functions necessary to protect GPRS from hijacking attacks and provide protection from false
base station attacks in networks that activate ciphering
Slide 10
GPRS Attach Messages – Attach Request
Attach type | Attach Type
----0--- R99: No follow-on request pending; R97: spare : 0
-----001 GPRS attach : 1
Slide 11
GPRS Attach Messages – Attach Request
DRX Parameter | DRX Parameter
00001000 SPLIT PG CYCLE value: 8
0000---- R99 - CN Specific DRX cycle length coefficient not specified by the MS. R97-spare : 0
----0--- Split pg cycle on CCCH is not supported by the mobile station : 0
-----011 max. 4 sec non-DRX mode after transfer state : 3
Slide 12
GPRS Attach Messages – Attach Request
Old routing area identification | Routing area identification
0010---- Mobile country code, digit 2
----0101 Mobile country code, digit 1
SingTel Singapore
1111---- spare (two digit MNC)
----0101 Mobile country code, digit 3
0001---- Mobile network code, digit 2
----0000 Mobile network code, digit 1
........ Mobile country code : 525
........ Mobile network code : 01
00000001 LAC, Location area code : 1
01010111 LAC, Location area code (continued) : 87
........ LAC, Location area code value : 343 (0x157)
00000001 RAC, Routing area code : 1
Slide 13
GPRS Attach Messages – Attach Accept
length (SDL_Integer): 1C
Skip Indicator : 0
Protocol Discriminator : Mobility Management for GPRS services (8)
Message Type value : ? What is this value?
** Attach Accept **
Slide 14
GPRS Attach Messages – Attach Accept
Routing area identification | Routing area identification
0010---- Mobile country code, digit 2
----0101 Mobile country code, digit 1
1111---- spare (two digit MNC)
----0101 Mobile country code, digit 3
0001---- Mobile network code, digit 2
----0000 Mobile network code, digit 1
........ Mobile country code : 525
........ Mobile network code : 01
00000001 LAC, Location area code : 1
01010111 LAC, Location area code (continued) : 87
........ LAC, Location area code value : 343 (0x157)
00000001 RAC, Routing area code : 1
Slide 15
GPRS Attach Messages – Attach Accept
Allocated P-TMSI | Mobile identity
00011000 Mobile identity IEI : 24
00000101 Mobile identity length of contents : 5
1111---- Identity digit 1 : 15
----0--- odd/even indic: even number of identity digits and also when the TMSI/P-TMSI is used : 0
-----100 Type of identity : TMSI/P-TMSI : ? What is this value?
1100---- Identity digit 3 (most significant bits) : 12
----1110 Identity digit 2 : 14
0000---- Identity digit 5 : 0
----0110 Identity digit 4 : 6
0101---- Identity digit 7 : 5
----1111 Identity digit 6 : 15
0110---- Identity digit 9 : 6
----0011 Identity digit 8 (least significant bits) : 3
........ Identity digit value : 0xCE065F63
Equivalent PLMNs | PLMN List
01001010 PLMN List IEI : 74
00000011 PLMN List length of contents : 3
0010---- MCC digit 2, PLMN 1
----0101 MCC digit 1, PLMN 1
1111---- MNC digit 3, PLMN 1
----0101 MCC digit 3, PLMN 1
0111---- MNC digit 2, PLMN 1
----0000 MNC digit 1, PLMN 1
Network feature support | Network feature support
1011---- Network feature support IEI : 11
----0--- LCS-MOLR via PS domain not supported : 0
-----0-- MBMS not supported : 0
------00 Spare
Slide 16
PDP Context Activation Messages
Slide 17
PDP Context Activation Messages - Call Flow
Slide 18
PDP Context Activation Messages
Internal PDP Context Activation (Using Internal TCP/IP Stack)
[10953] SCC: T:2 C: at+upsd=0,1,"e-ideas"
[10997] SCC: T:2 C: at+upsda=0,3
[11188] SMREG_PDP_ACTIVATE_REQ (Activate PDP Context Request)
[11197] GMMSM_UNITDATA_REQ (Activate PDP Context Request)
[11958] GMMAS_DATA_REQ (Activate PDP Context Request)
[11960] URLC_RRC_AM_DATA_REQ (UL-DCCH: UL Direct Transfer Activate PDP Context Request)
[12308] URLC_RRC_AM_DATA_REQ (UL-DCCH: Radio Bearer Setup Complete)
[12546] URLC_RRC_AM_DATA_IND (DL-DCCH: DL Direct Transfer Activate PDP Context Accept)
[12567] GMMAS_DATA_IND (Activate PDP Context Accept)
[12578] GMMSM_UNITDATA_IND (Activate PDP Context Accept)
[12586] SMREG_PDP_ACTIVATE_CNF (PDP Context Active and RAB Active)
Slide 19
PDP Context Activation Messages
External PDP Context Activation (Using External TCP/IP Stack)
[19664] SCC: T:2 C: at+cgdcont=1,"IP","e-ideas"
[19917] SCC: T:2 C: at+cgact=1,1
[19927] SMREG_PDP_ACTIVATE_REQ (Activate PDP Context Request)
[19936] GMMSM_UNITDATA_REQ (Activate PDP Context Request)
[19938] GMMAS_DATA_REQ (Activate PDP Context Request)
[20299] URLC_RRC_AM_DATA_REQ (UL-DCCH: Uplink Direct Transfer Activate PDP Context Request)
[20782] URLC_RRC_AM_DATA_REQ (UL-DCCH: Radio Bearer Setup Complete)
[20879] URLC_RRC_AM_DATA_IND (DL-DCCH: DL Direct Transfer Activate PDP Context Accept)
[20892] GMMAS_DATA_IND (Activate PDP Context Accept)
[20894] GMMSM_UNITDATA_IND (Activate PDP Context Accept)
[20901] SMREG_PDP_ACTIVATE_CNF (PDP Context Active and RAB Active)
Slide 20
Activate PDP Context Request
length (SDL_Integer): 20 The Logical Link Control (LLC) layer is one of two
sublayers that make up the Data Link Layer of the OSI
Transaction Identifier : 1 model. The Logical Link Control layer controls frame
Protocol Discriminator : Session Management (10) synchronization, flow control and error checking.
Message Type value : ? What is this value?
LLC SAPI identifies the SAP used for GPRS data
** Activate PDP Context Request **
transfer at the LLC layer.
Requested NSAPI | Network service access point identifier
0000---- Spare : 0
----0110 NSAPI 6 : 6 A Network (Layer) Service Access Point
Requested LLC SAPI | LLC service access point identifier Identifier (NSAPI), is an identifier used in GPRS
0000---- spare : 0 (cellular data) networks.
----0011 LLC SAPI value: SAPI 3 : 3
It is used to identify a Packet Data Protocol (PDP)
Requested QoS | Quality of service
context (a unique data session) in the Mobile
00001110 Quality of service length of contents : 14
00------ spare : 0 Station (MS) and in the Serving GPRS Support
--000--- In MS to network direction: Subscribed delay class : 0 Node (SGSN). It is dynamically selected by the
In network to MS direction: Reserved MS (however, the MS should ensure that the
-----000 In MS to network direction: Subscribed reliability class : 0 selected NSAPI is not currently being used by
In network to MS direction: Reserved another session management entity in the MS).
0000---- In MS to network direction: Subscribed peak throughput : 0
When the MS requests a PDP context, it selects an
In network to MS direction: Reserved
----0--- spare : 0 NSAPI that it sends to the SGSN with the request.
-----000 In MS to network direction: Subscribed precedence : 0
In network to MS direction: Reserved
000----- spare : 0
---00000 In MS to network direction: Subscribed mean throughput : 0
Slide 21
Activate PDP Context Request
In network to MS direction: Reserved
000----- In MS to network direction: Subscribed traffic class : 0
In network to MS direction: Reserved
---00--- In MS to network direction: Subscribed delivery orders : 0
In network to MS direction: Reserved
-----000 In MS to network direction: Subscribed delivery of erroneous SDUs : 0
In network to MS direction: Reserved
00000000 In MS to network direction: Subscribed maximum SDU size : 0
In network to MS direction: Reserved
00000000 In MS to network direction: Subscribed maximum bit rate for uplink : 0
In network to MS direction: Reserved
00000000 In MS to network direction: Subscribed maximum bit rate for downlink : 0
In network to MS direction: Reserved
0000---- In MS to network direction: Subscribed residual BER : 0
In network to MS direction: Reserved
----0000 In MS to network direction: Subscribed SDU error ratio : 0
In network to MS direction: Reserved
000000-- In MS to network direction: Subscribed transfer delay : 0
In network to MS direction: Reserved
------00 In MS to network direction: Subscribed traffic handling priority : 0
In network to MS direction: Reserved
00000000 In MS to network direction: Subscribed guaranteed bit rate for uplink : 0
In network to MS direction: Reserved
00000000 In MS to network direction: Subscribed guaranteed bit rate for downlink : 0
In network to MS direction: Reserved
000----- spare : 0
---0---- Signallin Indication: Not optimised for signalling traffic : 0
----0000 Source Statistics Descriptor: unknown : 0
00000000 Use the value indicated by the Maximum bit rate for downlink in octet 9 : 0
00000000 Use the value indicated by the Guaranteed bit rate for downlink in octet 13 : 0
Slide 22
Activate PDP Context Request
Requested PDP address | Packet data protocol address
00000010 PDP address length of contents : 2
0000---- spare : 0
----0001 PDP type organisation: IETF allocated address : 1
00100001 PDP type number: IPv4 address : 33
Access point name | Access point name
00101000 Access point name IEI : 40 PDP type=IP; this has been defined
00001000 Access point name length of contents : 8
00000111 Access point name value : 7
in command
01100101 Access point name value : 101 at+cgdcont=1,"IP","e-ideas"
00101101 Access point name value : 45
01101001 Access point name value : 105
01100100 Access point name value : 100
01100101 Access point name value : 101
01100001 Access point name value : 97
01110011 Access point name value : 115
Slide 23
Activate PDP Context Accept
length (SDL_Integer): 1B
Transaction Identifier : 9
Protocol Discriminator : Session Management (10)
Message Type value : 66
Slide 24
Activate PDP Context Accept
0111---- Residual Bit Error Rate (BER): 1*10^(-5) : 7
----0100 SDU error ratio: 1*10^(-4) : 4
100000-- Transfer delay : 1000 ms (32)
------10 Traffic handling priority: Priority level 2 : 2
00010000 Guaranteed bit rate for uplink : 16 kbps (16)
01000000 Guaranteed bit rate for downlink : 64 kbps (64)
000----- spare : 0
---0---- Signallin Indication: Not optimised for signalling traffic : 0
----0000 Source Statistics Descriptor: unknown : 0
01100100 The maximum bit rate for downlink (extended) : 100
The network shall map this value not explicitly defined onto one of the values defined in this version of the protocol.
The network shall return a negotiated value which is explicitly defined in this version of the protocol.
00000000 Use the value indicated by the Guaranteed bit rate for downlink in octet 13 : 0
Spare half octet | Spare half octet
0000---- Spare Half Octet : 0
Radio priority | Radio Priority
----0--- spare : 0
-----010 priority level 2 : 2
PDP address | Packet data protocol address
00101011 Packet data protocol address IEI : 43
00000110 PDP address length of contents : 6
0000---- spare : 0
----0001 PDP type organisation: IETF allocated address : 1
00100001 PDP type number: IPv4 address : 33
00001010 Address information: Most significant byte : 10
10010110 Address information: continued : 150
01100010 Address information: continued : 98
11100011 Address information: Least significant byte : 227
Slide 25
Detach Request Messages
Slide 26
Detach Request Messages
Figure 27: GMM_DETACH_REQ is sent from UE to Network when AT+CPWROFF command is executed
Slide 27
Detach Request Messages
Slide 28
References
1. 3GPP TS 24.007 Mobile radio interface signalling layer 3; General Aspects
http://www.3gpp.org/DynaReport/24007.htm
2. 3GPP TS 24.008 Mobile radio interface Layer 3 specification; Core network protocols; Stage 3
http://www.3gpp.org/DynaReport/24008.htm
3. 3GPP TS 31.102 Characteristics of the Universal Subscriber Identity Module (USIM) application
http://www.3gpp.org/DynaReport/31102.htm
Slide 29
Thank you!
Slide 30