Project

General

Profile

RRLP » History » Version 6

admin, 02/19/2016 10:52 PM
add notice about SUPL and the gpsworld article

1 6 admin
{{>toc}}
2 1 admin
3 6 admin
h1. RRLP
4 1 admin
5 6 admin
6
RRLP is the _Radio Resource LCS (Location Service) Protocol_ as specified first in GSM TS 04.31
7
8 1 admin
It allows the GSM network operator to obtain very precise location information about a mobile phone,
9
much more precise than is required for normal operation of the cellular network.
10
11
The use of RRLP has been specified for emergency calls.  However, nothing in its specification
12
restricts its use to this application.
13
14
In all known phones, RRLP operation is completely invisible to the user of the phone.
15
16 6 admin
As GSM networks do not need to authenticate themselves, anyone can run a _false BTS_ attack and
17 1 admin
successively obtain precise position information on a given mobile phone.
18 2 admin
19 6 admin
The popular Free Software implementations of the GSM network "OpenBSC":http://openbsc.osmocom.org/ 
20
and "OpenBTS":http://openbts.sourceforge.net/ both support RRLP inquiries to mobile phones
21 1 admin
22 6 admin
Contrary to the user-plane based [[SUPL]], RRLP works entirely in the signaling plane of the network.  As such, the
23 1 admin
RRLP protocol level is not accessible to user applications on a phone.  For a discussion of RRLP, SUPL
24
and the various different location measurement methods for mobile phones, please check this excellent
25
article: http://www.gpsworld.com/gps/wireless-choices-lbs-control-plane-and-user-plane-architectures-1576
26
27
28 6 admin
h2. RRLP Modes
29 1 admin
30
31 6 admin
RRLP operates in different _modes_.
32
33
34
h3. MS-based GPS
35
36
37 1 admin
In this method, the phone operates a stand-alone GPS receiver like it can be found in personal navigation devices.
38
39
The GPS receiver will do the regular GPS receive process, i.e.
40 6 admin
* iterate over the list of 64 possible scrambling codes and acquire the C/A signal
41
* decode the actual data signal modulated onto the C/A carrier
42
* measure the timing difference of arrival (TDOA) of the various satellite signals
43
* compute a location estimate (GPS coordinates) based on the measurements
44 1 admin
45
This complete GPS position fix is then communicated to the SMLC inside the GSM core network.
46
47
48 6 admin
h4. Assistance Data
49
50
51 1 admin
Most RRLP capable phones will request GPS assistance data from the network.
52 2 admin
53 1 admin
The operation of the GPS receiver is similar to the regular MS-based GPS aporach described above,
54
however the GPS receiver is now an A-GPS receiver that already knows the almanac/ephemeris data and
55
can thus much more quickly acquire the signal.
56 2 admin
57 6 admin
"osmocom-lcs.git":http://git.osmocom.org/gitweb?p=osmocom-lcs.git;a=summary contains a program
58 1 admin
that obtains the ephemeris data from an u-blox GPS receiver and structures/encodes it in the format
59
needed by RRLP
60
61
62 6 admin
h3. MS-assisted GPS
63
64
65 1 admin
In MS-assisted GPS, the MS does not compute the actual location.  Instead, the location/position
66
of the phone is computed in the SMLC (part of the GSM core network).
67
68
The SMLC provides detailed information about the current GPS signal to the phone, such as:
69 6 admin
* which satellites are currently in the visible part of the hemisphere (and implicitly their scrambling code)
70
* the expected _doppler shift_ observed at the MS location, caused by satellite movement relative to MS
71
* the expected _code phase_, i.e. the difference between a specified GSM bit and the GPS signal chip / bit
72
* the azimuth and elevation of the satellite
73 3 admin
74
Based on this information, the phone does not have to do a full search/acquisition like a stand-alone GPS receiver.
75
76
Instead, it can do a very narrow search for each satellite in question, as it already knows
77 6 admin
* at which doppler shift / range to expect the signal
78
* which pseudo-random scrambling sequence to use
79
* a very narrow position within the scrambling sequence
80 1 admin
81 3 admin
This significantly reduces the need for cross-correlation inside the phone.
82
83 6 admin
84
h3. E-OTD
85
86 1 admin
87
FIXME
Add picture from clipboard (Maximum size: 48.8 MB)