Commit bb7e8ccf authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1ea63394
This diff is collapsed.
{#- XXX ORS -> provide defaults for: slave_instance_list -#} {#- XXX ORS -> provide defaults for: slave_instance_list -#}
{#- XXX icell vs cell / iru vs ru everyhere + document it #} {#- XXX icell vs cell / iru vs ru everyhere + document it -#}
{#- defaults provide default values for parameters. {#- defaults provide default values for parameters.
it should be kept in sync with "default" in json schemas #} it should be kept in sync with "default" in json schemas #}
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
'tac': "0x0001", 'tac': "0x0001",
} }
} }
%} -%}
{%- import 'lte.jinja2' as lte -%} {%- import 'lte.jinja2' as lte -%}
...@@ -100,8 +100,8 @@ ...@@ -100,8 +100,8 @@
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
{{ print('\n>>> ru_dict:'), pprint(ru_dict) }} {%- do print('\n>>> ru_dict:'), pprint(ru_dict) %}
{{ print('\n>>> cell_dict:'), pprint(cell_dict) }} {%- do print('\n>>> cell_dict:'), pprint(cell_dict) %}
{#- verify that there is no dangling cell->ru references #} {#- verify that there is no dangling cell->ru references #}
{#- XXX also verify that there is no dangling cell -> cell refs in ruincell_ref #} {#- XXX also verify that there is no dangling cell -> cell refs in ruincell_ref #}
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
{#- start of the config -#} {#- start of the config -#}
{{ print('\n2222\n') }} {%- do print('\n2222\n') %}
{ {
{% if slapparameter_dict.get('log_phy_debug', False) %} {% if slapparameter_dict.get('log_phy_debug', False) %}
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
enb_id: {{ slapparameter_dict.get('enb_id', '0x1A2D0') }}, enb_id: {{ slapparameter_dict.get('enb_id', '0x1A2D0') }},
{{ print('\n3333\n') }} {%- do print('\n3333\n') %}
# LTE cells # LTE cells
cell_list: [ cell_list: [
...@@ -274,7 +274,7 @@ ...@@ -274,7 +274,7 @@
si_coderate: {{ 0.30 if n_rb_dl == 6 else 0.20 }}, si_coderate: {{ 0.30 if n_rb_dl == 6 else 0.20 }},
pdsch_dedicated: { pdsch_dedicated: {
p_a: {{ {4: -6, 2: -3}.get(n_antenna_dl, 0) }}, p_a: {{ {4: -6, 2: -3}.get(ru['n_antenna_dl'], 0) }},
p_b: -1, p_b: -1,
}, },
...@@ -290,7 +290,7 @@ ...@@ -290,7 +290,7 @@
{%- endif %} {%- endif %}
}, },
{%- if n_antenna_dl >= 2 %} {%- if ru['n_antenna_dl'] >= 2 %}
m_ri: 8, m_ri: 8,
transmission_mode: 3, transmission_mode: 3,
{%- endif %} {%- endif %}
......
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