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:
parent
ce644e3870
commit
8dff4eab0f
2 changed files with 10 additions and 3 deletions
|
@ -103,10 +103,10 @@ class rhizo_base::osmocom {
|
||||||
$ts0_phys_chan = "CCCH"
|
$ts0_phys_chan = "CCCH"
|
||||||
$ts1_phys_chan = "SDCCH8"
|
$ts1_phys_chan = "SDCCH8"
|
||||||
|
|
||||||
if $mncc_codec == "AMR" {
|
if $mncc_codec == "GSM" {
|
||||||
$phys_chan = "TCH/H"
|
|
||||||
} else {
|
|
||||||
$phys_chan = "TCH/F"
|
$phys_chan = "TCH/F"
|
||||||
|
} else {
|
||||||
|
$phys_chan = "TCH/H"
|
||||||
}
|
}
|
||||||
|
|
||||||
unless hiera('rhizo::local_osmobsc_cfg') == "1" {
|
unless hiera('rhizo::local_osmobsc_cfg') == "1" {
|
||||||
|
|
|
@ -80,10 +80,17 @@
|
||||||
max_power_red <%= bts["red"] %>
|
max_power_red <%= bts["red"] %>
|
||||||
rsl e1 tei 0
|
rsl e1 tei 0
|
||||||
timeslot 0
|
timeslot 0
|
||||||
|
<% if index == 0 -%>
|
||||||
phys_chan_config <%= @ts0_phys_chan %>
|
phys_chan_config <%= @ts0_phys_chan %>
|
||||||
hopping enabled 0
|
hopping enabled 0
|
||||||
timeslot 1
|
timeslot 1
|
||||||
phys_chan_config <%= @ts1_phys_chan %>
|
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
|
hopping enabled 0
|
||||||
timeslot 2
|
timeslot 2
|
||||||
phys_chan_config <%= @phys_chan %>
|
phys_chan_config <%= @phys_chan %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue