Commit 1815c641 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 389afd77
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
dl_nr_arfcn: {{ cell.dl_nr_arfcn }}, dl_nr_arfcn: {{ cell.dl_nr_arfcn }},
bandwidth: {{ cell.bandwidth }}, bandwidth: {{ cell.bandwidth }},
subcarrier_spacing: {{ 30 if ru.rf_mode == 'tdd' else 15 }}, subcarrier_spacing: {{ 30 if cell.rf_mode == 'tdd' else 15 }},
ssb_nr_arfcn: {{ cell.get('ssb_nr_arfcn', lte.default_ssb_nr_arfcn(cell.dl_nr_arfcn)) }}, ssb_nr_arfcn: {{ cell.get('ssb_nr_arfcn', lte.default_ssb_nr_arfcn(cell.dl_nr_arfcn)) }},
ssb_pos_bitmap: {{ cell.ssb_pos_bitmap }}, ssb_pos_bitmap: {{ cell.ssb_pos_bitmap }},
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
bandwidth: {{ cell.bandwidth }}, bandwidth: {{ cell.bandwidth }},
ssb_nr_arfcn: {{ cell.get('ssb_nr_arfcn', lte.default_ssb_nr_arfcn(cell.dl_nr_arfcn)) }}, ssb_nr_arfcn: {{ cell.get('ssb_nr_arfcn', lte.default_ssb_nr_arfcn(cell.dl_nr_arfcn)) }},
subcarrier_spacing: {{ 30 if ru.rf_mode == 'tdd' else 15 }}, subcarrier_spacing: {{ 30 if cell.rf_mode == 'tdd' else 15 }},
}, },
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
......
...@@ -241,11 +241,43 @@ def do_enb(): ...@@ -241,11 +241,43 @@ def do_enb():
def do_ue(): def do_ue():
iue = Instance('ue') iue = Instance('ue')
iue.ishared('UE 1', '_UE_1', { iue.ishared('Cell 1', '_UCELL1', {
'ue_cell_type': 'lte',
'rf_mode': 'tdd',
'bandwidth': '5 MHz',
'dl_earfcn': 38050, # 2600 MHz
'ru': {
'ru_type': 'sdr',
'ru_link_type': 'sdr',
'sdr_dev_list': [0],
'n_antenna_dl': 2,
'n_antenna_ul': 1,
'tx_gain': 41,
'rx_gain': 42,
}
})
iue.ishared('Cell 2b', '_UECELL2', {
'ue_cell_type': 'nr',
'rf_mode': 'fdd',
'bandwidth': 5,
'dl_nr_arfcn': 537200, # 2686 MHz
'nr_band': 7,
'ru': { # NOTE contrary to eNB UEsim cannot share one RU in between several cells
'ru_type': 'sdr',
'ru_link_type': 'sdr',
'sdr_dev_list': [2],
'n_antenna_dl': 2,
'n_antenna_ul': 2,
'tx_gain': 31,
'rx_gain': 32,
}
})
iue.ishared('UE 1', '_UE1', {
'ue_type': 'lte', 'ue_type': 'lte',
'rue_addr': 'host1' 'rue_addr': 'host1'
}) })
iue.ishared('UE 2', '_UE_2', { iue.ishared('UE 2', '_UE2', {
'ue_type': 'nr', 'ue_type': 'nr',
'rue_addr': 'host2' 'rue_addr': 'host2'
}) })
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
"required": [ "required": [
"ue_cell_type", "ue_cell_type",
"rf_mode",
"ru" "ru"
], ],
...@@ -22,6 +23,8 @@ ...@@ -22,6 +23,8 @@
"options": { "hidden": true } "options": { "hidden": true }
}, },
"rf_mode": { "$ref": "../../cell/input-schema.json#/properties/rf_mode" },
"ru": { "ru": {
"$ref": "../../cell/input-schema.json#/$defs/ru-of-cell", "$ref": "../../cell/input-schema.json#/$defs/ru-of-cell",
"propertyOrder": 9999 "propertyOrder": 9999
......
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