Project

General

Profile

README.txt

msuraev, 08/13/2016 10:43 AM

 
1
=======================================
2
EGPRS and Multi-TRX Setup and Operation
3
=======================================
4

    
5
The following applications must be built, configured, and installed for EGPRS
6
support using the Osmocom stack and USRP radio device.
7

    
8
  1. openggsn
9
  2. osmo-sgsn
10
  3. openbsc (osmo-nitb)
11
  4. osmo-pcu
12
  5. osmo-bts
13
  6. osmo-trx
14

    
15
Operational notes are below.
16

    
17
  1. EGPRS and Multi-TRX Build
18
  2. EGPRS Configuration and Run
19
  3. Multi-TRX Configuration and Run
20

    
21

    
22

    
23
----------------------------
24
1. EGPRS and Multi-TRX Build
25
----------------------------
26

    
27
* openggsn *
28

    
29
Standard install.
30

    
31
  $ git clone git://git.osmocom.org/openggsn
32
  $ cd openggsn
33
  $ autoreconf -i
34
  $ ./configure
35
  $ make
36
  $ sudo make install
37

    
38

    
39
* openbsc *
40

    
41
Standard install and includes osmo-sgsn. Make sure that dependency c-ares and
42
gtp and libraries are detected. Otherwise, osmo-sgsn will not be built and
43
installed.
44

    
45
  $ git clone git://git.osmocom.org/openbsc
46
  $ cd openbsc
47
  $ autoreconf -i
48
  $ ./configure
49
  $ make
50
  $ sudo make install
51

    
52

    
53
* osmo-bts *
54

    
55
Non-standard install. OsmoBTS requires the EGPRS branch, which is not yet
56
merged into mainline. OsmoTRX also needs to be enabled at build time using
57
'--enable-trx'.
58

    
59
  $ git clone -b ttsou/egprs git://git.osmocom.org/osmo-bts 
60
  $ cd osmo-bts
61
  $ autoreconf -i
62
  $ ./configure --enable-trx
63
  $ make
64
  $ sudo make install
65

    
66

    
67
* osmo-pcu *
68

    
69
Standard install.
70

    
71
  $ git clone git//git.osmocom.org/osmo-pcu
72
  $ cd osmo-pcu
73
  $ autoreconf -i
74
  $ ./configure
75
  $ make
76
  $ sudo make install
77

    
78

    
79
* osmo-trx *
80

    
81
Standard install.
82

    
83
  $ git clone git//git.osmocom.org/osmo-trx
84
  $ cd osmo-trx
85
  $ autoreconf -i
86
  $ ./configure
87
  $ make
88
  $ sudo make install
89

    
90

    
91

    
92

    
93
--------------------------
94
2. EGPRS Configure and Run
95
--------------------------
96

    
97
* openbsc *
98

    
99
EGPRS support needs to be enabled in the OpenBSC configuration. The following
100
configuration sets up 1 transceiver with 6 PDCH channels and 1 full rate TCH
101
channel.
102

    
103
  openbsc.cfg
104
  --------------
105
  ! gprs section
106
  gprs mode egprs
107

    
108
  ! trx section
109
  trx 0
110
   rf_locked 0
111
   arfcn 51
112
   nominal power 0
113
   max_power_red 0
114
   rsl e1 tei 0
115
    timeslot 0
116
     phys_chan_config CCCH+SDCCH4
117
     hopping enabled 0
118
    timeslot 1
119
     phys_chan_config PDCH
120
    timeslot 2
121
     phys_chan_config PDCH
122
    timeslot 3
123
     phys_chan_config PDCH
124
    timeslot 4
125
     phys_chan_config PDCH
126
    timeslot 5
127
     phys_chan_config PDCH
128
    timeslot 6
129
     phys_chan_config PDCH
130
    timeslot 7
131
     phys_chan_config TCH/F
132

    
133
To run OpenBSC, start the osmo-nitb application.
134

    
135
  $ osmo-nitb -c openbsc.cfg
136

    
137

    
138
* osmo-bts *
139

    
140
There is no EGPRS or GPRS specific configuration in OsmoBTS. Start OsmoBTS with
141
the configuration file.
142

    
143
  $ osmo-bts-trx -c osmo-bts.cfg
144

    
145
 
146
* osmo-trx *
147

    
148
OsmoTRX needs to be configured from the command line to enable EGPRS modulation
149
support. The following command enables EDGE with additional options as described
150
below. There is no configuration file for OsmoTRX.
151

    
152
  $ sudo osmo-trx -e -l INFO -g
153

    
154
    -e         EDGE 8-PSK support
155
    -l INFO    Logging level INFO
156
    -g         GPS frequency reference
157

    
158

    
159
* osmo-pcu *
160

    
161
OsmoPCU configuration file needs to be modified for EGPRS. The following
162
lines enable EGPRS and MCS-4 and MCS-9 on the downlink and uplink respectively.
163

    
164
  osmo-pcu.cfg
165
  ------------
166
  pcu
167
   egprs only
168
    mcs 4 9
169

    
170
Start OsmoPCU from the command line with the configuration file.
171

    
172
  $ sudo osmo-pcu osmo-pcu.cfg
