Commit 66816c8a authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d2989f36
{# XXX ORS -> provide defaults for: cell_list #} {# XXX ORS -> provide defaults for: cell_list #}
{%- import 'lte.jinja2' as lte %}
{# cell_list keeps cell slave instances #} {# cell_list keeps cell slave instances #}
{%- set cell_list = [] %} {%- set cell_list = [] %}
{%- for slave in slave_instance_list %} {%- for slave in slave_instance_list %}
...@@ -14,9 +16,6 @@ ...@@ -14,9 +16,6 @@
{%- set cell_count = cell_list|length %}
# XXX <- from RRH # XXX <- from RRH
#define N_ANTENNA_DL {{ slapparameter_dict.get('n_antenna_dl', slap_configuration['configuration.default_n_antenna_dl']) }} #define N_ANTENNA_DL {{ slapparameter_dict.get('n_antenna_dl', slap_configuration['configuration.default_n_antenna_dl']) }}
#define N_ANTENNA_UL {{ slapparameter_dict.get('n_antenna_ul', slap_configuration['configuration.default_n_antenna_ul']) }} #define N_ANTENNA_UL {{ slapparameter_dict.get('n_antenna_ul', slap_configuration['configuration.default_n_antenna_ul']) }}
...@@ -74,7 +73,7 @@ ...@@ -74,7 +73,7 @@
{%- endfor -%} {%- endfor -%}
", ",
ifname: " ifname: "
{%- if cell_count == 1 -%} {%- if len(cell_list) == 1 -%}
{{ slap_configuration.get('tap-name', '') }} {{ slap_configuration.get('tap-name', '') }}
{%- else -%} {%- else -%}
{%- for i, k in enumerate(cell_list) %} {%- for i, k in enumerate(cell_list) %}
...@@ -136,7 +135,7 @@ ...@@ -136,7 +135,7 @@
enb_id: {{ slapparameter_dict.get('enb_id', '0x1A2D0') }}, enb_id: {{ slapparameter_dict.get('enb_id', '0x1A2D0') }},
# LTE cells
cell_list: [ cell_list: [
{%- for i, cell in enumerate(cell_list) %} {%- for i, cell in enumerate(cell_list) %}
{%- if cell['cell_type'] == 'cell_lte' %} {%- if cell['cell_type'] == 'cell_lte' %}
...@@ -271,7 +270,6 @@ ...@@ -271,7 +270,6 @@
prach_freq_offset: -1, prach_freq_offset: -1,
pusch_dedicated: { pusch_dedicated: {
beta_offset_ack_index: 9, beta_offset_ack_index: 9,
beta_offset_ri_index: 6, beta_offset_ri_index: 6,
...@@ -322,4 +320,8 @@ ...@@ -322,4 +320,8 @@
} }
], ],
}, },
# NR cells
XXX + nr_cell_list
XXX + nr_cell_default
} }
{# Package lte provides helpers related to configuring LTE cells. #} {# Package lte provides helpers for configuring LTE cells. #}
{# cell_tdd_config returns tdd_config for an LTE cell. #} {# cell_tdd_config returns tdd_config for an LTE cell. #}
{%- macro cell_tdd_config(cell) %} {%- macro cell_tdd_config(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