osmo-bsc: BTS dependent timeslot config.

Makes the timeslot config a little more complex. Supports configuring an Umsite
for FR only.
This commit is contained in:
Keith Whyte 2023-08-31 05:42:16 +02:00
parent 73866e0349
commit c1e043fdd2
2 changed files with 71 additions and 17 deletions

View file

@ -29,11 +29,14 @@
<% end -%>
<% if bts["lte_n"] -%> si2quater neighbor-list add earfcn <%= bts["lte_n"] %> thresh-hi 4 thresh-lo 32 prio 7 qrxlv 32 meas 6
<% end -%>
<% if bts["model"] == "UmSite" -%>
codec-support fr
<% elsif bts["model"] == "UmSite1" -%>
codec-support fr amr
<% if bts["model"] == "UmSite1" -%>
amr tch-f modes 7
amr tch-f start-mode auto
<% else -%>
codec-support fr amr
amr tch-f modes 3 5 6 7
amr tch-f threshold ms 12 31 37
amr tch-f hysteresis ms 4 4 4
@ -107,34 +110,34 @@
rsl e1 tei 0
timeslot 0
<% if index == 0 -%>
phys_chan_config <%= @ts0_phys_chan %>
phys_chan_config <%= @ts0_phys_chan[bts["model"]] %>
hopping enabled 0
timeslot 1
phys_chan_config <%= @ts1_phys_chan %>
phys_chan_config <%= @ts1_phys_chan[bts["model"]] %>
<% else -%>
phys_chan_config <%= @phys_chan %>
phys_chan_config <%= @phys_chan[bts["model"]] %>
hopping enabled 0
timeslot 1
phys_chan_config <%= @phys_chan %>
phys_chan_config <%= @phys_chan[bts["model"]] %>
<% end -%>
hopping enabled 0
timeslot 2
phys_chan_config <%= @phys_chan %>
phys_chan_config <%= @phys_chan[bts["model"]] %>
hopping enabled 0
timeslot 3
phys_chan_config <%= @phys_chan %>
phys_chan_config <%= @phys_chan[bts["model"]] %>
hopping enabled 0
timeslot 4
phys_chan_config TCH/F_TCH/H_PDCH
phys_chan_config <%= @phys_chan_dyn[bts["model"]] %>
hopping enabled 0
timeslot 5
phys_chan_config TCH/F_TCH/H_PDCH
phys_chan_config <%= @phys_chan_dyn[bts["model"]] %>
hopping enabled 0
timeslot 6
phys_chan_config TCH/F_TCH/H_PDCH
phys_chan_config <%= @phys_chan_dyn[bts["model"]] %>
hopping enabled 0
timeslot 7
phys_chan_config PDCH
phys_chan_config <%= @ts7_phys_chan[bts["model"]] %>
hopping enabled 0
<% end -%>
<% end -%>