Project

General

Profile

Nokia Site family » History » Version 5

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 1 csaba
'''Handover:'''
12 1 csaba
13 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.
14 2 csaba
15 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:
16 2 csaba
17 2 csaba
{{{
18 2 csaba
nokia_site no-local-rel-conf 1
19 2 csaba
}}}
20 2 csaba
21 2 csaba
This fix is tested on Nokia InSite and MetroSite units, all of them are performing handovers normally.
22 2 csaba
23 2 csaba
For more info, please see this patch: [http://cgit.osmocom.org/openbsc/commit/?id=7d8fa3418ff6c589eba10e562da8b96995e19f7a]
24 1 csaba
25 1 csaba
'''E1 cards:'''
26 1 csaba
27 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:
28 1 csaba
29 1 csaba
{{{
30 1 csaba
span=1,0,0,ccs,hdb3,crc4	
31 1 csaba
bchan=1-31
32 1 csaba
}}}
33 1 csaba
34 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.
35 1 csaba
36 1 csaba
'''Example config file for an 1800MHz Nokia InSite unit:'''
37 1 csaba
38 1 csaba
39 1 csaba
{{{
40 1 csaba
!
41 1 csaba
! OpenBSC configuration saved from vty
42 1 csaba
!   !
43 1 csaba
password foo
44 1 csaba
!
45 1 csaba
line vty
46 1 csaba
 no login
47 1 csaba
!
48 1 csaba
e1_input
49 1 csaba
 e1_line 0 driver dahdi
50 1 csaba
 # e1_line 0 port 0
51 1 csaba
 log file /root/900_nokia.log
52 1 csaba
 logging filter all 1
53 1 csaba
 logging color 1
54 1 csaba
 logging timestamp 1
55 1 csaba
 
56 1 csaba
network
57 1 csaba
 network country code 1
58 1 csaba
 mobile network code 1
59 1 csaba
 short name OpenBSC
60 1 csaba
 long name OpenBSC 
61 1 csaba
 neci 0
62 1 csaba
 rrlp mode none
63 1 csaba
 mm info 1
64 1 csaba
 handover 0
65 1 csaba
 handover window rxlev averaging 5
66 1 csaba
 handover window rxqual averaging 1
67 1 csaba
 handover window rxlev neighbor averaging 5
68 1 csaba
 handover power budget interval 6
69 1 csaba
 handover power budget hysteresis 3
70 1 csaba
 handover maximum distance 9999
71 1 csaba
 timer t3101 3
72 1 csaba
 timer t3103 5
73 1 csaba
 timer t3105 20
74 1 csaba
 timer t3107 10
75 1 csaba
 timer t3109 15
76 1 csaba
 timer t3111 2
77 1 csaba
 timer t3113 10
78 1 csaba
 timer t3115 0
79 1 csaba
 timer t3117 0
80 1 csaba
 timer t3119 0
81 1 csaba
 timer t3141 0
82 1 csaba
 timer t3122 10
83 1 csaba
84 1 csaba
 bts 0
85 1 csaba
  type nokia_site
86 1 csaba
  band GSM1800
87 1 csaba
  cell_identity 1
88 1 csaba
  location_area_code 1
89 1 csaba
  base_station_id_code 63
90 1 csaba
  training_sequence_code 7
91 1 csaba
  ms max power 12
92 1 csaba
  cell reselection hysteresis 4
93 1 csaba
  periodic location update 10
94 1 csaba
  nokia_site skip-reset 0
95 3 csaba
  nokia_site no-local-rel-conf 1
96 1 csaba
  
97 1 csaba
  oml e1 line 0 timeslot 8 sub-slot full
98 1 csaba
  oml e1 tei 1
99 1 csaba
  
100 1 csaba
  trx 0
101 1 csaba
   arfcn 885
102 1 csaba
   nominal power 18
103 1 csaba
   max_power_red 10
104 1 csaba
   rsl e1 line 0 timeslot 7 sub-slot full
105 1 csaba
   rsl e1 tei 1
106 1 csaba
107 1 csaba
108 1 csaba
    timeslot 0
109 1 csaba
     phys_chan_config CCCH+SDCCH4
110 1 csaba
     e1 line 0 timeslot 5 sub-slot 0
111 1 csaba
112 1 csaba
    timeslot 1
113 1 csaba
     phys_chan_config SDCCH8
114 1 csaba
     e1 line 0 timeslot 5 sub-slot 1
115 1 csaba
116 1 csaba
    timeslot 2
117 1 csaba
     phys_chan_config TCH/F
118 1 csaba
     e1 line 0 timeslot 5 sub-slot 2
119 1 csaba
120 1 csaba
    timeslot 3
121 1 csaba
     phys_chan_config TCH/F
122 1 csaba
     e1 line 0 timeslot 5 sub-slot 3
123 1 csaba
124 1 csaba
    timeslot 4
125 1 csaba
     phys_chan_config TCH/F
126 1 csaba
     e1 line 0 timeslot 6 sub-slot 0
127 1 csaba
128 1 csaba
    timeslot 5
129 1 csaba
     phys_chan_config TCH/F
130 1 csaba
     e1 line 0 timeslot 6 sub-slot 1
131 1 csaba
132 1 csaba
    timeslot 6
133 1 csaba
     phys_chan_config TCH/F
134 1 csaba
     e1 line 0 timeslot 6 sub-slot 2
135 1 csaba
136 1 csaba
    timeslot 7
137 1 csaba
     phys_chan_config TCH/F
138 1 csaba
     e1 line 0 timeslot 6 sub-slot 3
139 1 csaba
140 1 csaba
}}}
141 1 csaba
142 1 csaba
'''LMP cable pinout for InSite units:'''
143 1 csaba
144 1 csaba
'''LMP cable pinout for MetroSite units:'''
145 1 csaba
146 1 csaba
'''Tips and tricks for Site family and OpenBSC:'''
147 4 csaba
148 4 csaba
'''RESET Timer:'''
149 4 csaba
150 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.
151 4 csaba
152 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.
153 4 csaba
154 4 csaba
This parameter can be modified in the source code of OpenBSC at openbsc/openbsc/src/libbsc/bts_nokia_site.c
155 4 csaba
156 4 csaba
{{{
157 4 csaba
#define RESET_INTERVAL      15, 0	/* 15 seconds */
158 4 csaba
}}}
159 4 csaba
160 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.
161 4 csaba
162 4 csaba
After the modification of this parameter, you need to recompile OpenBSC!
163 5 csaba
164 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:
165 5 csaba
166 5 csaba
{{{
167 5 csaba
nokia_site skip-reset 1
168 5 csaba
}}}
169 5 csaba
170 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)