Project

General

Profile

Multi-BTS with handover » History » Version 7

Anonymous, 02/19/2016 10:48 PM

1 1
[[PageOutline]]
2 3
== Configuring OpenBSC with muiltiple BTS and in-call handover ==
3 1
4 3
=== Prerequisites ===
5 1
6 7
It is assumed that you already have a functioning BSC/NITB, and two or more BTS available.
7 3
8 1
Note that if you are using BTS based on OsmoBTS/OsmoTRX handover requires:
9
10
* osmo-bts package version >= fw-5 (this [http://cgit.osmocom.org/osmo-bts/commit/?h=fairwaves/master&id=a6ad0b44ae45a2fd51b6a55507e8295605431e92 fix] is included)
11
* osmo-trx package version >= 0.2.0 (this [http://cgit.osmocom.org/osmo-trx/commit/?h=fairwaves/master&id=19c392df82fe7acd303e4340059c87c432623881 patch] is included)
12
13
=== Example network architecture ===
14
15 7
In this example we have one system running the BSC/NITB software and two BTS that are built on the [wiki:OsmoBTS] software.
16 1
17
{{{
18
#!graphviz
19
digraph G {
20
  rankdir = LR;
21
  BSC -> BTS0 [ label = "A-bis" dir=both ];
22
  BSC -> BTS1 [ label = "A-bis" dir=both ];
23
  BSC [ shape = square label = "BSC\n172.30.1.10" ];
24
  BTS0 [ shape = square label = "BTS 0\n172.30.1.11" ];
25
  BTS1 [ shape = square label = "BTS 1\n172.30.1.12" ];
26
  }
27
}}}
28
29
=== BTS configuration ===
30
31 3
There are three OsmoBTS parameters in particular which must be correctly configured:
32 1
33 3
* '''band''' - the band in which the BTS will operate
34 1
* '''ipa unit-id''' - each BTS must use a unique value
35
* '''oml remote-ip''' - this is the BSC IP address
36
37
The example configuration that follows is for two BTS both on the GSM900 band.
38
39
==== BTS 0 ====
40
41 3
Find the aforementioned parameters and ensure that they are correctly set.
42
43 1
{{{
44
bts 0
45
 band GSM900
46
 ipa unit-id 1801 0
47 3
 oml remote-ip 172.30.1.10
48
 ...
49
}}}
50
51
==== BTS 1 ====
52
53
Ensure that the second BTS has a different '''ipa unit-id''' configured from the first.
54
55
{{{
56
bts 1
57
 band GSM900
58
 ipa unit-id 1802 0
59
 oml remote-ip 172.30.1.10
60
 ...
61
}}}
62
63
=== BSC configuration ===
64
65 7
There are a number of BSC/NITB parameters that you must pay particular attention to:
66 3
67
* '''BTS ''n'''
68
   * '''band''' - as configured in the BTS
69
   * '''base_station_id_code''' - should be unique in location area
70
   * '''ip.access unit_id''' - as configured in the BTS
71
   * '''trx ''n''
72 5
      * '''arfcn''' - this must be frequencies that you have a licence for and unique across all neighbouring BTS
73 3
* '''neighbor-list mode automatic'''
74
75 7
Configure the first BTS within the BSC/NITB, ensuring that you have set the correct '''band''' and '''ip.access unit_id''', and an appropriate '''arfcn''' for each TRX.
76 3
77
{{{
78
bts 0
79
  ...
80
  band GSM900
81
  ...
82
  base_station_id_code 63
83
  ...
84
  ip.access unit_id 1801 0
85
  ...
86
  neighbor-list mode automatic
87
  ...
88
  trx 0
89
   rf_locked 0
90
   arfcn 74
91
   ...
92
  trx 1
93
   rf_locked 0
94
   arfcn 84
95
   ...
96
}}}
97
98 4 ipse
Next configure the second BTS, ensuring that a different '''base_station_id_code''' is used this time, once again the correct '''ip.access unit_id''' is set, and an appropriate '''arfcn''' for each TRX:
99 3
100
{{{
101
bts 1
102
  ...
103
  band GSM900
104
  ...
105
  base_station_id_code 62
106
  ...
107
  ip.access unit_id 1802 0
108
  ...
109
  neighbor-list mode automatic
110
  ...
111
  trx 0
112
   rf_locked 0
113
   arfcn 111
114
   ...
115
  trx 1
116
   rf_locked 0
117 1
   arfcn 122
118 3
   ...
119
}}}
120
121 4 ipse
For details of all the configuration options please see the [wiki:osmo-nitb_VTY NITB VTY reference].
122 3
123
==== Handover ====
124
125
The following parameters must also be configured in order to enable handover:
126
127
* '''handover 1'''
128
   * ''Enable in-call handover between multiple BTS.''
129
130
* '''handover window rxlev averaging 10'''
131
   * ''The receive level of the serving cell should be averaged over 10 SACCH frames.''
132
133
* '''handover window rxqual averaging 1'''
134
   * ''The receive quality of the serving cell should be averaged over 1 SACCH frame.''
135
136
* '''handover window rxlev neighbor averaging 10'''
137
   * ''The Rx Level of a neighbour cell should be averaged over 10 SACCH frames.''
138
139
* '''handover power budget interval 6'''
140
   * ''Consider performing a power budget (Rx level) handover every 6 SACCH frames.''
141
142
* '''handover power budget hysteresis 3'''
143
   * ''Set hysteresis (prevents continuous handover back and forth) to 3.''
144
145
* '''handover maximum distance 9999'''
146
   * ''When the distance from the BTS is greater than 9999 attempt a distance handover.''
147
148 7
These parameters must be set within the '''network''' section of the BSC/NITB configuration: 
149 3
150
{{{
151
network
152
 network country code 1
153
 ...
154
 handover 1
155
 handover window rxlev averaging 10
156
 handover window rxqual averaging 1
157
 handover window rxlev neighbor averaging 10
158
 handover power budget interval 6
159
 handover power budget hysteresis 3
160
 handover maximum distance 9999
161
}}}
162
163
Values can be tuned to modify the behaviour of handover.
164
165
=== Complete configurations ===
166
167 7
Complete example configs are included here for reference only and should not be used without modification, unless you happen to have a licence for those particular frequencies.
168 3
169
==== BTS 0 ====
170
171
{{{
172
bts 0
173
 band GSM900
174
 ipa unit-id 1801 0
175
 oml remote-ip 172.30.1.10
176 1
 rtp jitter-buffer 0
177
 paging lifetime 0
178
 gsmtap-sapi bcch
179
 gsmtap-sapi ccch
180
 gsmtap-sapi rach
181
 gsmtap-sapi agch
182
 gsmtap-sapi pch
183
 gsmtap-sapi sdcch
184
 gsmtap-sapi pacch
185
 gsmtap-sapi pdtch
186
 gsmtap-sapi sacch
187
 fn-advance 20
188
 ms-power-loop -10
189
 timing-advance-loop
190
 trx 0
191
  rxgain 12
192
  power 0
193
 trx 1
194
  rxgain 12
195
  power 0
196
}}}
197
198
==== BTS 1 ====
199
200
{{{
201
bts 1
202
 band GSM900
203
 ipa unit-id 1802 0
204 3
 oml remote-ip 172.30.1.10
205 1
 rtp jitter-buffer 0
206
 paging lifetime 0
207
 gsmtap-sapi bcch
208
 gsmtap-sapi ccch
209
 gsmtap-sapi rach
210
 gsmtap-sapi agch
211
 gsmtap-sapi pch
212
 gsmtap-sapi sdcch
213
 gsmtap-sapi pacch
214
 gsmtap-sapi pdtch
215
 gsmtap-sapi sacch
216
 fn-advance 20
217
 ms-power-loop -10
218
 timing-advance-loop
219
 trx 0
220
  rxgain 12
221
  power 0
222
 trx 1
223
  rxgain 12
224
  power 0
225
}}}
226
227
==== OpenBSC NITB ====
228 7
229
Note that whilst this configuration is for NITB operation, the updates describe above could equally be applied to OpenBSC configured in BSC-only mode and with an external MSC etc.
230 1
231
{{{
232
!
233
! OpenBSC (UNKNOWN) configuration saved from vty
234
!!
235
password foo
236
!
237
line vty
238
 no login
239
!
240
e1_input
241
 e1_line 0 driver ipa
242
 e1_line 0 port 0
243
 no e1_line 0 keepalive
244
network
245
 network country code 1
246
 mobile network code 1
247
 short name Osmocom
248
 long name Osmocom
249
 auth policy accept-all
250
 location updating reject cause 13
251
 encryption a5 0
252
 neci 1
253
 paging any use tch 0
254
 rrlp mode none
255
 mm info 1
256
 handover 1
257
 handover window rxlev averaging 10
258
 handover window rxqual averaging 1
259
 handover window rxlev neighbor averaging 10
260
 handover power budget interval 6
261
 handover power budget hysteresis 3
262
 handover maximum distance 9999
263
 timer t3101 10
264
 timer t3103 0
265
 timer t3105 0
266
 timer t3107 0
267
 timer t3109 4
268
 timer t3111 0
269
 timer t3113 60
270
 timer t3115 0
271
 timer t3117 0
272
 timer t3119 0
273
 timer t3122 10
274
 timer t3141 0
275
 dtx-used 0
276
 subscriber-keep-in-ram 0
277
 bts 0
278
  type sysmobts
279
  band GSM900
280
  cell_identity 0
281
  location_area_code 1
282
  base_station_id_code 63
283
  ms max power 15
284
  cell reselection hysteresis 4
285
  rxlev access min 0
286
  periodic location update 30
287
  radio-link-timeout 32
288
  channel allocator ascending
289
  rach tx integer 9
290
  rach max transmission 7
291
  channel-descrption attach 1
292
  channel-descrption bs-pa-mfrms 5
293
  channel-descrption bs-ag-blks-res 1
294
  ip.access unit_id 1801 0
295
  oml ip.access stream_id 255 line 0
296
  neighbor-list mode automatic
297
  gprs mode none
298
  no force-combined-si
299
  trx 0
300
   rf_locked 0
301
   arfcn 74
302
   nominal power 23
303
   max_power_red 0
304
   rsl e1 tei 0
305
    timeslot 0
306
     phys_chan_config CCCH+SDCCH4
307
     hopping enabled 0
308
    timeslot 1
309
     phys_chan_config SDCCH8
310
     hopping enabled 0
311
    timeslot 2
312
     phys_chan_config TCH/F
313
     hopping enabled 0
314
    timeslot 3
315
     phys_chan_config TCH/F
316
     hopping enabled 0
317
    timeslot 4
318
     phys_chan_config TCH/F
319
     hopping enabled 0
320
    timeslot 5
321
     phys_chan_config TCH/F
322
     hopping enabled 0
323
    timeslot 6
324
     phys_chan_config TCH/F
325
     hopping enabled 0
326
    timeslot 7
327
     phys_chan_config TCH/F
328
     hopping enabled 0
329
  trx 1
330
   rf_locked 0
331
   arfcn 84
332
   nominal power 23
333
   max_power_red 0
334
   rsl e1 tei 0
335
    timeslot 0
336
     phys_chan_config TCH/F
337
     hopping enabled 0
338
    timeslot 1
339
     phys_chan_config TCH/F
340
     hopping enabled 0
341
    timeslot 2
342
     phys_chan_config TCH/F
343
     hopping enabled 0
344
    timeslot 3
345
     phys_chan_config TCH/F
346
     hopping enabled 0
347
    timeslot 4
348
     phys_chan_config TCH/F
349
     hopping enabled 0
350
    timeslot 5
351
     phys_chan_config TCH/F
352
     hopping enabled 0
353
    timeslot 6
354
     phys_chan_config TCH/F
355
     hopping enabled 0
356
    timeslot 7
357
     phys_chan_config TCH/F
358
     hopping enabled 0
359
 bts 1
360
  type sysmobts
361
  band GSM900
362
  cell_identity 0
363
  location_area_code 1
364
  base_station_id_code 62
365
  ms max power 15
366
  cell reselection hysteresis 4
367
  rxlev access min 0
368
  periodic location update 30
369
  radio-link-timeout 32
370
  channel allocator ascending
371
  rach tx integer 9
372
  rach max transmission 7
373
  channel-descrption attach 1
374
  channel-descrption bs-pa-mfrms 5
375
  channel-descrption bs-ag-blks-res 1
376
  ip.access unit_id 1802 0
377
  oml ip.access stream_id 255 line 0
378
  neighbor-list mode automatic
379
  gprs mode none
380
  no force-combined-si
381
  trx 0
382
   rf_locked 0
383
   arfcn 111
384
   nominal power 23
385
   max_power_red 0
386
   rsl e1 tei 0
387
    timeslot 0
388
     phys_chan_config CCCH+SDCCH4
389
     hopping enabled 0
390
    timeslot 1
391
     phys_chan_config SDCCH8
392
     hopping enabled 0
393
    timeslot 2
394
     phys_chan_config TCH/F
395
     hopping enabled 0
396
    timeslot 3
397
     phys_chan_config TCH/F
398
     hopping enabled 0
399
    timeslot 4
400
     phys_chan_config TCH/F
401
     hopping enabled 0
402
    timeslot 5
403
     phys_chan_config TCH/F
404
     hopping enabled 0
405
    timeslot 6
406
     phys_chan_config TCH/F
407
     hopping enabled 0
408
    timeslot 7
409
     phys_chan_config TCH/F
410
     hopping enabled 0
411
  trx 1
412
   rf_locked 0
413
   arfcn 122
414
   nominal power 23
415
   max_power_red 0
416
   rsl e1 tei 0
417
    timeslot 0
418
     phys_chan_config TCH/F
419
     hopping enabled 0
420
    timeslot 1
421
     phys_chan_config TCH/F
422
     hopping enabled 0
423
    timeslot 2
424
     phys_chan_config TCH/F
425
     hopping enabled 0
426
    timeslot 3
427 2
     phys_chan_config TCH/F
428 1
     hopping enabled 0
429
    timeslot 4
430
     phys_chan_config TCH/F
431
     hopping enabled 0
432
    timeslot 5
433
     phys_chan_config TCH/F
434
     hopping enabled 0
435
    timeslot 6
436
     phys_chan_config TCH/F
437
     hopping enabled 0
438
    timeslot 7
439
     phys_chan_config TCH/F
440
     hopping enabled 0
441
}}}
Add picture from clipboard (Maximum size: 48.8 MB)