Commit aa14df9b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d1856eaa
...@@ -603,7 +603,7 @@ ...@@ -603,7 +603,7 @@
{%- endif %} {%- endif %}
{%- set tdd = (cell['rf_mode'] == 'tdd') %} {%- set tdd = (cell['rf_mode'] == 'tdd') %}
{%- set tdd_config = lte.nr_cell_tdd_config(cell) }}, // XXX None if fdd {%- set tdd_config = lte.nr_cell_tdd_config(cell) %}, // XXX None if fdd ?
{% if tdd_config == 1 %} {% if tdd_config == 1 %}
tdd_ul_dl_config: { tdd_ul_dl_config: {
......
...@@ -4,7 +4,15 @@ ...@@ -4,7 +4,15 @@
{%- macro cell_tdd_config(cell) %} {%- macro cell_tdd_config(cell) %}
{%- set _ = {'[Configuration 2] 5ms 2UL 6DL (default)': 2, {%- set _ = {'[Configuration 2] 5ms 2UL 6DL (default)': 2,
'[Configuration 6] 5ms 5UL 3DL (maximum uplink)': 6} %} '[Configuration 6] 5ms 5UL 3DL (maximum uplink)': 6} %}
{{- _[cell.get('tdd_ul_dl_config', '[Configuration 2] 5ms 2UL 6DL (default)')] }} {{- _[cell['tdd_ul_dl_config']] }}
{%- endmacro -%}
{#- XXX doc, naming ok ? #}
{%- macro nr_cell_tdd_config(cell) %}
{%- set _ = {'5ms 2UL 7DL 4/6 (default)': 1,
'2.5ms 1UL 3DL 2/10': 2,
'5ms 8UL 3DL 2/10 (maximum uplink)': 3} %}
{{- _[cell['tdd_ul_dl_config']] }}
{%- endmacro -%} {%- endmacro -%}
{#- cell_n_rb_dl returns n_rb_dl for an LTE cell. #} {#- cell_n_rb_dl returns n_rb_dl for an LTE cell. #}
......
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