Commit 4e64bd85 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 86d8398c
......@@ -588,7 +588,7 @@
dl_nr_arfcn: {{ cell.dl_nr_arfcn }},
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_pos_bitmap: {{ cell.ssb_pos_bitmap }},
......
......@@ -15,6 +15,9 @@
}
%}
// XXX setup iru + icell
{#- iue_dict keeps ue slave instances: reference -> iue
in the kept instances _ is automatically json-decoded
#}
......@@ -109,7 +112,7 @@ rf_driver: {
bandwidth: {{ cell.bandwidth }},
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 %}
{%- endfor %}
......
import json, copy, sys, pprint
# XXX test both enb.cfg + ue.cfg simultaneously
config = "enb"
json_params_empty = """{
"rf_mode": 'fdd',
......
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