Commit 1d9d744e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d5fbeefd
...@@ -91,7 +91,6 @@ ...@@ -91,7 +91,6 @@
"cell_type", "cell_type",
"rf_mode", "rf_mode",
"bandwidth", "bandwidth",
"tdd_ul_dl_config" if rf_mode=="tdd",
"dl_nr_arfcn", "dl_nr_arfcn",
"pci", "pci",
"cell_id", "cell_id",
...@@ -110,20 +109,7 @@ ...@@ -110,20 +109,7 @@
"title": "Bandwidth", "title": "Bandwidth",
"description": "Downlink Bandwidth (in MHz)", "description": "Downlink Bandwidth (in MHz)",
"type": "number" "type": "number"
} },
if rf_mode == "tdd":
"tdd_ul_dl_config": {
"title": "TDD",
"description": "TDD",
"type": "string",
"enum": [
"5ms 2UL 7DL 4/6 (default)",
"2.5ms 1UL 3DL 2/10",
"5ms 8UL 3DL 2/10 (maximum uplink)"
],
"default": "5ms 2UL 7DL 4/6 (default)"
},
"dl_nr_arfcn": { "dl_nr_arfcn": {
"title": "DL NR ARFCN", "title": "DL NR ARFCN",
...@@ -148,7 +134,29 @@ ...@@ -148,7 +134,29 @@
"cell_id": { "$ref": "#/$defs/cell_id" }, "cell_id": { "$ref": "#/$defs/cell_id" },
"ru": { "$ref": "#/$defs/ru" } "ru": { "$ref": "#/$defs/ru" }
},
"if": {
"properties": {
"rf_mode": {
"const": "tdd"
}
}
},
"then": {
"tdd_ul_dl_config": {
"title": "TDD",
"description": "TDD",
"type": "string",
"enum": [
"5ms 2UL 7DL 4/6 (default)",
"2.5ms 1UL 3DL 2/10",
"5ms 8UL 3DL 2/10 (maximum uplink)"
],
"default": "5ms 2UL 7DL 4/6 (default)"
}
} }
} }
], ],
......
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