blob: 7fd3e1295ef05c6a35085bcc0203ccbd16acee97 [file] [log] [blame]
Neels Hofmeyr88a07892020-10-28 03:24:27 +01001== Location Services: Lb interface to SMLC
2
3OsmoBSC and OsmoSMLC support positioning by Timing-Advance (TA), since October
42020.
5
6A Perform Location Request is initiated by the MSC via BSSMAP on the
7A-interface, for a specific subscriber. The request is typically passed on via
8BSSMAP-LE on the Lb-interface to the SMLC. If required, the SMLC may request the
9subscriber's Timing Advance (a.k.a. Access Delay) from the BSC via BSSLAP
10(encapsulated BSSLAP APDU in a BSSMAP-LE Connection Oriented Information
11message). The SMLC may combine several location and velocity estimate methods to
12form a GAD PDU containing the resulting geographic location information. In
13TA-based positioning, the Timing-Advance information from the BSC is combined
14with the preconfigured latitude and longitude of the serving cell to form a
15location estimate. This is returned to the BSC via the Lb-interface, and in turn
16to the MSC via the A-interface.
17
18[mscgen]
19----
20include::{srcdir}/message-sequences/location_services_ta.msc[]
21----
22
23Location Services (LCS) are described in 3GPP TS 43.059 <<3gpp-ts-43-059>>.
24Messages for LCS on the A-interface (BSSMAP, between BSC and MSC) are described
25in 3GPP TS 48.008 <<3gpp-ts-48-008>>, on the Lb-interface (BSSMAP-LE between BSC
26and SMLC) in 3GPP TS 49.031 <<3gpp-ts-49-031>>. The resulting geographic
27location and possibly velocity information is encoded in GAD, described in 3GPP
28TS 23.032 <<3gpp-ts-23-032>>.
29
30[[smlc-config]]
31=== Configure Lb-interface
32
33All Lb-interface related configuration is found in the `smlc` section of
34OsmoBSC's configuration.
35
36By default, the Lb-interface is disabled in OsmoBSC. It is started by `enable`.
37
38----
39smlc
40 enable
41----
42
43On the Lb-interface, OsmoBSC always uses SSN "BSC (BSSMAP-LE)" (SSN code 250)
44and contacts the remote SMLC on SSN "SMLC (BSSMAP-LE)" (SSN code 252).
45
46The point-codes are configurable, and default to OsmoBSC's local point-code
470.23.3 (187), and remote SMLC point-code 0.23.6 (190).
48
49To configure a different remote SMLC point-code, first configure an arbitrarily
50named SCCP address in the `cs7` address book, and then apply that to the
51`smlc-addr` configuration:
52
53----
54cs7 instance 0
55 sccp-address my-smlc
56 point-code 0.42.6
57smlc
58 smlc-addr my-smlc
59----
60
61Similarly, OsmoBSC's local point-code on the Lb-interface is configured by the
62`bsc-addr` configuration:
63
64----
65cs7 instance 0
66 sccp-address my-bsc-on-lb
67 point-code 0.42.3
68smlc
69 bsc-addr my-bsc-on-lb
70----
71
72The geographic locations of individual cells are configured at the SMLC. See
73for example OsmoSMLC's user manual <<userman-osmosmlc>>.