Commit 8824a742 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c192382b
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
log_filename: "log/enb.log", log_filename: "log/enb.log",
// Radio Units
rf_driver: { rf_driver: {
name: "sdr", name: "sdr",
// _CELL1_a_ru // _CELL1_a_ru 4T2R
args: "dev0=/dev/sdr0,dev1=/dev/sdr1", args: "dev0=/dev/sdr0,dev1=/dev/sdr1",
rx_antenna:"tx_rx", rx_antenna:"tx_rx",
tdd_tx_mod: 1, tdd_tx_mod: 1,
}, },
tx_gain: [51, 51, 51, 51], tx_gain: [51, 51, 51, 51],
rx_gain: [52, 52], rx_gain: [52, 52],
com_addr: "127.0.1.2:9001", com_addr: "127.0.1.2:9001",
......
...@@ -169,6 +169,7 @@ ...@@ -169,6 +169,7 @@
log_filename: "{{ directory['log'] }}/enb.log", log_filename: "{{ directory['log'] }}/enb.log",
{# instantiate radio units #} {# instantiate radio units #}
// Radio Units
rf_driver: { rf_driver: {
{%- if slapparameter_dict.get('disable_sdr', False) %} {%- if slapparameter_dict.get('disable_sdr', False) %}
name: "dummy", name: "dummy",
...@@ -191,8 +192,8 @@ ...@@ -191,8 +192,8 @@
{%- set tx_gainv = [] %} {#- tx_gain by tx channel #} {%- set tx_gainv = [] %} {#- tx_gain by tx channel #}
{%- set rx_gainv = [] %} {#- rx_gain by tx channel #} {%- set rx_gainv = [] %} {#- rx_gain by tx channel #}
{%- for rf_port, (ru_ref, iru) in enumerate(iru_dict|dictsort) %} {%- for rf_port, (ru_ref, iru) in enumerate(iru_dict|dictsort) %}
// {{ ru_ref }}
{%- set ru = iru['_'] %} {%- set ru = iru['_'] %}
// {{ ru_ref }} {{ ru.n_antenna_dl }}T{{ ru.n_antenna_ul }}R
{%- do ru.update({'_rf_port': rf_port}) %} {%- do ru.update({'_rf_port': rf_port}) %}
{%- if ru.ru_type == 'sdr' %} {%- if ru.ru_type == 'sdr' %}
{%- do ru_sdr_dict.update({len(dev_argv): ru}) %} {%- do ru_sdr_dict.update({len(dev_argv): ru}) %}
...@@ -248,6 +249,7 @@ ...@@ -248,6 +249,7 @@
{%- endif %} {%- endif %}
}, },
{#- emit tx/rx gain for all channels #}
tx_gain: {{ tx_gainv }}, tx_gain: {{ tx_gainv }},
rx_gain: {{ rx_gainv }}, rx_gain: {{ rx_gainv }},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment