129 lines
3.6 KiB
Text
129 lines
3.6 KiB
Text
<% @bts.each_with_index do |bts, index| -%>
|
|
bts <%= index %>
|
|
type <%= bts["type"] %>
|
|
description <%= bts["name"] %>
|
|
band <%= bts["band"] %>
|
|
cell_identity 10<%= index %>
|
|
location_area_code <%= bts["lac"] %>
|
|
base_station_id_code <%= bts["bsic"] %>
|
|
ms max power <%= bts["ms_maxp"] %>
|
|
cell reselection hysteresis 4
|
|
rxlev access min 0
|
|
radio-link-timeout 32
|
|
channel allocator ascending
|
|
rach tx integer 9
|
|
rach max transmission 7
|
|
channel-description attach 1
|
|
channel-description bs-pa-mfrms 5
|
|
channel-description bs-ag-blks-res 1
|
|
rach emergency call allowed 1
|
|
no access-control-class-ramping
|
|
early-classmark-sending forbidden
|
|
early-classmark-sending-3g allowed
|
|
ipa unit-id 1000 <%= bts["uid"] %>
|
|
oml ipa stream-id 255 line 0
|
|
neighbor-list mode automatic
|
|
<% @bts.each_with_index do |b, i| -%>
|
|
<% if i != index -%>
|
|
neighbor bts <%= i %>
|
|
<% end -%>
|
|
<% end -%>
|
|
codec-support fr amr
|
|
amr tch-f modes 4 5
|
|
amr tch-f threshold ms 32
|
|
amr tch-f hysteresis ms 8
|
|
amr tch-f threshold bts 32
|
|
amr tch-f hysteresis bts 8
|
|
amr tch-f start-mode 1
|
|
amr tch-h modes 4 5
|
|
amr tch-h threshold ms 32
|
|
amr tch-h hysteresis ms 8
|
|
amr tch-h threshold bts 32
|
|
amr tch-h hysteresis bts 8
|
|
amr tch-h start-mode 1
|
|
gprs mode <%= bts["gprs_m"] %>
|
|
gprs routing area 21
|
|
gprs network-control-order nc0
|
|
gprs ccn-active 0
|
|
gprs cell bvci <%= index+2 %>
|
|
gprs cell timer blocking-timer 3
|
|
gprs cell timer blocking-retries 3
|
|
gprs cell timer unblocking-retries 3
|
|
gprs cell timer reset-timer 3
|
|
gprs cell timer reset-retries 3
|
|
gprs cell timer suspend-timer 10
|
|
gprs cell timer suspend-retries 3
|
|
gprs cell timer resume-timer 10
|
|
gprs cell timer resume-retries 3
|
|
gprs cell timer capability-update-timer 10
|
|
gprs cell timer capability-update-retries 3
|
|
gprs nsei 10<%= index+2 %>
|
|
gprs ns timer tns-block 3
|
|
gprs ns timer tns-block-retries 3
|
|
gprs ns timer tns-reset 3
|
|
gprs ns timer tns-reset-retries 3
|
|
gprs ns timer tns-test 30
|
|
gprs ns timer tns-alive 3
|
|
gprs ns timer tns-alive-retries 10
|
|
gprs nsvc 0 nsvci 10<%= index+2 %>
|
|
gprs nsvc 0 local udp port 23<%= bts["lac"] %>
|
|
gprs nsvc 0 remote udp port 23000
|
|
gprs nsvc 0 remote ip <%= @sgsn_ip_address %>
|
|
gprs nsvc 1 nsvci 0
|
|
gprs nsvc 1 local udp port 0
|
|
gprs nsvc 1 remote udp port 0
|
|
gprs nsvc 1 remote ip 0.0.0.0
|
|
<% if bts["gprs_m"] == "egprs" -%>
|
|
gprs egprs-packet-channel-request
|
|
<% end -%>
|
|
no force-combined-si
|
|
bs-power-control
|
|
mode static
|
|
ms-power-control
|
|
mode dyn-bts
|
|
step-size inc 4 red 2
|
|
<% if bts["UL_tgt"] -%>
|
|
rxlev-thresh lower <%= bts["UL_tgt"]+107 %> upper <%= bts["UL_tgt"]+113 %>
|
|
<% end -%>
|
|
<% if bts["model"] == "2050S" %> depends-on-bts <%= index-1 %>
|
|
<% end -%>
|
|
<% bts["trx"].each_with_index do |trx, index| -%>
|
|
trx <%= index %>
|
|
rf_locked 0
|
|
arfcn <%= trx["chan"] %>
|
|
nominal power <%= bts["nom"] %>
|
|
max_power_red <%= bts["red"] %>
|
|
rsl e1 tei 0
|
|
timeslot 0
|
|
<% if index == 0 -%>
|
|
phys_chan_config <%= @ts0_phys_chan %>
|
|
hopping enabled 0
|
|
timeslot 1
|
|
phys_chan_config <%= @ts1_phys_chan %>
|
|
<% else -%>
|
|
phys_chan_config <%= @phys_chan %>
|
|
hopping enabled 0
|
|
timeslot 1
|
|
phys_chan_config <%= @phys_chan %>
|
|
<% end -%>
|
|
hopping enabled 0
|
|
timeslot 2
|
|
phys_chan_config <%= @phys_chan %>
|
|
hopping enabled 0
|
|
timeslot 3
|
|
phys_chan_config <%= @phys_chan %>
|
|
hopping enabled 0
|
|
timeslot 4
|
|
phys_chan_config TCH/F_TCH/H_PDCH
|
|
hopping enabled 0
|
|
timeslot 5
|
|
phys_chan_config TCH/F_TCH/H_PDCH
|
|
hopping enabled 0
|
|
timeslot 6
|
|
phys_chan_config TCH/F_TCH/H_PDCH
|
|
hopping enabled 0
|
|
timeslot 7
|
|
phys_chan_config PDCH
|
|
hopping enabled 0
|
|
<% end -%>
|
|
<% end -%>
|