Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
66816c8a
Commit
66816c8a
authored
Aug 15, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d2989f36
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+8
-6
software/ors-amarisoft/config/lte.jinja2
software/ors-amarisoft/config/lte.jinja2
+1
-1
No files found.
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
66816c8a
{# XXX ORS -> provide defaults for: cell_list #}
{%- import 'lte.jinja2' as lte %}
{# cell_list keeps cell slave instances #}
{%- set cell_list = [] %}
{%- for slave in slave_instance_list %}
...
...
@@ -14,9 +16,6 @@
{%- set cell_count = cell_list|length %}
# XXX <- from RRH
#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']) }}
...
...
@@ -74,7 +73,7 @@
{%- endfor -%}
",
ifname: "
{%- if
cell_count
== 1 -%}
{%- if
len(cell_list)
== 1 -%}
{{ slap_configuration.get('tap-name', '') }}
{%- else -%}
{%- for i, k in enumerate(cell_list) %}
...
...
@@ -136,7 +135,7 @@
enb_id: {{ slapparameter_dict.get('enb_id', '0x1A2D0') }},
# LTE cells
cell_list: [
{%- for i, cell in enumerate(cell_list) %}
{%- if cell['cell_type'] == 'cell_lte' %}
...
...
@@ -271,7 +270,6 @@
prach_freq_offset: -1,
pusch_dedicated: {
beta_offset_ack_index: 9,
beta_offset_ri_index: 6,
...
...
@@ -322,4 +320,8 @@
}
],
},
# NR cells
XXX + nr_cell_list
XXX + nr_cell_default
}
software/ors-amarisoft/config/lte.jinja2
View file @
66816c8a
{# 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. #}
{%- macro cell_tdd_config(cell) %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment