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
faa54d68
Commit
faa54d68
authored
Oct 11, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
17166cf0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
software/ors-amarisoft/amari/lte.jinja2
software/ors-amarisoft/amari/lte.jinja2
+1
-1
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+2
-2
software/ors-amarisoft/ru/libinstance.jinja2.cfg
software/ors-amarisoft/ru/libinstance.jinja2.cfg
+9
-3
No files found.
software/ors-amarisoft/amari/lte.jinja2
View file @
faa54d68
...
...
@@ -32,7 +32,7 @@
{%- set rx_gainv = [] %} {#- rx_gain by tx channel #}
{%- for rf_port, (ru_ref, iru) in enumerate(iru_dict|dictsort) %}
{%- set ru = iru['_'] %}
// {{ ru_ref }} {{ ru.n_antenna_dl }}T{{ ru.n_antenna_ul }}R
// {{ ru_ref }} {{ ru.n_antenna_dl }}T{{ ru.n_antenna_ul }}R
({{ ru.ru_type }})
{%- do ru.update({'_rf_port': rf_port}) %}
{%- if ru.ru_type == 'sdr' %}
{%- do ru_sdr_dict.update({len(dev_argv): ru}) %}
...
...
software/ors-amarisoft/buildout.hash.cfg
View file @
faa54d68
...
...
@@ -20,7 +20,7 @@ md5sum = 739cd223f6959fde38d658127cab51ed
[amari_lte.jinja2]
_update_hash_filename_ = amari/lte.jinja2
md5sum = ef
5fb399024f367d3521bcfc965c77d2
md5sum = ef
d6195979e0a5f6b9d0999bbaa284e6
[amari_slap.jinja2]
_update_hash_filename_ = amari/slap.jinja2
...
...
@@ -28,7 +28,7 @@ md5sum = 18f1a205d55c3026cf221ef22d247695
[ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg
md5sum = 6
e652b2110d4c7e523e39f18c928efbe
md5sum = 6
ad719c1c9be7c7c9d70c122bbae88af
[amarisoft-stats.jinja2.py]
_update_hash_filename_ = amarisoft-stats.jinja2.py
...
...
software/ors-amarisoft/ru/libinstance.jinja2.cfg
View file @
faa54d68
...
...
@@ -10,33 +10,39 @@
{%- import 'amari_slap.jinja2' as slaplte with context %}
#}
{#- iru_dict and icell_dict keep RU and cell registries
iru_dict: reference -> iru
icell_dict: reference -> icell
#}
{%- set iru_dict = {} %}
{%- set icell_dict = {} %}
{%- do slaplte.load_iru_and_icell(iru_dict, icell_dict, icell_kind) %}
{%- macro buildout() %}
{%- set parts_list = [] %}
{%- macro part(name) %}
{%- do parts_list.append(name) %}
[{{ name }}]
{%- endmacro %}
{%- macro promise(name) %}
{{ part(name) }}
<= macro.promise
config-testing = {{ slapparameter_dict.get("testing", False) }}
{%- endmacro %}
{%- for ru_ref, iru in iru_dict|dictsort %}
{%- set ru = iru['_'] %}
# {{ ru_ref }} {{ ru.n_antenna_dl }}T{{ ru.n_antenna_ul }}R
XXX + ru arg
# {{ ru_ref }} {{ ru.n_antenna_dl }}T{{ ru.n_antenna_ul }}R
({{ ru.ru_type }})
{%- if ru.ru_link_type == 'sdr' %}
{%- for (i, n) in enumerate(ru.sdr_dev_list) %}
{{ promise('%s-check-sdr-busy%s.py' % (ru_ref, '-%d' % (i+1) if i > 0 else '')) }}
promise = check_sdr_busy
config-sdr = {{ sdr }}
config-sdr_dev = {{ n }}
config-sdr_dev
= {{ n }}
config-dma_chan = 0
{%- endfor %}
...
...
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