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
aa14df9b
Commit
aa14df9b
authored
Sep 14, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d1856eaa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+1
-1
software/ors-amarisoft/config/lte.jinja2
software/ors-amarisoft/config/lte.jinja2
+9
-1
No files found.
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
aa14df9b
...
...
@@ -603,7 +603,7 @@
{%- endif %}
{%- 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 %}
tdd_ul_dl_config: {
...
...
software/ors-amarisoft/config/lte.jinja2
View file @
aa14df9b
...
...
@@ -4,7 +4,15 @@
{%- 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)')] }}
{{- _[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 -%}
{#- cell_n_rb_dl returns n_rb_dl for an LTE 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