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
29189ef2
Commit
29189ef2
authored
Nov 22, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a345cf59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
25 deletions
+25
-25
software/ors-amarisoft/slaplte.jinja2
software/ors-amarisoft/slaplte.jinja2
+25
-25
No files found.
software/ors-amarisoft/slaplte.jinja2
View file @
29189ef2
...
@@ -330,35 +330,35 @@
...
@@ -330,35 +330,35 @@
ipeercell_dict keeps peer cell shared instances: reference -> ipeercell
ipeercell_dict keeps peer cell shared instances: reference -> ipeercell
#}
#}
{%- macro load_ipeercell(ipeercell_dict)
%}
{%- macro load_ipeercell(ipeercell_dict) %}
{%- set qother = []
%}
{%- set qother = [] %}
{%- for ishared in qshared_instance_list
%}
{%- for ishared in qshared_instance_list %}
{%- set ref = J(jref_of_shared(ishared))
%}
{%- set ref = J(jref_of_shared(ishared)) %}
{%- set _ = ishared['_']
%}
{%- set _ = ishared['_'] %}
{%- if 'peer_cell_type' in _
%}
{%- if 'peer_cell_type' in _ %}
{%- set ipeercell = ishared
%}
{%- set ipeercell = ishared %}
{%- for k, v in defaults['peercell/' + _.peer_cell_type].items()
%}
{%- for k, v in defaults['peercell/' + _.peer_cell_type].items() %}
{%- do _.setdefault(k, v)
%}
{%- do _.setdefault(k, v) %}
{%- endfor
%}
{%- endfor %}
{%- if _.peer_cell_type == 'lte'
%}
{%- if _.peer_cell_type == 'lte' %}
{%- do _.setdefault('ul_earfcn', J(jdefault_ul_earfcn(_.dl_earfcn)))
%}
{%- do _.setdefault('ul_earfcn', J(jdefault_ul_earfcn(_.dl_earfcn))) %}
{%- elif _.peer_cell_type == 'nr'
%}
{%- elif _.peer_cell_type == 'nr' %}
{%- do _.setdefault('ul_nr_arfcn', J(jdefault_ul_nr_arfcn(_.dl_nr_arfcn, _.nr_band))) %}
{%- do _.setdefault('ul_nr_arfcn', J(jdefault_ul_nr_arfcn(_.dl_nr_arfcn, _.nr_band))) %}
{%- do _.setdefault('subcarrier_spacing',
{%- do _.setdefault('subcarrier_spacing',
30 if nrarfcn_module.get_duplex_mode(_.nr_band).lower() == 'tdd' else
30 if nrarfcn_module.get_duplex_mode(_.nr_band).lower() == 'tdd' else
15) %}
15) %}
{%- do _.setdefault('ssb_nr_arfcn', J(jdefault_ssb_nr_arfcn(_.dl_nr_arfcn)))
%}
{%- do _.setdefault('ssb_nr_arfcn', J(jdefault_ssb_nr_arfcn(_.dl_nr_arfcn))) %}
{%- else
%}
{%- else %}
{%- do bug('unreachable')
%}
{%- do bug('unreachable') %}
{%- endif
%}
{%- endif %}
{%- do ipeercell_dict.update({ref: ipeercell})
%}
{%- do ipeercell_dict.update({ref: ipeercell}) %}
{%- else
%}
{%- else %}
{%- do qother.append(ishared)
%}
{%- do qother.append(ishared) %}
{%- endif
%}
{%- endif %}
{%- endfor
%}
{%- endfor %}
{%- do qshared_instance_list.clear()
%}
{%- do qshared_instance_list.clear() %}
{%- do qshared_instance_list.extend(qother)
%}
{%- do qshared_instance_list.extend(qother) %}
{%- endmacro
%}
{%- endmacro %}
{#- load_iue initializes UE registry.
{#- load_iue initializes UE registry.
...
...
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