blob: 00576c9b23fab422ff4819881d492a52d0642a70 [file] [log] [blame]
Pau Espin Pedrolf605f3d2017-08-31 16:32:40 +02001:gfdl-enabled:
2
Harald Welteb682cd62016-02-29 15:09:55 +01003OsmoPCU Gb Protocol Specification
4=================================
Maxc182b982016-03-02 16:44:13 +01005Harald Welte <hwelte@sysmocom.de>
Harald Welteb682cd62016-02-29 15:09:55 +01006
7== Introduction
8
9This document describes the Gb interface of *OsmoPCU*. Based on 3GPP TS
Maxc182b982016-03-02 16:44:13 +01001008.16 and 08.18, this document indicates which of the 3GPP specified Gb
Harald Welteb682cd62016-02-29 15:09:55 +010011messages and IEs are implemented according to 3GPP specifications, which of
12these are not or not fully implemented, as well as OsmoPCU-specific extensions
13to the Gb interface not specified by 3GPP.
14
15Extensions to the Gb interface specific to OsmoPCU are detailed in this
Harald Weltea27873f2016-03-10 12:35:09 +070016document. For details on the messages and IEs that comply with above-mentioned
Harald Welteb682cd62016-02-29 15:09:55 +0100173GPP specifications, please refer to those documents.
18
19.3GPP document versions referred to by this document
20[cols="20%,80%"]
21|===
22|3GPP TS 08.56 | version 8.0.1 Release 1999
23|3GPP TS 08.58 | version 8.6.0 Release 1999
24|3GPP TS 08.60 | version 8.2.1 Release 1999
25|3GPP TS 12.21 | version 8.0.0 Release 1999
Maxc182b982016-03-02 16:44:13 +010026|3GPP TS 08.16 | version 8.0.1 Release 1999
27|3GPP TS 08.18 | version 8.12.0 Release 1999
Harald Welteb682cd62016-02-29 15:09:55 +010028|===
29
30.IETF documents referred to by his document
31[cols="20%,80%"]
32|===
33|IETF RFC 768 | User Datagram Protocol
34|IETF RFC 791 | Internet Protocol
35|===
36
37== Overview
38
39The OsmoPCU Gb interface consists of the NS (Network Services) and
40BSSGP (Base Station Subsystem Gateway Protocol), encapsulated in UDP
41(User Datagram Protocol) and IP (Internet Protocol) version 4.
Harald Weltea27873f2016-03-10 12:35:09 +070042Use of other underlying protocols (e. g. Frame Relay) is not supported.
Harald Welteb682cd62016-02-29 15:09:55 +010043
44.UDP port numbers used by OsmoPCU Gb/IP
45[options="header",width="50%",cols="35%,65%"]
46|===
47|TCP Port Number|Usage
Harald Welte6fb29632016-03-10 12:53:06 +070048|23000|NS over UDP (default port)
Harald Welteb682cd62016-02-29 15:09:55 +010049|===
50
51The NS-over-UDP link is established in the PCU -> SGSN direction, i.e.
52the PCU is running as client while the SGSN is running as server.
53
54Establishment of the NS-over-UDP link is only possible after OsmoPCU
Harald Weltea27873f2016-03-10 12:35:09 +070055has been configured via the *PCU socket* interface from OsmoBTS.
Harald Welteb682cd62016-02-29 15:09:55 +010056
57OsmoBTS in turn receives relevant configuration parameters from
58OsmoBSC or the BSC component inside OsmoNITB.
59
60.Overview of Gb link establishment
61["mscgen"]
62----
Oliver Smith47aab582018-11-14 10:47:01 +010063include::{srcdir}/gb/gb-startup.msc[]
Harald Welteb682cd62016-02-29 15:09:55 +010064----
65
Max4e2a1e32016-03-02 18:30:33 +010066[[ident]]
Harald Welteb682cd62016-02-29 15:09:55 +010067=== Identities
68
69The Gb interface identities of the PCU are configured via BSC ->
70OsmoBTS -> PCU Socket. They consist of
71
72NSEI:: NS Equipment Identifier
73NSVCI:: NS Virtual Connection Identifier
74BVCI:: BSSGP Virtual Connection Identifier
75
76For an explanation of those identifiers and their use in the NS and
Jonathan Brielmaier58721eb2016-05-25 15:01:11 +020077BSSGP protocols, please see the relevant 3GPP specifications for NS (TS 08.16)
Max4e2a1e32016-03-02 18:30:33 +010078and BSSGP (TS 08.18).
Harald Welteb682cd62016-02-29 15:09:55 +010079
80In most cases, all above identities belong to different namespaces and
81must be unique within their respective namespace and within the SGSN
82they connect to.
83
84This means that typically each OsmoPCU has one unique set of NSEI,
85NSVCI and BVCI in your network.
86
Oliver Smith47aab582018-11-14 10:47:01 +010087include::{srcdir}/gb/ns.adoc[]
Harald Welteb682cd62016-02-29 15:09:55 +010088
Oliver Smith47aab582018-11-14 10:47:01 +010089include::{srcdir}/gb/bssgp.adoc[]
Harald Welteb682cd62016-02-29 15:09:55 +010090
Oliver Smith47aab582018-11-14 10:47:01 +010091include::./common/chapters/port_numbers.adoc[]
Harald Welteb682cd62016-02-29 15:09:55 +010092
Oliver Smith47aab582018-11-14 10:47:01 +010093include::./common/chapters/glossary.adoc[]
Harald Welteb682cd62016-02-29 15:09:55 +010094
Oliver Smith47aab582018-11-14 10:47:01 +010095include::./common/chapters/gfdl.adoc[]