blob: 6afd820abadff730883bda536cdf58d1e98f4cde [file] [log] [blame]
Maxb1776b62016-03-04 18:16:58 +01001[[bssgp]]
Harald Welteb682cd62016-02-29 15:09:55 +01002== BSS GPRS Protocol (BSSGP)
3
4=== List of Messages
5
6The following tables list the BSSGP messages used by OsmoPCU, grouped by their
7level of compliance with 3GPP TS 08.18.
8
9==== Messages Compliant With TS 08.18
10
11.Messages compliant with TS 08.18
12[options="header",cols="10%,10%,20%,35%,5%,20%"]
13|===
14| TS 08.18 § | type code (hex) | This document § | Message | <-/-> | Received/Sent by OsmoPCU
Maxb1776b62016-03-04 18:16:58 +0100156+<| *RL and BSSGP SAP Messages:*
16| 10.2.1 | 0x00 | <<dl_unit_data>> | DL-UNITDATA | <- | Received
17| 10.2.2 | 0x01 | <<ul_unit_data>> | UL-UNITDATA | -> | Sent
18| 10.2.3 | 0x02 | <<ra_capab>> | RA-CAPABILITY | <- | Received
196+<| *GMM SAP Messages:*
20| 10.3.1 | 0x06 | <<paging_ps>> | PAGING PS | <- | Received
21| 10.3.2 | 0x07 | <<paging_cs>> | PAGING CS | <- | Received
22| 10.3.7 | 0x0c | <<susp_ack>> | SUSPEND-ACK | <- | Received
23| 10.3.8 | 0x0d | <<susp_nack>> | SUSPEND-NACK | <- | Received
24| 10.3.10 | 0x0f | <<res_ack>> | RESUME-ACK | <- | Received
25| 10.3.11 | 0x10 | <<res_nack>> | RESUME-NACK | <- | Received
266+<| *NM SAP Messages:*
27| 10.4.9 | 0x21 | <<block_ack>> | BVC-BLOCK-ACK | <- | Received
28| 10.4.12 | 0x22 | <<bvc_reset>> | BVC-RESET | <-/-> | Received/Sent
29| 10.4.13 | 0x23 | <<reset_ack>> | BVC-RESET-ACK | <- | Received
30| 10.4.10 | 0x24 | <<bvc_unblock>> | BVC-UNBLOCK | -> | Sent
31| 10.4.11 | 0x25 | <<unblock_ack>> | BVC-UNBLOCK-ACK | <- | Received
32| 10.4.4 | 0x26 | <<flow_bvc>> | FLOW-CONTROL-BVC | -> | Sent
33| 10.4.5 | 0x27 | <<flow_bvc_ack>> | FLOW-CONTROL-BVC-ACK | <- | Received
34| 10.4.7 | 0x29 | <<flow_ms_ack>> | FLOW-CONTROL-MS-ACK | <- | Received
35| 10.4.1 | 0x2a | <<flush_ll>> | FLUSH-LL | <- | Received
36| 10.4.15 | 0x40 | <<invoke_trace>> | SGSN-INVOKE-TRACE | <- | Received
37| 10.4.14 | 0x41 | <<bssgp_status>> | STATUS | <-/-> | Received/Sent
Harald Welteb682cd62016-02-29 15:09:55 +010038|===
39
40==== Messages Specific to OsmoPCU
41
42There are no OsmoPCU specific BSSGP messages.
43
Maxb1776b62016-03-04 18:16:58 +010044[[not_impl]]
Harald Welteb682cd62016-02-29 15:09:55 +010045==== Messages Not Implemented by OsmoPCU
46
47.3GPP TS 08.18 messages not implemented by OsmoPCU
48[options="header",cols="10%,10%,80%"]
49|===
50| TS 08.18 § | type code (hex) | Message
Maxb1776b62016-03-04 18:16:58 +0100513+<| *RL (relay) and BSSGP SAP Messages:*
52| 10.2.4 | 0x03 | PTM-UNITDATA
533+<| *GMM (GPRS mobility management) SAP Messages:*
54| 10.3.3 | 0x08 | RA-CAPABILITY-UPDATE
55| 10.3.4 | 0x09 | RA-CAPABILITY-UPDATE-ACK
56| 10.3.5 | 0x0a | RADIO-STATUS
57| 10.3.6 | 0x0b | SUSPEND
58| 10.3.9 | 0x0e | RESUME
593+<| *NM (network management) SAP Messages:*
60| 10.4.8 | 0x20 | BVC-BLOCK
61| 10.4.6 | 0x28 | FLOW-CONTROL-MS
62| 10.4.2 | 0x2b | FLUSH-LL-ACK
63| 10.4.3 | 0x2c | LLC-DISCARDED
643+<| *PFM (packet flow management) SAP Messages:*
65| 10.4.16 | 0x50 | DOWNLOAD-BSS-PFC
66| 10.4.17 | 0x51 | CREATE-BSS-PFC
67| 10.4.18 | 0x52 | CREATE-BSS-PFC-ACK
68| 10.4.19 | 0x53 | CREATE-BSS-PFC-NACK
69| 10.4.20 | 0x54 | MODIFY-BSS-PFC
70| 10.4.21 | 0x55 | MODIFY-BSS-PFC-ACK
71| 10.4.22 | 0x56 | DELETE-BSS-PFC
72| 10.4.23 | 0x57 | DELETE-BSS-PFC-ACK
Harald Welteb682cd62016-02-29 15:09:55 +010073|===
74
75
76=== Details on Compliant BSSGP Messages
77
Maxb1776b62016-03-04 18:16:58 +010078[[dl_unit_data]]
79==== DL-UNITDATA
80
81This message conforms to 3GPP TS 08.18 § 10.2.1, with the following limitations: OsmoPCU does not support QoS,
82all optional IEs except for IMSI and old TLLI are ignored.
83
84._DL-UNITDATA_ IE limitations
85[options="header",cols="10%,30%,60%"]
86|===
87| TS 08.18 § | IE Name | Handling
88| 11.3.28 | QoS Profile | _ignored_
89| 11.3.22 | MS Radio Access Capability | _ignored_
90| 11.3.27 | Priority | _ignored_
91| 11.3.11 | DRX Parameters | _ignored_
92| 1.3.42 | PFI | _ignored_
93| 11.3.19 | LSA Information | _ignored_
94| 11.3.47 | Service UTRAN CCO | _ignored_
95|===
96
97[[ul_unit_data]]
98==== UL-UNITDATA
99
100This message conforms to 3GPP TS 08.18 § 10.2.2, with the following limitations:
101OsmoPCU does not send optional IEs - PFI (§ 12.3.42) and LSA Identifier List (§ 11.3.18).
102QoS Profile (§ 11.3.28) IE is always set to 0x04.
103
104[[ra_capab]]
105==== RA-CAPABILITY
106
107This message is received and logged but ignored by OsmoPCU at the moment.
108
109[[paging_ps]]
110==== PAGING PS
111
112This message conforms to 3GPP TS 08.18 § 10.3.1, with the following limitations:
113only IMSI and P-TMSI are parsed by OsmoPCU.
114
115._DL-UNITDATA_ IE limitations
116[options="header",cols="10%,30%,60%"]
117|===
118| TS 08.18 § | IE Name | Handling
119| 11.3.11 | DRX Parameters | _ignored_
120| 11.3.6 | BVCI | _ignored_
121| 11.3.17 | Location Are | _ignored_
122| 11.3.31 | Routeing Area | _ignored_
123| 11.3.3 | BSS Area Indication | _ignored_
124| 1.3.42 | PFI | _ignored_
125| 11.3.43 | ABQP | _ignored_
126| 11.3.28 | QoS Profile | _ignored_
127| 11.3.36 | P-TMSI | treated as mandatory (in case of absence paging with 0-length P-TMSI will be sent)
128|===
129
130
131[[paging_cs]]
132==== PAGING CS
133
134This message is received and logged but ignored by OsmoPCU at the moment.
135
136[[susp_ack]]
137==== SUSPEND-ACK
138
139This message is received and logged but ignored by OsmoPCU at the moment.
140
141[[susp_nack]]
142==== SUSPEND-NACK
143
144This message is received and logged but ignored by OsmoPCU at the moment.
145
146[[res_ack]]
147==== RESUME-ACK
148
149This message is received and logged but ignored by OsmoPCU at the moment.
150
151[[res_nack]]
152==== RESUME-NACK
153
154This message is received and logged but ignored by OsmoPCU at the moment.
155
156[[block_ack]]
157==== BVC-BLOCK-ACK
158
159This message is received and logged but ignored by OsmoPCU at the moment.
160
161[[bvc_reset]]
162==== BVC-RESET
163
164OsmoPCU never transmits optional Feature bitmap (3GPP TS 08.18 § 11.3.40) IE.
165Receiving BVC RESET will cause OsmoPCU to respond with "Unknown BVCI" status message.
166
167[[reset_ack]]
168==== BVC-RESET-ACK
169
170This message conforms to 3GPP TS 08.18 § 10.4.13.
171After receiving it OsmoPCU completes the RESET procedure for BVC according to 3GPP TS 08.18 § 8.4.
172
173[[unblock_ack]]
174==== BVC-UNBLOCK-ACK
175
176This message conforms to 3GPP TS 08.18 § 10.4.11.
177After receiving it OsmoPCU completes the RESET procedure for BVC according to 3GPP TS 08.18 § 8.3.
178
179[[bvc_unblock]]
180==== BVC-UNBLOCK
181
182This message conforms to 3GPP TS 08.18 § 10.4.10 and is send by OsmoPCU as part of UNBLOCK procedure
183described in 3GPP TS 08.18 § 8.3.
184
185[[flow_ms_ack]]
186==== FLOW-CONTROL-MS-ACK
187
188This message is received and logged but ignored by OsmoPCU at the moment.
189
190[[flow_bvc_ack]]
191==== FLOW-CONTROL-BVC-ACK
192
193This message is received and logged but ignored by OsmoPCU at the moment.
194
195[[flow_bvc]]
196==== FLOW-CONTROL-BVC
197
198This message conforms to 3GPP TS 08.18 § 10.4.4, with the following limitations:
199OsmoPCU does not support Current Bucket Level (CBL) feature so Bucket_Full Ratio (TS 08.18 § 11.3.46) IE
200is not transmitted as part of this message.
201
202[[flush_ll]]
203==== FLUSH-LL
204
205This message is received and logged but ignored by OsmoPCU at the moment.
206
207[[invoke_trace]]
208==== SGSN-INVOKE-TRACE
209
210This message is received and logged but ignored by OsmoPCU at the moment.
211
212[[bssgp_status]]
213==== STATUS
214
215This message conforms to 3GPP TS 08.18 § 10.4.14.
Harald Welteb682cd62016-02-29 15:09:55 +0100216
217=== Information Elements Overview
218
219All of the IEs handled by OsmoPCU are listed below, with limitations and
220additions to TS 08.18 specified in more detail.
221
222==== IEs Conforming to TS 08.18
223
224The following Information Elements are accepted by OsmoPCU. Not all IEs are
225actually evaluated.
226
227.IEs conforming to TS 08.18
228[options="header",cols="5%,10%,40%,5%,40%"]
229|===
230| tag (hex) | TS 08.18 § | IE name | <-/-> | Received/Sent by OsmoPCU
Maxb1776b62016-03-04 18:16:58 +0100231| 0x00 | 11.3.1 | Alignment Octets | <-/-> | Received/Sent
232| 0x01 | 11.3.2 | Bmax default MS | -> | Sent
233| 0x02 | 11.3.3 | BSS Area Indication | <- | Received
234| 0x03 | 11.3.4 | Bucket Leak Rate | -> | Sent
235| 0x04 | 11.3.6 | BVCI | <-/-> | Received/Sent
236| 0x05 | 11.3.5 | BVC Bucket Size | -> | Sent
237| 0x06 | 11.3.7 | BVC Measurement | -> | Sent
238| 0x07 | 11.3.8 | Cause | <-/-> | Received/Sent
239| 0x08 | 11.3.9 | Cell Identifier | -> | Sent
240| 0x09 | 11.3.10 | Channel needed | <- | Received
241| 0x0a | 11.3.11 | DRX Parameters | <- | Received
242| 0x0b | 11.3.12 | eMLPP-Priority | <- | Received
243| 0x0c | 11.3.13 | Flush Action | <- | Received
244| 0x0d | 11.3.14 | IMSI | <-/-> | Received/Sent
245| 0x0e | 11.3.15 | LLC-PDU | <-/-> | Received/Sent
246| 0x0f | 11.3.16 | LLC Frames Discarded | -> | Sent
247| 0x10 | 11.3.17 | Location Area | <- | Received
248| 0x11 | 11.3.20 | Mobile Id | <- | Received
249| 0x12 | 11.3.21 | MS Bucket Size | -> | Sent
250| 0x13 | 11.3.22 | MS Radio Access Capability | <- | Received
251| 0x14 | 11.3.23 | OMC Id | <- | Received
252| 0x15 | 11.3.24 | PDU In Error | <-/-> | Received/Sent
253| 0x16 | 11.3.25 | PDU Lifetime | <- | Received
254| 0x17 | 11.3.27 | Priority | <- | Received
255| 0x19 | 11.3.29 | Radio Cause | -> | Sent
256| 0x1a | 11.3.30 | RA-Cap-UPD-Cause | -> | Sent
257| 0x1b | 11.3.31 | Routeing Area | <-/-> | Received/Sent
258| 0x1c | 11.3.32 | R_default_MS | -> | Sent
259| 0x1d | 11.3.33 | Suspend Reference Number | <-/-> | Received/Sent
260| 0x1e | 11.3.34 | Tag | <-/-> | Received/Sent
261| 0x1f | 11.3.35 | TLLI | <-/-> | Received/Sent
262| 0x20 | 11.3.36 | TMSI | <-/-> | Received/Sent
263| 0x21 | 11.3.37 | Trace Reference | <- | Received
264| 0x22 | 11.3.38 | Trace Type | <- | Received
265| 0x23 | 11.3.39 | TransactionId | <- | Received
266| 0x24 | 11.3.40 | Trigger Id | <- | Received
267| 0x25 | 11.3.41 | Number of octets affected | -> | Sent
268| 0x26 | 11.3.18 | LSA Identifier List | -> | Sent
269| 0x27 | 11.3.19 | LSA Information | <- | Received
270| 0x28 | 11.3.42 | Packet Flow Identifier | <-/-> | Received/Sent
271| 0x3a | 11.3.43 | Aggregate BSS QoS Profile (ABQP) | <-/-> | Received/Sent
272| 0x3b | 11.3.45 | Feature Bitmap | <-/-> | Received/Sent
273| 0x3c | 11.3.46 | Bucket_Full Ratio | -> | Sent
274| 0x3d | 11.3.47 | Service UTRAN CCO (Cell Change Order) | <- | Received
Harald Welteb682cd62016-02-29 15:09:55 +0100275|===
276
277==== IEs Not Conforming to TS 08.18
278
279.IEs not conforming to TS 08.18
280[options="header",cols="5%,10%,30%,55%"]
281|===
282| tag (hex) | TS 08.18 § | IE name | Description
Harald Weltea27873f2016-03-10 12:35:09 +0700283| 0x18 | 11.3.28 | QoS Profile | Received value is ignored. Sent value is hard-coded to 0x4 (3 octets).
Harald Welteb682cd62016-02-29 15:09:55 +0100284|===
285
286==== Additional Attributes and Parameters
287
288There are no OsmoPCU specific additional Attributes and Parameters.
289
290=== Details on IEs
291
Maxb1776b62016-03-04 18:16:58 +0100292==== BSS Area Indication
293
294This IE is ignored by OsmoPCU.
295
296==== Bucket Leak Rate
297
298The value used by OsmoPCU for this IE can be set through configuration file or vty via
299"flow-control force-ms-leak-rate <1-6553500>" command.
300
301==== BVC Bucket Size
302
303The value used by OsmoPCU for this IE can be set through configuration file or vty via
304"flow-control force-bvc-bucket-size <1-6553500>" command.
305
306==== Channel needed
307
308This IE is ignored because entire message which contains it is ignored by OsmoPCU - see <<paging_cs>> for details.
309
310==== DRX Parameters
311
312This IE is ignored by OsmoPCU.
313
314==== eMLPP-Priority
315
316This IE is ignored because entire message which contains it is ignored by OsmoPCU - see <<paging_cs>> for details.
317
318==== Flush Action
319
320This IE is ignored because entire message which contains it is ignored by OsmoPCU - see <<flush_ll>> for details.
321
322==== LLC Frames Discarded
323
324This IE is not available because entire message which contains it (LLC-DISCARDED) is not implemented by
325OsmoPCU - see for <<not_impl>> details.
326
327==== Location Area
328
329This IE is ignored by OsmoPCU.
330
331==== Mobile Id
332
333This IE is ignored because entire message which contains it is ignored by OsmoPCU - see <<invoke_trace>> for details.
334
335==== MS Bucket Size
336
337The value used by OsmoPCU for this IE can be set through configuration file or vty via
338"flow-control force-ms-bucket-size <1-6553500>" command.
339
340==== MS Radio Access Capability
341
342This IE is ignored by OsmoPCU.
343
344==== OMC Id
345
346This IE is ignored because entire message which contains it is ignored by OsmoPCU - see <<invoke_trace>> for details.
347
348==== Priority
349
350This IE is ignored by OsmoPCU.
351
352==== QoS Profile
353
354No QoS is supported by OsmoPCU so this IE is ignored or safe default used when mandatory.
355
356==== Radio Cause
357
358This IE is not available because entire message which contains it (RADIO-STATUS) is not implemented by
359OsmoPCU - see for <<not_impl>> details.
360
361==== RA-Cap-UPD-Cause
362
363This IE is not available because entire message which contains it (RA-CAPABILITY-UPDATE-ACK) is not implemented by
364OsmoPCU - see for <<not_impl>> details.
365
366==== Routeing Area
367
368This IE is ignored by OsmoPCU upon receiving.
369The messages which might require this IE to be send are not implemented by OsmoPCU - see for <<not_impl>> details.
370
371==== Suspend Reference Number
372
373This IE is ignored by OsmoPCU upon receiving.
374The messages which might require this IE to be send are not implemented by OsmoPCU - see for <<not_impl>> details.
375
376==== Tag
377
378This IE currently only used by OsmoPCU for Flow Control procedure (TS 08.18 § 8.2). In other cases it's either ignored or unavailable.
379
380==== Trace Reference
381
382This IE is ignored because entire message which contains it is ignored by OsmoPCU - see <<invoke_trace>> for details.
383
384==== Trace Type
385
386This IE is ignored because entire message which contains it is ignored by OsmoPCU - see <<invoke_trace>> for details.
387
388==== TransactionId
389
390This IE is ignored because entire message which contains it is ignored by OsmoPCU - see <<invoke_trace>> for details.
391
392==== Trigger Id
393
394This IE is ignored because entire message which contains it is ignored by OsmoPCU - see <<invoke_trace>> for details.
395
396==== Number of octets affected
397
398This IE is not available because the messages which contains it (FLUSH-LL-ACK and LLC-DISCARDE) are not implemented by
399OsmoPCU - see for <<not_impl>> details.
400
401==== LSA Information
402
403This IE is ignored by OsmoPCU.
404
405==== LSA Identifier List
406
407This IE is not implemented by OsmoPCU.
408
409==== Packet Flow Identifier
410
411This IE is ignored by OsmoPCU upon receiving.
412The messages which might require this IE to be send are not implemented by OsmoPCU - see for <<not_impl>> details.
413
414==== Aggregate BSS QoS Profile (ABQP)
415
416This IE is ignored by OsmoPCU upon receiving.
417The messages which might require this IE to be send are not implemented by OsmoPCU - see for <<not_impl>> details.
418
419==== Feature Bitmap
420
421This IE is not implemented by OsmoPCU.
422This IE is ignored by OsmoPCU when received.
423Absence of Feature Bitmap automatically disables optional features for Network Service Entity (NSE) communicating with OsmoPCU.
424
425==== Bucket_Full Ratio
426
427This IE is not implemented by OsmoPCU.
428
429==== Service UTRAN CCO (Cell Change Order)
430
431This IE is ignored by OsmoPCU.
Harald Welteb682cd62016-02-29 15:09:55 +0100432
433=== Gb BSSGP Initialization / PCU bring-up
434
Maxb1776b62016-03-04 18:16:58 +0100435The BSSGP initialization directly follows NS connection establishment described in <<ns_init>>.
436OsmoPCU allocates BVC context for BVCI given by OsmoBTS which in turn gets it from OpenBSC.
437In addition to BVCI identifying OsmoPCU side of BSSGP connection there is also special BVCI which is accepted by OsmoPCU
438in accordance with TS 08.18 § 5.4.1: BVCI = 0 represents signaling data between SGSN and PCU in contrast
439to PTP (Peer-To-Peer) user's data.
440The mapping between BSSGP PDUs and signaling or PTP BVCIs is available in TS 08.18 Table 5.4.