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
4e64bd85
Commit
4e64bd85
authored
Sep 27, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
86d8398c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+1
-1
software/ors-amarisoft/config/ue.jinja2.cfg
software/ors-amarisoft/config/ue.jinja2.cfg
+4
-1
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+2
-0
No files found.
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
4e64bd85
...
@@ -588,7 +588,7 @@
...
@@ -588,7 +588,7 @@
dl_nr_arfcn: {{ cell.dl_nr_arfcn }},
dl_nr_arfcn: {{ cell.dl_nr_arfcn }},
bandwidth: {{ cell.bandwidth }},
bandwidth: {{ cell.bandwidth }},
subcarrier_spacing:
30, // XXX FDD -> 15
subcarrier_spacing:
{{ 30 if ru.rf_mode == 'tdd' else 15 }},
ssb_nr_arfcn: {{ cell.get('ssb_nr_arfcn', lte.default_ssb_nr_arfcn(cell.dl_nr_arfcn)) }},
ssb_nr_arfcn: {{ cell.get('ssb_nr_arfcn', lte.default_ssb_nr_arfcn(cell.dl_nr_arfcn)) }},
ssb_pos_bitmap: {{ cell.ssb_pos_bitmap }},
ssb_pos_bitmap: {{ cell.ssb_pos_bitmap }},
...
...
software/ors-amarisoft/config/ue.jinja2.cfg
View file @
4e64bd85
...
@@ -15,6 +15,9 @@
...
@@ -15,6 +15,9 @@
}
}
%}
%}
// XXX setup iru + icell
{#- iue_dict keeps ue slave instances: reference -> iue
{#- iue_dict keeps ue slave instances: reference -> iue
in the kept instances _ is automatically json-decoded
in the kept instances _ is automatically json-decoded
#}
#}
...
@@ -109,7 +112,7 @@ rf_driver: {
...
@@ -109,7 +112,7 @@ rf_driver: {
bandwidth: {{ cell.bandwidth }},
bandwidth: {{ cell.bandwidth }},
ssb_nr_arfcn: {{ cell.get('ssb_nr_arfcn', lte.default_ssb_nr_arfcn(cell.dl_nr_arfcn)) }},
ssb_nr_arfcn: {{ cell.get('ssb_nr_arfcn', lte.default_ssb_nr_arfcn(cell.dl_nr_arfcn)) }},
subcarrier_spacing:
30, // XXX FDD -> 15
subcarrier_spacing:
{{ 30 if ru.rf_mode == 'tdd' else 15 }},
},
},
{%- endif %}
{%- endif %}
{%- endfor %}
{%- endfor %}
...
...
software/ors-amarisoft/slapos-render-config.py
View file @
4e64bd85
import
json
,
copy
,
sys
,
pprint
import
json
,
copy
,
sys
,
pprint
# XXX test both enb.cfg + ue.cfg simultaneously
config
=
"enb"
config
=
"enb"
json_params_empty
=
"""{
json_params_empty
=
"""{
"rf_mode": 'fdd',
"rf_mode": 'fdd',
...
...
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