Commit 461b0259 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 6d4d8a34
...@@ -10,9 +10,6 @@ ...@@ -10,9 +10,6 @@
args: "", args: "",
}, },
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
{%- for n in ru['dev_list'] %} {%- for n in ru['dev_list'] %}
{%- do dev_argv.append("dev%d=/dev/sdr%d" % (len(dev_argv), n)) %} {%- do dev_argv.append("dev%d=/dev/sdr%d" % (len(dev_argv), n)) %}
{%- endfor %} {%- endfor %}
rx_antenna:"tx_rx", XXX -> ru/sdr ? rx_antenna:"tx_rx", XXX -> ru/sdr ? FIXME don't repeat multiple times
tdd_tx_mod: 1, tdd_tx_mod: 1,
{%- elif ru['ru_link_type'] == 'cpri' %} {%- elif ru['ru_link_type'] == 'cpri' %}
{%- do ru_cpri_dict.update({len(dev_argv): ru}) %} {%- do ru_cpri_dict.update({len(dev_argv): ru}) %}
...@@ -127,8 +127,8 @@ ...@@ -127,8 +127,8 @@
args: "{{dev_argv | join(',')}}", args: "{{dev_argv | join(',')}}",
{# emit cpri_* optins if a cpri ru is present #} {#- emit cpri_* optins if a cpri ru is present #}
{# NOTE values for non-cpri links come as empty XXX recheck this is ok #} {#- NOTE values for non-cpri links come as empty XXX recheck this is ok #}
{%- if ru_cpri_dict|length > 0 %} {%- if ru_cpri_dict|length > 0 %}
{%- set vcpri = [None]*(dev_argv|length) %} {%- set vcpri = [None]*(dev_argv|length) %}
{%- for dev, ru in ru_cpri_dict|dictsort %} {%- for dev, ru in ru_cpri_dict|dictsort %}
......
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