blob: b75691116269b6708d6b3a706d296dea0d22cb02 [file] [log] [blame]
Harald Welteb53e2bf2020-08-21 16:33:42 +02001[[overview]]
2== Overview
3
4This manual should help you getting started with OsmoSMLC. It will cover
5aspects of configuring and running the OsmoSMLC.
6
7[[intro_overview]]
8=== About OsmoSMLC
9
10OsmoSMLC is the Osmocom implementation of a Serving Mobile Location Center.
Neels Hofmeyreec6a6d2020-10-29 23:52:47 +010011
12A Perform Location Request is initiated by the MSC via BSSMAP on the
13A-interface, for a specific subscriber. The request is typically passed on via
14BSSMAP-LE on the Lb-interface to the SMLC. If required, the SMLC may request the
15subscriber's Timing Advance (a.k.a. Access Delay) from the BSC via BSSLAP
16(encapsulated BSSLAP APDU in a BSSMAP-LE Connection Oriented Information
17message). The SMLC may combine several location and velocity estimate methods to
18form a GAD PDU containing the resulting geographic location information.
19
20So far, OsmoSMLC implements only Timing Advance based positioning. In TA-based
21positioning, the Timing-Advance information received from the BSC is combined
22with the preconfigured latitude and longitude of the serving cell to form a
23location estimate. This is returned to the BSC via the Lb-interface, and in
24turn to the MSC via the A-interface.
25
26Location Services (LCS) are described in 3GPP TS 43.059 <<3gpp-ts-43-059>>.
27Messages for LCS on the A-interface (BSSMAP, between BSC and MSC) are described
28in 3GPP TS 48.008 <<3gpp-ts-48-008>>, on the Lb-interface (BSSMAP-LE between BSC
29and SMLC) in 3GPP TS 49.031 <<3gpp-ts-49-031>>. The resulting geographic
30location and possibly velocity information is encoded in GAD, described in 3GPP
31TS 23.032 <<3gpp-ts-23-032>>.
32
33== Lb Interface
34
35The Lb interface connects BSC to SMLC and consists of BSSMAP-LE/SCCP/M3UA. It
36is routed via an STP instance, as is typical for SCCP. The BSSMAP-LE messages
37may encapsulate BSSLAP and GAD PDUs.
38
39OsmoSMLC by default connects to an STP at 127.0.0.1:2905, and registers with
40its own point-code, default is 0.23.6, on SSN "SMLC (BSSMAP-LE)" (SSN code
41252).
42
43A BSC on an Lb link typically uses SSN "BSC (BSSMAP-LE)" (SSN code 250). Each
44BSC connecting to the SMLC must have a distinct own point-code. OsmoBSC's own
45default point-code is 0.23.3, but when more than one BSC is in use, BSC point
46codes should be configured explicitly.
47
48OsmoSMLC waits for BSC instances to establish Lb interface connections. It does
49not require knowledge of individual BSCs' point-codes (OsmoSMLC does require
50preconfigured cell location information, see <<cell-locations>>).
51
52On establishing the Lb link, a BSC should send a BSSMAP-LE RESET; the Lb link
53is usable for per-subscriber connections as soon as OsmoSMLC responds with a
54BSSMAP-LE RESET ACKNOWLEDGE.