Project

General

Profile

Nokia Site family » History » Version 6

csaba, 02/19/2016 10:47 PM

1 1 csaba
OpenBSC is currently supporting the Site family of Nokia BTSes.
2 1 csaba
3 1 csaba
'''Things that work:'''
4 1 csaba
5 1 csaba
 - Nokia InSite and MetroSite units are proven to be working, UltraSite is probably working
6 2 csaba
 - Full Rate and Enhanced Full Rate voice calls (MO & MT)
7 1 csaba
 - SMS (MO & MT)
8 1 csaba
 - Cell reselection
9 2 csaba
 - Handover (please see this patch: [http://cgit.osmocom.org/openbsc/commit/?id=7d8fa3418ff6c589eba10e562da8b96995e19f7a] )
10 1 csaba
11 6 csaba
'''Things that do not work:'''
12 6 csaba
13 6 csaba
 - HR calls (the TRAU framer for E1 is only implementing 16kbit channels, HR needs 8kbit)
14 6 csaba
 - GPRS, EDGE (no E1 based PCU implementation, probably never will)
15 6 csaba
16 1 csaba
'''Handover:'''
17 1 csaba
18 1 csaba
The OpenBSC side of the handover logic works quiet well. But at the moment, there is a slight problem with the Nokia units. The handover decision is made correctly, the GSM phone is commanded to switch to the new channel on the new BTS, which the phone does. But despite the channel release is sent, the old channel never get released, and this leads to a Radio Link Failure.
19 2 csaba
20 2 csaba
Update: it seems that the root cause of the previous handover failure is that the InSite BTSes (probably others too) are not sending the channel release ACK to the BSC after the old channel release is requested by the BSC. Andreas Eversberg added a patch which overcomes this problem by implicating the missing ACK, so the BSC can continue and finish the handover process. This can be enbaled by adding the next line to the BTS part of the config file:
21 2 csaba
22 2 csaba
{{{
23 2 csaba
nokia_site no-local-rel-conf 1
24 2 csaba
}}}
25 2 csaba
26 2 csaba
This fix is tested on Nokia InSite and MetroSite units, all of them are performing handovers normally.
27 2 csaba
28 2 csaba
For more info, please see this patch: [http://cgit.osmocom.org/openbsc/commit/?id=7d8fa3418ff6c589eba10e562da8b96995e19f7a]
29 1 csaba
30 1 csaba
'''E1 cards:'''
31 1 csaba
32 1 csaba
The original Nokia support was written for HFC-E1 and mISDN. The Site can only be interfaced via traditional E1 lines (no IP ABIS support for these old units). It is also possible to use a DAHDI card to interface with the BTS. For this you have to use the following configuration in /etc/dahdi/system.conf:
33 1 csaba
34 1 csaba
{{{
35 1 csaba
span=1,0,0,ccs,hdb3,crc4	
36 1 csaba
bchan=1-31
37 1 csaba
}}}
38 1 csaba
39 1 csaba
Unlike in traditional E1 communication, we are using CCS signalling. For every signalling and traffic channel between the BTS and the BSC, we are using dedicated timeslots. Because of that, we are no longer need any shared signalling channel on the E1 line (e.g. D channel on timeslot 16.
40 1 csaba
41 1 csaba
'''Example config file for an 1800MHz Nokia InSite unit:'''
42 1 csaba
43 1 csaba
44 1 csaba
{{{
45 1 csaba
!
46 1 csaba
! OpenBSC configuration saved from vty
47 1 csaba
!   !
48 1 csaba
password foo
49 1 csaba
!
50 1 csaba
line vty
51 1 csaba
 no login
52 1 csaba
!
53 1 csaba
e1_input
54 1 csaba
 e1_line 0 driver dahdi
55 1 csaba
 # e1_line 0 port 0
56 1 csaba
 log file /root/900_nokia.log
57 1 csaba
 logging filter all 1
58 1 csaba
 logging color 1
59 1 csaba
 logging timestamp 1
60 1 csaba
 
61 1 csaba
network
62 1 csaba
 network country code 1
63 1 csaba
 mobile network code 1
64 1 csaba
 short name OpenBSC
65 1 csaba
 long name OpenBSC 
66 1 csaba
 neci 0
67 1 csaba
 rrlp mode none
68 1 csaba
 mm info 1
69 1 csaba
 handover 0
70 1 csaba
 handover window rxlev averaging 5
71 1 csaba
 handover window rxqual averaging 1
72 1 csaba
 handover window rxlev neighbor averaging 5
73 1 csaba
 handover power budget interval 6
74 1 csaba
 handover power budget hysteresis 3
75 1 csaba
 handover maximum distance 9999
76 1 csaba
 timer t3101 3
77 1 csaba
 timer t3103 5
78 1 csaba
 timer t3105 20
79 1 csaba
 timer t3107 10
80 1 csaba
 timer t3109 15
81 1 csaba
 timer t3111 2
82 1 csaba
 timer t3113 10
83 1 csaba
 timer t3115 0
84 1 csaba
 timer t3117 0
85 1 csaba
 timer t3119 0
86 1 csaba
 timer t3141 0
87 1 csaba
 timer t3122 10
88 1 csaba
89 1 csaba
 bts 0
90 1 csaba
  type nokia_site
91 1 csaba
  band GSM1800
92 1 csaba
  cell_identity 1
93 1 csaba
  location_area_code 1
94 1 csaba
  base_station_id_code 63
95 1 csaba
  training_sequence_code 7
96 1 csaba
  ms max power 12
97 1 csaba
  cell reselection hysteresis 4
98 1 csaba
  periodic location update 10
99 1 csaba
  nokia_site skip-reset 0
100 3 csaba
  nokia_site no-local-rel-conf 1
101 1 csaba
  
102 1 csaba
  oml e1 line 0 timeslot 8 sub-slot full
103 1 csaba
  oml e1 tei 1
104 1 csaba
  
105 1 csaba
  trx 0
106 1 csaba
   arfcn 885
107 1 csaba
   nominal power 18
108 1 csaba
   max_power_red 10
109 1 csaba
   rsl e1 line 0 timeslot 7 sub-slot full
110 1 csaba
   rsl e1 tei 1
111 1 csaba
112 1 csaba
113 1 csaba
    timeslot 0
114 1 csaba
     phys_chan_config CCCH+SDCCH4
115 1 csaba
     e1 line 0 timeslot 5 sub-slot 0
116 1 csaba
117 1 csaba
    timeslot 1
118 1 csaba
     phys_chan_config SDCCH8
119 1 csaba
     e1 line 0 timeslot 5 sub-slot 1
120 1 csaba
121 1 csaba
    timeslot 2
122 1 csaba
     phys_chan_config TCH/F
123 1 csaba
     e1 line 0 timeslot 5 sub-slot 2
124 1 csaba
125 1 csaba
    timeslot 3
126 1 csaba
     phys_chan_config TCH/F
127 1 csaba
     e1 line 0 timeslot 5 sub-slot 3
128 1 csaba
129 1 csaba
    timeslot 4
130 1 csaba
     phys_chan_config TCH/F
131 1 csaba
     e1 line 0 timeslot 6 sub-slot 0
132 1 csaba
133 1 csaba
    timeslot 5
134 1 csaba
     phys_chan_config TCH/F
135 1 csaba
     e1 line 0 timeslot 6 sub-slot 1
136 1 csaba
137 1 csaba
    timeslot 6
138 1 csaba
     phys_chan_config TCH/F
139 1 csaba
     e1 line 0 timeslot 6 sub-slot 2
140 1 csaba
141 1 csaba
    timeslot 7
142 1 csaba
     phys_chan_config TCH/F
143 1 csaba
     e1 line 0 timeslot 6 sub-slot 3
144 1 csaba
145 1 csaba
}}}
146 1 csaba
147 1 csaba
'''LMP cable pinout for InSite units:'''
148 1 csaba
149 1 csaba
'''LMP cable pinout for MetroSite units:'''
150 1 csaba
151 1 csaba
'''Tips and tricks for Site family and OpenBSC:'''
152 4 csaba
153 4 csaba
'''RESET Timer:'''
154 4 csaba
155 4 csaba
The Nokia part of the OpenBSC code contains a fixed reset timer, which is set to 15 seconds by default. Every time you start a BTS, OpenBSC first resets (actually restarts) the unit, and only configures and starts the BTS after that. The reason behind this, is if you change the radio parameters of the BTS (ARFCN, CID, BSIC, TSC, TX power etc.), these parameters are not going to change on the BTS if this resets is skipped.
156 4 csaba
157 4 csaba
This 15 seconds is working well in general, but in some cases you need to raise this parameter (eg. to force OpenBSC to wait more for the BTS to restart). For example: if you use more than one unit on the same E1 (InSite units daisy chained via the internal HDSL interface), or MetroSite units daisy chained via the E1 cross connector TRE unit.
158 4 csaba
159 4 csaba
This parameter can be modified in the source code of OpenBSC at openbsc/openbsc/src/libbsc/bts_nokia_site.c
160 4 csaba
161 4 csaba
{{{
162 4 csaba
#define RESET_INTERVAL      15, 0	/* 15 seconds */
163 4 csaba
}}}
164 4 csaba
165 4 csaba
Try 20 or 23 instead of 15. Example: for a HDSL cascaded two BTS InSite setup, I needed to raise this parameter to 20 seconds.
166 4 csaba
167 4 csaba
After the modification of this parameter, you need to recompile OpenBSC!
168 5 csaba
169 5 csaba
Sometimes even the reset itself can cause problems (multi-BTS setup, MetroSite setup). You can disable this RESET by adding the following line to the BTS part of the OpenBSC config file:
170 5 csaba
171 5 csaba
{{{
172 5 csaba
nokia_site skip-reset 1
173 5 csaba
}}}
174 5 csaba
175 5 csaba
Do not forget, that if you use the above parameter, every time you change the radio parameters of the BTS, you need to restart the BTS by powercycling  it, wait for it to start up, then start OpenBSC!
Add picture from clipboard (Maximum size: 48.8 MB)