Commit bd52064c authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

ors-amarisoft: lteue doesn't support gain in list

parent 9825128b
......@@ -24,7 +24,7 @@ md5sum = 55917803505ca1990086e1aa884b39ce
[slaplte.jinja2]
_update_hash_filename_ = slaplte.jinja2
md5sum = 30ba34c9ec41dbd687628ff6c4350238
md5sum = 90d768a88e6b1105e50a6f9670dc76eb
[ru_amarisoft-stats.jinja2.py]
_update_hash_filename_ = ru/amarisoft-stats.jinja2.py
......@@ -116,7 +116,7 @@ md5sum = dd50b4e4780830ddbde28b84af118f18
[enb.jinja2.cfg]
filename = config/enb.jinja2.cfg
md5sum = 1b8dc68206485299c08ab0e1544773f6
md5sum = d9f18f0e00f0c799ec44dc0a27567892
[drb_lte.jinja2.cfg]
filename = config/drb_lte.jinja2.cfg
......@@ -152,7 +152,7 @@ md5sum = f07c85916bcb7e4002c8edc3d087c1be
[ue.jinja2.cfg]
filename = config/ue.jinja2.cfg
md5sum = acaa1aab5329de4ca25edb9aa570208e
md5sum = 490c0b91c1bfa7b1c2a1f592dd766ab9
[ru_lopcomm_CreateProcessingEle.jinja2.xml]
_update_hash_filename_ = ru/lopcomm/CreateProcessingEle.jinja2.xml
......
......@@ -143,7 +143,7 @@
log_filename: "{{ directory['log'] }}/enb.log",
{# instantiate radio units #}
{{ slaplte.ru_config(iru_dict, slapparameter_dict) }}
{{ slaplte.ru_config(iru_dict, slapparameter_dict, True) }}
{%- if slapparameter_dict.get('websocket_password', '') %}
com_addr: "[{{ gtp_addr_v6 }}]:{{ slapparameter_dict.com_ws_port }}",
......
......@@ -26,7 +26,7 @@
{%- endif %}
{# instantiate radio units #}
{{ slaplte.ru_config(iru_dict, slapparameter_dict) }}
{{ slaplte.ru_config(iru_dict, slapparameter_dict, False) }}
cell_groups: [{
......
......@@ -443,7 +443,7 @@
{#- ---- building configuration ---- #}
{#- ru_config emits RF driver configuration for specified Radio Units. #}
{%- macro ru_config(iru_dict, slapparameter_dict) %}
{%- macro ru_config(iru_dict, slapparameter_dict, support_gain_in_list) %}
// Radio Units
rf_driver: {
{%- set dev_argv = [] %}
......@@ -527,6 +527,12 @@
},
{#- emit tx/rx gain for all channels #}
{%- if support_gain_in_list %}
tx_gain: {{ tx_gainv }},
rx_gain: {{ rx_gainv }},
{%- else %}
tx_gain: {{ tx_gainv[0] }},
rx_gain: {{ rx_gainv[0] }},
{%- endif %}
{%- endmacro %}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment