Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
548f1493
Commit
548f1493
authored
Sep 13, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
6c4964f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
167 additions
and
15 deletions
+167
-15
software/ors-amarisoft/config/enb.cfg
software/ors-amarisoft/config/enb.cfg
+136
-12
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+31
-3
No files found.
software/ors-amarisoft/config/enb.cfg
View file @
548f1493
...
...
@@ -49,17 +49,48 @@
n_id_cell: 1,
dl_earfcn: 38050,
root_sequence_index: 204,
// Handover
ncell_list: [
// Intra-ENB HO
{
rat: eutra,
n_id_cell: 2,
dl_earfcn: 38100,
cell_id: 0x1A2D00x02, // -> CELL1_b
tac: 0x0001,
},
{
rat: eutra,
n_id_cell: 21,
dl_earfcn: 3350,
cell_id: 0x1A2D00x21, // -> CELL2_a
tac: 0x0001,
},
{
rat: eutra,
n_id_cell: 22,
dl_earfcn: 3410,
cell_id: 0x1A2D00x22, // -> CELL2_b
tac: 0x0001,
},
// Inter-ENB HO
],
// Carrier Aggregation // XXX + CA LTE-NR
scell_list: [
{
cell_id: 0x02, // CELL1_b
cell_id: 0x02, //
+
CELL1_b
cross_carrier_scheduling: false,
},
{
cell_id: 0x21, // CELL2_a
cell_id: 0x21, //
+
CELL2_a
cross_carrier_scheduling: false,
},
{
cell_id: 0x22, // CELL2_b
cell_id: 0x22, //
+
CELL2_b
cross_carrier_scheduling: false,
},
],
...
...
@@ -609,17 +640,48 @@
n_id_cell: 2,
dl_earfcn: 38100,
root_sequence_index: 205,
// Handover
ncell_list: [
// Intra-ENB HO
{
rat: eutra,
n_id_cell: 1,
dl_earfcn: 38050,
cell_id: 0x1A2D00x01, // -> CELL1_a
tac: 0x0001,
},
{
rat: eutra,
n_id_cell: 21,
dl_earfcn: 3350,
cell_id: 0x1A2D00x21, // -> CELL2_a
tac: 0x0001,
},
{
rat: eutra,
n_id_cell: 22,
dl_earfcn: 3410,
cell_id: 0x1A2D00x22, // -> CELL2_b
tac: 0x0001,
},
// Inter-ENB HO
],
// Carrier Aggregation // XXX + CA LTE-NR
scell_list: [
{
cell_id: 0x01, // CELL1_a
cell_id: 0x01, //
+
CELL1_a
cross_carrier_scheduling: false,
},
{
cell_id: 0x21, // CELL2_a
cell_id: 0x21, //
+
CELL2_a
cross_carrier_scheduling: false,
},
{
cell_id: 0x22, // CELL2_b
cell_id: 0x22, //
+
CELL2_b
cross_carrier_scheduling: false,
},
],
...
...
@@ -1169,17 +1231,48 @@
n_id_cell: 21,
dl_earfcn: 3350,
root_sequence_index: 206,
// Handover
ncell_list: [
// Intra-ENB HO
{
rat: eutra,
n_id_cell: 1,
dl_earfcn: 38050,
cell_id: 0x1A2D00x01, // -> CELL1_a
tac: 0x0001,
},
{
rat: eutra,
n_id_cell: 2,
dl_earfcn: 38100,
cell_id: 0x1A2D00x02, // -> CELL1_b
tac: 0x0001,
},
{
rat: eutra,
n_id_cell: 22,
dl_earfcn: 3410,
cell_id: 0x1A2D00x22, // -> CELL2_b
tac: 0x0001,
},
// Inter-ENB HO
],
// Carrier Aggregation // XXX + CA LTE-NR
scell_list: [
{
cell_id: 0x01, // CELL1_a
cell_id: 0x01, //
+
CELL1_a
cross_carrier_scheduling: false,
},
{
cell_id: 0x02, // CELL1_b
cell_id: 0x02, //
+
CELL1_b
cross_carrier_scheduling: false,
},
{
cell_id: 0x22, // CELL2_b
cell_id: 0x22, //
+
CELL2_b
cross_carrier_scheduling: false,
},
],
...
...
@@ -1725,17 +1818,48 @@
n_id_cell: 22,
dl_earfcn: 3410,
root_sequence_index: 207,
// Handover
ncell_list: [
// Intra-ENB HO
{
rat: eutra,
n_id_cell: 1,
dl_earfcn: 38050,
cell_id: 0x1A2D00x01, // -> CELL1_a
tac: 0x0001,
},
{
rat: eutra,
n_id_cell: 2,
dl_earfcn: 38100,
cell_id: 0x1A2D00x02, // -> CELL1_b
tac: 0x0001,
},
{
rat: eutra,
n_id_cell: 21,
dl_earfcn: 3350,
cell_id: 0x1A2D00x21, // -> CELL2_a
tac: 0x0001,
},
// Inter-ENB HO
],
// Carrier Aggregation // XXX + CA LTE-NR
scell_list: [
{
cell_id: 0x01, // CELL1_a
cell_id: 0x01, //
+
CELL1_a
cross_carrier_scheduling: false,
},
{
cell_id: 0x02, // CELL1_b
cell_id: 0x02, //
+
CELL1_b
cross_carrier_scheduling: false,
},
{
cell_id: 0x21, // CELL2_a
cell_id: 0x21, //
+
CELL2_a
cross_carrier_scheduling: false,
},
],
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
548f1493
...
...
@@ -5,6 +5,7 @@
{#- defaults provide default values for parameters.
it should be kept in sync with "default" in json schemas #}
{%- set defaults = {
'enb_id': '0x1A2D0',
'cell': {
'pci': 1,
'tac': "0x0001",
...
...
@@ -19,6 +20,11 @@
}
%}
{#- cfg returns value of configuration parameter name #}
{%- macro cfg(name) %}
{{- slapparameter_dict.get(name, defaults.get(name)) }}
{%- endmacro %}
{%- import 'lte.jinja2' as lte -%}
{#- J is used around macro calls to retrieve returned objects.
...
...
@@ -262,7 +268,7 @@
gtp_addr: "127.0.1.1",
{% endif %}
enb_id: {{
slapparameter_dict.get('enb_id', '0x1A2D0
') }},
enb_id: {{
cfg('enb_id
') }},
// LTE cells
cell_list: [
...
...
@@ -286,13 +292,35 @@
slapparameter_dict.get('root_sequence_index',
204 + i)) }},
{#- CA in between all LTE cells #}
// Handover
ncell_list: [
// Intra-ENB HO
{%- for cell2_ref, icell2 in icell_dict|dictsort %}
{%- set cell2 = icell2['_'] %}
{%- if cell2_ref != cell_ref %} {#- NOTE: HO to both LTE and NR #}
{
rat: {{ {'lte':'eutra', 'nr':'nr'}.get(cell2['cell_type']) }},
n_id_cell: {{ cell2['pci'] }},
dl_earfcn: {{ cell2['dl_earfcn'] }},
cell_id: {{ cfg('enb_id')}}{{ cell2['cell_id'] }}, // -> {{ J(jref_of_shared(icell2)) }}
tac: {{ cell2['tac'] }},
{#- XXX handle nr properly (tac_5gc, gnb_id in cell_id) #}
},
{%- endif %}
{%- endfor %}
// Inter-ENB HO
],
// Carrier Aggregation
{#- CA in between all LTE cells #} // XXX + CA LTE-NR
scell_list: [
{%- for cell2_ref, icell2 in icell_dict|dictsort %}
{%- set cell2 = icell2['_'] %}
{%- if cell2_ref != cell_ref and cell2['cell_type'] == 'lte' %}
{
cell_id: {{ cell2['cell_id'] }}, // {{ J(jref_of_shared(icell2)) }}
cell_id: {{ cell2['cell_id'] }}, //
+
{{ J(jref_of_shared(icell2)) }}
cross_carrier_scheduling: false,
},
{%- endif %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment