Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Messages Analysis
Layer3 Messages
1. Introduction
(45 minutes)
Layer3 Messages
What is Layer3?
In the protocol stack of GSM signaling, composed of 3 layer, L1, L2 and L3.
In L3 there are 3 sub-layers, Radio Resource (RR), Mobility Management (MM) and Connection
Management (CM).
MS
BTS
BSC
MSC
CM
CM
MM
MM
RR
RR
RR
BTSM
BTSM
BSSAP
BSSAP
SCCP
SCCP
LAPDm
LAPDm
LAPD
MTP
MTP
Layer1
Layer1
Layer1
Layer1
Layer1
Um Interface
Radio Network Planning and Optimization
Abis Interface
A Interface
Layer3 Messages
What is Layer3?
From the diagram, we can imply that all the information which MS
would like to talk with the network are done in the Layer 3.
The flow of the message is so-called Message Flow Chart or
Signaling Flow Chart.
MS
Network
Note: Actual TA for the connection and MS Power level are send
in Layer1 on SACCH.
Radio Network Planning and Optimization
Layer3 Messages
What is Layer3?
Hierarchy of 3 sub-layers
RR sub-layer provides services to the MM
sub-layer and utilizes the services of
signaling layer 2.
MM sub-layer provides common services
to the entities of the Connection
Management (CM) sub-layer.
- the CM sub-layer includes, among others,
the CC, SS, and SMS entities, which are
independent entities.
Layer3 Messages
Practice
1.
2.
3.
SS7 signaling.
Layer3 Messages
Layer 3 Protocol
(2 hours)
Layer3 Messages
Example messages
System Information Type1-8.
Handover command.
Assignment Command.
Immediate Assignment Command.
Radio Network Planning and Optimization
Layer3 Messages
Layer3 Messages
Cell Selection
PLMN Selection
C 1 = A Max ( B ,0)
A = Rxlev RXLEV _ ACCESS _ MIN
No
No
Yes
Tuned to SCH
for decode BSIC
and decode System Info
Suitable Cell
Exist?
Yes
CB
NO (0)
YES(1)
NO (0)
YES(1)
Layer3 Messages
Radio tower
Layer3 Messages
Mobile Turn on
PLMN Selection
Cell Selection
H ( x ) = 0, x < 0
H ( x ) = 1, x 0
Criteria :
1.Serving cell becomes barred.
NO
fullfil Cell
Reselection
Criteria?
YES
Layer3 Messages
Optional
Mandatory
Optional
Optional
Mandatory
Mandatory
Optional
Optional
Optional
Layer3 Messages
Layer3 Messages
MS
System Information Type 1
System Information Type 2
System Information Type 3
System Information Type 4
Send on BCCH
Send on BCCH
Send on BCCH
Send on BCCH
Send on BCCH
Synch Channel Information
Send on SCH
Paging Request Type 1
Layer3 Messages
Layer3 Messages
MS
Paging Request Type 1, 2, 3
Send on CCCH
Channel Request
Send on RACH
Immediate Assignment
Send on AGCH
Paging Response (CM Service Request)
Send on SDCCH
GPRS Suspension Request
Send on SDCCH
Classmark Change
Send on SDCCH
Layer3 Messages
Handover Procedure
After Network prepared the target channel, network initiate Handover by sending
HANDOVER COMMAND to the MS.
Mobile send HANDOVER ACCESS in order to try to establish the physical
channel at target cell.
If MS successful to establish the connection in lower layer, HANDOVER
COMPLETE message will send to network.
Layer3 Messages
MS
Ciphering Mode Command
Ciphering Mode Complete
Setup
Send on SDCCH
Send on SDCCH
Send on SDCCH
Send on SDCCH
Assignment Command
Assignment Complete
Send on SDCCH
Send on FACCH
Alerting
Send on FACCH
Layer3 Messages
MS
System Information Type5 (5ter)
System Information Type6
Measurement Report
Handover Command
Handover Access
Physical Information
Handover Complete
Send on SACCH
Send on SACCH
Send on SACCH
Send on FACCH
Send on FACCH
Send on FACCH
Send on FACCH
Layer3 Messages
Mobility Management
General Purpose
Support the mobility of users, e.g. the location of users, and
provide the confidential of the users.
Provide connection management services to the upper sub-layer.
Layer3 Messages
Authentication
permit the network to check the identity of the MS.
provide parameters for MS to calculate ciphering key.
Identification
Network request MS to provide the specific identification parameters to the
network, e.g. IMEI.
IMSI Detach
MS inform the network when switch off in order to change the status of this MS
in the VLR.
This procedure are required when ATT flag, broadcasted in System Information
is set.
MS initiate IMSI detach procedure by send IMSI DETACH INDICATION message.
Radio Network Planning and Optimization
Layer3 Messages
Periodic updating
Controlled by T3212 in the mobile.
The timer is stopped and reset to the initial value when
LOCATION UPDATE ACCEPT or LOCATION UPDATE REJECT is received
AUTHENTICATION REJECT is received.
The first MM message is received.
MS is deactivated (switch off).
when the timer expired, location update is started.
IMSI Attach
IMSI Attach is a compliment of IMSI detach, to inform the network that MS once
again activate.
It is also controlled by ATT flag in System Information.
Radio Network Planning and Optimization
Layer3 Messages
MS
TMSI Reallocation Command
Send on SDCCH
Send on SDCCH
Authentication Request
Send on SDCCH
Authentication Response
Send on SDCCH
Identity Request
Identity Response
Location Update Request
Location Update Accept
IMSI Detach Indication
Send on SDCCH
Send on SDCCH
Send on SDCCH
Send on SDCCH
Send on SDCCH
Layer3 Messages
Example messages
Setup.
Alerting.
Call Proceeding.
Connect.
Radio Network Planning and Optimization
Layer3 Messages
MS
Setup
Send on SDCCH
Call Proceeding
Alerting
Connect
Connect Acknowledge
Send on SDCCH
Send on FACCH
Send on FACCH
Send on FACCH
Layer3 Messages
MS
Setup
Send on SDCCH
Call Confirmed
Alerting
Connect
Connect Acknowledge
Send on SDCCH
Send on FACCH
Send on FACCH
Send on FACCH
Layer3 Messages
2.
3.
RR Sub-layer.
Layer3 Messages
TX-integer
non-combined
CCCH
combined
CCCH/SDCCH
3,8,14,50
55
41
4,9,16
76
52
5,10,20
109
58
6,11,25
163
86
7,12,32
217
115
Layer3 Messages
NCC permitted
MS will use this value when it first enter to
dedicated mode before it get new in
formation on SACCH.
Layer3 Messages
Control channel
ATT IMSI attach/detach flag
BS-AG-BLKS-RES number of block
reserve for access grant, use in the
calculation of paging group.
CCCH-CONF indicate whether CCCH
is combined with SDCCH.
BS-PA-MFRMS Multiframe for paging
group calculation.
T3212 periodic registration timer.
PAGING_GROUP
= {(IMSI mod 1000) mod
(BS_CC_CHANS x N)} mod N
N = number of paging block
= (number of paging blocks "available"
in a 51- multiframe on one CCCH)
x BS_PA_MFRMS.
Cell Option
DTX indicator whether mobile shall
use DTX or not.
RADIO-LINK-TIMEOUT the radio link
timeout for DL connection that mobile
will use for this cell.
Radio Network Planning and Optimization
Layer3 Messages
Layer3 Messages
Layer3 Messages
Layer3 Messages
Layer3 Messages
Layer3 Messages
Layer3 Messages
Channel Request
Layer3 Messages
Channel Request
Bit Pattern between Random Reference and Establishment cause can be found in
specification 44.018. We can see there are some bit pattern that are not defined in the
table.
Layer3 Messages
Immediate Assignment
Channel Description
The details of target physical
channel of SDCCH which MS have
to camp on in dedicated mode.
Request Reference
Include the Establishment cause
and random reference value from
the channel request.
Timing Advance
The initial timing advance values,
which BSC calculate from the delay
of random access.
Layer3 Messages
Immediate Assignment
TA calculation in Call setup
Access burst
Layer3 Messages
Classmark Change
Encryption algorithm support
mobile will declare all Encryption algorithm it
support.
MS power capability
mobile power class
GSM900
MS Power
Class
Output
power [dBm]
Sensitivity
[dBm]
39
-106
37
-106
33
-104
29
-104
GSM1800
MS Power
Class
Output
power [dBm]
Sensitivity
[dBm]
30
-104
24
-104
Layer3 Messages
RAND
Ki
Kc
data
data
A5
Kc
A8
Kc
A5
data
data
Layer3 Messages
Assignment Command
Description of the channel
Channel Type indicate the target channel (TCHF/TCHH).
TN target TCH timeslot number.
TSC training sequence code.
Hopping RF channel whether target channel is HOPPING.
MAIO start MAI for hopping.
HSN hopping sequence number.
Power Command
Power level the initial power use in this connection.
Mobile allocation
Mobile allocation array the frequency which will use when
hopping.
Layer3 Messages
Layer3 Messages
0
Drop Call
SACCH
NCC permitted
MS will not report the signal level of the
cell which NCC are not belong or exist in
this list.
Layer3 Messages
Measurement Report
Serving Cell measurement
RxLev Full rxlevel of serving cell average for full
set.
Rxlev Sub rxlevel of serving cell average for sub
set
RxQual full rxqual of serving cell average for full
set.
RxQual Sub rxqual of serving average for sub
set.
Layer3 Messages
Handover Command
Cell Description
BCCH and BSIC of the
target cell.
Channel Description
allocated channel at target
cell, in case of Hopping it will
inform MAIO and HSN.
Handover Reference
reference value use to
identify the Handover Access
from the mobile.
Synchronization
indicate the handover is
synchronous or
asynchronous. Synchronous
handover case after MS send
Handover Access, it will tune
the transceiver to the target
channel without waiting for
Physical Information
message.
Layer3 Messages
Handover Access
Handover Reference
Refer that this Handover Access belong to which
Handover Command.
Handover Access is a very short message (1 octet),
which using Access Burst as same as Channel
Request.
In some case , it is possible that this Handover
Access will trigger the allocation of SDCCH of
surrounding cells because they think it is the
channel request message.
This phenomena can cause the problem on
immediate assignment success rate.
Layer3 Messages
Physical Information
Timing Advance
This timing advance tell the mobile about the
timing advance which will use in the target cell.
The mechanism of detect the timing advance is
as same as in immediate assignment procedure
because the burst structure using for channel
request (Random Access) and handover access
is the same.
Access Burst
Layer3 Messages
Mobile Identity
Identity of the MS can be either TMSI or IMSI.
Layer3 Messages
Mobile Identity
New TMSI which MS will use in the new LAI, in
this case MS have to send TMSI
REALLOCATION COMPLETE in order to confirm
the use of new TMSI to the network and there are
no TMSI REALLOCATION COMAND sent in this
case.
Layer3 Messages
Authentication Request
Authentication parameter
From the Triplet, MSC send RAND to the MS in
Authentication Request Message.
MS will use this RAND value to calculate SRES and
answer the value in Authentication Response.
Layer3 Messages
Authentication Response
Authentication Response
MS use RAND as input of A3 algorithm together with
Ki stored in the SIM card.
The output of the operation is SRES.
MS return SRES to MSC via AUTHENTICATION
RESPONSE message.
MSC will check compare the SRES with the one that
calculated in MSC.
RAND
Ki
A3
SRES
Layer3 Messages
Setup (MOC)
Bearer Capability
MS send the bearer capability to MSC in
order to assign the TCH channel.
Layer3 Messages
Setup (MTC)
Bearer Capability
This case MSC ask for the bearer capability of the
MS.
MS answer its capability and prefer channel type to
MSC on CALL CONFIRMED in order to get TCH
channel.