OSMO: fix channel config.

Correctly setup a 2nd TRX and ensure we only use TCH/F for explicit GSM codec.
This commit is contained in:
Keith Whyte 2021-10-14 02:18:57 +02:00
parent ce644e3870
commit 8dff4eab0f
2 changed files with 10 additions and 3 deletions

View file

@ -103,10 +103,10 @@ class rhizo_base::osmocom {
$ts0_phys_chan = "CCCH"
$ts1_phys_chan = "SDCCH8"
if $mncc_codec == "AMR" {
$phys_chan = "TCH/H"
} else {
if $mncc_codec == "GSM" {
$phys_chan = "TCH/F"
} else {
$phys_chan = "TCH/H"
}
unless hiera('rhizo::local_osmobsc_cfg') == "1" {

View file

@ -80,10 +80,17 @@
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 %>