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
8824a742
Commit
8824a742
authored
Sep 27, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
c192382b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
software/ors-amarisoft/config/enb.cfg
software/ors-amarisoft/config/enb.cfg
+2
-2
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+3
-1
No files found.
software/ors-amarisoft/config/enb.cfg
View file @
8824a742
...
...
@@ -3,14 +3,14 @@
log_filename: "log/enb.log",
// Radio Units
rf_driver: {
name: "sdr",
// _CELL1_a_ru
// _CELL1_a_ru
4T2R
args: "dev0=/dev/sdr0,dev1=/dev/sdr1",
rx_antenna:"tx_rx",
tdd_tx_mod: 1,
},
tx_gain: [51, 51, 51, 51],
rx_gain: [52, 52],
com_addr: "127.0.1.2:9001",
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
8824a742
...
...
@@ -169,6 +169,7 @@
log_filename: "{{ directory['log'] }}/enb.log",
{# instantiate radio units #}
// Radio Units
rf_driver: {
{%- if slapparameter_dict.get('disable_sdr', False) %}
name: "dummy",
...
...
@@ -191,8 +192,8 @@
{%- set tx_gainv = [] %} {#- tx_gain by tx channel #}
{%- set rx_gainv = [] %} {#- rx_gain by tx channel #}
{%- for rf_port, (ru_ref, iru) in enumerate(iru_dict|dictsort) %}
// {{ ru_ref }}
{%- set ru = iru['_'] %}
// {{ ru_ref }} {{ ru.n_antenna_dl }}T{{ ru.n_antenna_ul }}R
{%- do ru.update({'_rf_port': rf_port}) %}
{%- if ru.ru_type == 'sdr' %}
{%- do ru_sdr_dict.update({len(dev_argv): ru}) %}
...
...
@@ -248,6 +249,7 @@
{%- endif %}
},
{#- emit tx/rx gain for all channels #}
tx_gain: {{ tx_gainv }},
rx_gain: {{ rx_gainv }},
...
...
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