Commit c192382b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent bbdbba1e
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
rf_driver: { rf_driver: {
name: "sdr", name: "sdr",
// _CELL1_a_ru
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,
......
...@@ -191,6 +191,7 @@ ...@@ -191,6 +191,7 @@
{%- 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['_'] %}
{%- do ru.update({'_rf_port': rf_port}) %} {%- do ru.update({'_rf_port': rf_port}) %}
{%- if ru.ru_type == 'sdr' %} {%- if ru.ru_type == 'sdr' %}
...@@ -213,7 +214,6 @@ ...@@ -213,7 +214,6 @@
{%- do tx_gainv.extend([ru.tx_gain]*ru.n_antenna_dl) %} {%- do tx_gainv.extend([ru.tx_gain]*ru.n_antenna_dl) %}
{%- do rx_gainv.extend([ru.rx_gain]*ru.n_antenna_ul) %} {%- do rx_gainv.extend([ru.rx_gain]*ru.n_antenna_ul) %}
{%- endfor %} {%- endfor %}
args: "{{dev_argv | join(',')}}", args: "{{dev_argv | join(',')}}",
{#- emit sdr-related options if an sdr ru is present #} {#- emit sdr-related options if an sdr ru is present #}
......
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