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
9421be1f
Commit
9421be1f
authored
Oct 16, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
45f2c7c6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
24 deletions
+21
-24
software/ors-amarisoft/config/enb.cfg
software/ors-amarisoft/config/enb.cfg
+7
-7
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+14
-17
No files found.
software/ors-amarisoft/config/enb.cfg
View file @
9421be1f
...
@@ -69,14 +69,14 @@
...
@@ -69,14 +69,14 @@
rat: "eutra",
rat: "eutra",
cell_id: 0x1A2D022, // -> CELL2
cell_id: 0x1A2D022, // -> CELL2
n_id_cell: 22,
n_id_cell: 22,
dl_earfcn:
3
00,
dl_earfcn:
5
00,
tac: 0x0001,
tac: 0x0001,
},
},
{
{
rat: "eutra",
rat: "eutra",
cell_id: 0x1A2D023, // -> CELL3
cell_id: 0x1A2D023, // -> CELL3
n_id_cell: 23,
n_id_cell: 23,
dl_earfcn:
50
0,
dl_earfcn:
275
0,
tac: 0x0001,
tac: 0x0001,
},
},
...
@@ -634,7 +634,7 @@
...
@@ -634,7 +634,7 @@
cell_id: 0x22,
cell_id: 0x22,
tac: 0x0001,
tac: 0x0001,
n_id_cell: 22,
n_id_cell: 22,
dl_earfcn:
3
00,
dl_earfcn:
5
00,
root_sequence_index: 205,
root_sequence_index: 205,
// Handover XXX same code for both LTE and NR
// Handover XXX same code for both LTE and NR
...
@@ -651,7 +651,7 @@
...
@@ -651,7 +651,7 @@
rat: "eutra",
rat: "eutra",
cell_id: 0x1A2D023, // -> CELL3
cell_id: 0x1A2D023, // -> CELL3
n_id_cell: 23,
n_id_cell: 23,
dl_earfcn:
50
0,
dl_earfcn:
275
0,
tac: 0x0001,
tac: 0x0001,
},
},
...
@@ -673,7 +673,7 @@
...
@@ -673,7 +673,7 @@
// tune LTE parameters for the cell
// tune LTE parameters for the cell
n_rb_dl:
75
,
n_rb_dl:
100
,
si_coderate: 0.2,
si_coderate: 0.2,
pdsch_dedicated: {
pdsch_dedicated: {
...
@@ -1209,7 +1209,7 @@
...
@@ -1209,7 +1209,7 @@
cell_id: 0x23,
cell_id: 0x23,
tac: 0x0001,
tac: 0x0001,
n_id_cell: 23,
n_id_cell: 23,
dl_earfcn:
50
0,
dl_earfcn:
275
0,
root_sequence_index: 206,
root_sequence_index: 206,
// Handover XXX same code for both LTE and NR
// Handover XXX same code for both LTE and NR
...
@@ -1226,7 +1226,7 @@
...
@@ -1226,7 +1226,7 @@
rat: "eutra",
rat: "eutra",
cell_id: 0x1A2D022, // -> CELL2
cell_id: 0x1A2D022, // -> CELL2
n_id_cell: 22,
n_id_cell: 22,
dl_earfcn:
3
00,
dl_earfcn:
5
00,
tac: 0x0001,
tac: 0x0001,
},
},
...
...
software/ors-amarisoft/slapos-render-config.py
View file @
9421be1f
...
@@ -214,11 +214,10 @@ def iRU3_SDR1_fLTE2(ienb):
...
@@ -214,11 +214,10 @@ def iRU3_SDR1_fLTE2(ienb):
})
})
def
iRU2_LOPCOMM_fLTE3
(
ienb
):
def
iRU2_LOPCOMM_fLTE3
(
ienb
):
# supports: 2110 - 2170 MHz
# supports: 2110 - 2170 MHz
(B1)
RU_0002
=
{
RU_
4
0002
=
{
'ru_type'
:
'lopcomm'
,
'ru_type'
:
'lopcomm'
,
'ru_link_type'
:
'cpri'
,
'ru_link_type'
:
'cpri'
,
# 'mac_addr': 'XXX',
'cpri_link'
:
{
'cpri_link'
:
{
'sdr_dev'
:
0
,
'sdr_dev'
:
0
,
'sfp_port'
:
0
,
'sfp_port'
:
0
,
...
@@ -234,18 +233,16 @@ def iRU2_LOPCOMM_fLTE3(ienb):
...
@@ -234,18 +233,16 @@ def iRU2_LOPCOMM_fLTE3(ienb):
'rx_gain'
:
0
,
'rx_gain'
:
0
,
}
}
# supports: 2110 - 2170 MHz
# supports: 2110 - 2170 MHz (B1)
RU_0004
=
copy
.
deepcopy
(
RU_0002
)
RU_60004
=
copy
.
deepcopy
(
RU_40002
)
# RU_0004['mac_addr'] = 'YYY'
RU_60004
[
'cpri_link'
][
'sfp_port'
]
=
1
RU_0004
[
'cpri_link'
][
'sfp_port'
]
=
1
# supports: 2110 - 2170 MHz
# supports: 2620 - 2690 MHz (B7)
RU_0007
=
copy
.
deepcopy
(
RU_0002
)
RU_70002
=
copy
.
deepcopy
(
RU_40002
)
# RU_0007['mac_addr'] = 'ZZZ'
RU_70002
[
'cpri_link'
][
'sfp_port'
]
=
2
RU_0007
[
'cpri_link'
][
'sfp_port'
]
=
2
if
1
:
if
1
:
ienb
.
ishared
(
'Radio Unit 1'
,
'_RU1'
,
RU_0002
)
ienb
.
ishared
(
'Radio Unit 1'
,
'_RU1'
,
RU_
4
0002
)
ienb
.
ishared
(
'Cell 1'
,
'_CELL1'
,
{
ienb
.
ishared
(
'Cell 1'
,
'_CELL1'
,
{
'cell_type'
:
'lte'
,
'cell_type'
:
'lte'
,
'rf_mode'
:
'fdd'
,
'rf_mode'
:
'fdd'
,
...
@@ -260,12 +257,12 @@ def iRU2_LOPCOMM_fLTE3(ienb):
...
@@ -260,12 +257,12 @@ def iRU2_LOPCOMM_fLTE3(ienb):
})
})
if
1
:
if
1
:
ienb
.
ishared
(
'Radio Unit 2'
,
'_RU2'
,
RU_0004
)
ienb
.
ishared
(
'Radio Unit 2'
,
'_RU2'
,
RU_
6
0004
)
ienb
.
ishared
(
'Cell 2'
,
'_CELL2'
,
{
ienb
.
ishared
(
'Cell 2'
,
'_CELL2'
,
{
'cell_type'
:
'lte'
,
'cell_type'
:
'lte'
,
'rf_mode'
:
'fdd'
,
'rf_mode'
:
'fdd'
,
'dl_earfcn'
:
300
,
# 214
0 MHz @ B1
'dl_earfcn'
:
500
,
# 216
0 MHz @ B1
'bandwidth'
:
'
15
MHz'
,
'bandwidth'
:
'
20
MHz'
,
'pci'
:
22
,
'pci'
:
22
,
'cell_id'
:
'0x22'
,
'cell_id'
:
'0x22'
,
'ru'
:
{
'ru'
:
{
...
@@ -275,11 +272,11 @@ def iRU2_LOPCOMM_fLTE3(ienb):
...
@@ -275,11 +272,11 @@ def iRU2_LOPCOMM_fLTE3(ienb):
})
})
if
1
:
if
1
:
ienb
.
ishared
(
'Radio Unit 3'
,
'_RU3'
,
RU_
0007
)
ienb
.
ishared
(
'Radio Unit 3'
,
'_RU3'
,
RU_
70002
)
ienb
.
ishared
(
'Cell 3'
,
'_CELL3'
,
{
ienb
.
ishared
(
'Cell 3'
,
'_CELL3'
,
{
'cell_type'
:
'lte'
,
'cell_type'
:
'lte'
,
'rf_mode'
:
'fdd'
,
'rf_mode'
:
'fdd'
,
'dl_earfcn'
:
500
,
# 2160 MHz @ B1
'dl_earfcn'
:
2750
,
# 2620 MHz @ B7
'bandwidth'
:
'20 MHz'
,
'bandwidth'
:
'20 MHz'
,
'pci'
:
23
,
'pci'
:
23
,
'cell_id'
:
'0x23'
,
'cell_id'
:
'0x23'
,
...
...
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