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
0c31de27
Commit
0c31de27
authored
Jan 17, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b35e50ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
software/ors-amarisoft/slaplte.jinja2
software/ors-amarisoft/slaplte.jinja2
+13
-13
No files found.
software/ors-amarisoft/slaplte.jinja2
View file @
0c31de27
...
...
@@ -229,23 +229,23 @@
{%- endfor %}
{#- verify that there is no dangling cell->ru references #}
{%- for _, icell in icell_dict|dictsort
%}
{%- set ru_ref = J(jcell_ru_ref(icell, icell_dict))
%}
{%- if ru_ref not in iru_dict
%}
{%- for _, icell in icell_dict|dictsort %}
{%- set ru_ref = J(jcell_ru_ref(icell, icell_dict)) %}
{%- if ru_ref not in iru_dict %}
{%- do ierror(icell, "referred RU %s does not exist" % ru_ref) %}
{%- endif
%}
{%- endfor
%}
{%- endif %}
{%- endfor %}
{#- assign RUs rf_port and tx/rx channel indices
#}
{%- set rf_chan = namespace(tx=0, rx=0)
%}
{%- for rf_port, (ru_ref, iru) in enumerate(iru_dict|dictsort)
%}
{%- set ru = iru['_']
%}
{#- assign RUs rf_port and tx/rx channel indices #}
{%- set rf_chan = namespace(tx=0, rx=0) %}
{%- for rf_port, (ru_ref, iru) in enumerate(iru_dict|dictsort) %}
{%- set ru = iru['_'] %}
{%- do ru.update({'_rf_port': rf_port,
'_rf_chan_tx': rf_chan.tx,
'_rf_chan_rx': rf_chan.rx})
%}
{%- set rf_chan.tx = rf_chan.tx + ru.n_antenna_dl
%}
{%- set rf_chan.rx = rf_chan.rx + ru.n_antenna_ul
%}
{%- endfor
%}
'_rf_chan_rx': rf_chan.rx}) %}
{%- set rf_chan.tx = rf_chan.tx + ru.n_antenna_dl %}
{%- set rf_chan.rx = rf_chan.rx + ru.n_antenna_ul %}
{%- endfor %}
{#- assign TAP interfaces to cpri RUs #}
{%- set iru_vcpri = list(iru_dict|dictsort | selectattr('1._.ru_link_type', '==', 'cpri')) %}
...
...
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