173

    
174

    
175
* osmo-sgsn *
176

    
177
There is no EGPRS or GPRS specific configuration for the SGSN.
178

    
179
  $ osmo-sgsn -c osmo-sgsn.cfg
180

    
181

    
182
* openggsn *
183

    
184
There is no EGPRS or GPRS specific configuration for the GGSN. The '-f' and '-d'
185
options set foreground operation and debug output respectively.
186

    
187
  $ sudo /usr/local/bin/ggsn -c ggsn.conf -f -d 
188

    
189

    
190

    
191

    
192
----------------------------------
193
3. Multi-TRX Configuration and Run
194
----------------------------------
195

    
196
* openbsc *
197

    
198
OpenBSC configuration file needs modification for multi-TRX operation. The
199
following TRX configuration sets up 3 transceivers with PDCH channels and a few
200
full rate TCH channels.
201

    
202
Important:
203

    
204
ARFCN values for trx 1 and 2 must be exactly 4 and 8 GSM channels higher than
205
the base frequency on trx 0. Because all channels are multiplexed onto a single
206
physical RF carrier, multi-TRX spacing between channels is 800 kHz and is not
207
configurable.
208

    
209
  openbsc-mc.cfg
210
  --------------
211
  trx 0
212
   rf_locked 0
213
   arfcn 51
214
   nominal power 0
215
   max_power_red 0
216
   rsl e1 tei 0
217
    timeslot 0
218
     phys_chan_config CCCH+SDCCH4
219
     hopping enabled 0
220
    timeslot 1
221
     phys_chan_config PDCH
222
    timeslot 2
223
     phys_chan_config PDCH
224
    timeslot 3
225
     phys_chan_config PDCH
226
    timeslot 4
227
     phys_chan_config PDCH
228
    timeslot 5
229
     phys_chan_config PDCH
230
    timeslot 6
231
     phys_chan_config PDCH
232
    timeslot 7
233
     phys_chan_config PDCH
234
  trx 1
235
   rf_locked 0
236
   arfcn 55
237
   nominal power 0
238
   max_power_red 0
239
   rsl e1 tei 0
240
    timeslot 0
241
     phys_chan_config PDCH
242
    timeslot 1
243
     phys_chan_config PDCH
244
    timeslot 2
245
     phys_chan_config PDCH
246
    timeslot 3
247
     phys_chan_config PDCH
248
    timeslot 4
249
     phys_chan_config PDCH
250
    timeslot 5
251
     phys_chan_config PDCH
252
    timeslot 6
253
     phys_chan_config PDCH
254
    timeslot 7
255
     phys_chan_config TCH/F
256
  trx 2
257
   rf_locked 0
258
   arfcn 59
259
   nominal power 0
260
   max_power_red 0
261
   rsl e1 tei 0
262
    timeslot 0
263
     phys_chan_config PDCH
264
    timeslot 1
265
     phys_chan_config PDCH
266
    timeslot 2
267
     phys_chan_config PDCH
268
    timeslot 3
269
     phys_chan_config PDCH
270
    timeslot 4
271
     phys_chan_config PDCH
272
    timeslot 5
273
     phys_chan_config PDCH
274
    timeslot 6
275
     phys_chan_config PDCH
276
    timeslot 7
277
     phys_chan_config TCH/F
278

    
279
To run OpenBSC with multi-TRX, start the osmo-nitb application normally.
280

    
281
  $ osmo-nitb -c openbsc.cfg
282

    
283

    
284
* osmo-bts *
285

    
286
OsmoBTS configuration file and command line change for multi-TRX operation. In
287
the configuration file, note the additional phy instance and trx lines.
288

    
289
  osmo-bts-mc.cfg
290
  ---------------
291
  phy 0
292
   instance 0
293
   instance 1
294
   instance 2
295
   osmotrx rx-gain 25
296
 
297
  bts 0
298
   band 900
299
   ipa unit-id 1234 0
300
   oml remote-ip 127.0.0.1
301
   settsc
302
   gsmtap-sapi ccch
303
   gsmtap-sapi pdtch
304
   trx 0
305
    phy 0 instance 0
306
   trx 1
307
    phy 0 instance 1
308
   trx 2
309
    phy 0 instance 2
310

    
311
The number of transceiver instances must also be specified on the command line.
312

    
313
  $ osmo-bts-trx -c osmo-bts-mc.cfg -t 3
314

    
315

    
316
* osmo-trx *
317

    
318
OsmoTRX needs to be configured from the command line for multi-TRX operation.
319
The following command enables multi-TRX and EDGE with additional options as
320
shown below.
321

    
322
  $ sudo osmo-trx -m -c 3 -e -l INFO -g
323

    
324
    -m         Multi-TRX
325
    -c 3       3 ARFCN channels
326
    -e         EDGE 8-PSK support
327
    -l INFO    Logging level INFO
328
    -g         GPS frequency reference
329

    
330

    
331
* osmo-pcu *
332

    
333
No change from single carrier operation.
334

    
335

    
336
* osmo-ggsn *
337

    
338
No change from single carrier operation.
339

    
340

    
341
* openggsn *
342

    
343
No change from single carrier operation.
Add picture from clipboard (Maximum size: 48.8 MB)