Commit 9f6fd46d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d9e9c31d
......@@ -12,11 +12,6 @@
{
log_options: "all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,s1ap.level=debug,s1ap.max_size=1,x2ap.level=debug,x2ap.max_size=1,rrc.level=debug,rrc.max_size=1,phy.level=info,file.rotate=1G,file.path=/dev/null",
......
......@@ -6,7 +6,7 @@
{# XXX macro return json -> start from j #}
{%- set J = json_module.loads %}
{# XXX error(slave, msg) #}
{#- XXX error(slave, msg) -#}
{# cell_dict keeps cell slave instances: reference -> cell #}
......
{#- Package lte provides helpers for configuring LTE cells. -#}
{#- cell_tdd_config returns tdd_config for an LTE cell. -#}
{%- macro cell_tdd_config(cell) -%}
{#- cell_tdd_config returns tdd_config for an LTE cell. #}
{%- macro cell_tdd_config(cell) %}
{%- set _ = {'[Configuration 2] 5ms 2UL 6DL (default)': 2,
'[Configuration 6] 5ms 5UL 3DL (maximum uplink)': 6} %}
{{ _[cell.get('tdd_ul_dl_config', '[Configuration 2] 5ms 2UL 6DL (default)')] }}
{%- 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. #}
{%- macro cell_n_rb_dl(cell) %}
{%- set _ = {'1.4 MHz': 6,
'3 MHz': 15,
......@@ -16,11 +16,11 @@
'15 MHz': 75,
'20 MHz': 100} %}
{{ _[cell['bandwidth']] }}
{%- endmacro %}
{%- endmacro -%}
{# cell_drb_config returns drb_config section for an LTE cell.
DRB configuration varies in beteen FDD and TDD modes. #}
{#- cell_drb_config returns drb_config section for an LTE cell.
DRB configuration varies in beteen FDD and TDD modes. #}
{%- macro cell_drb_config(cell) %}
{%- if cell['rf_mode'] == 'tdd' %}
{%- set T_REORDERING = 65 %}
......
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