Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
slapos
Commits
3db1ebe5
Commit
3db1ebe5
authored
May 21, 2024
by
Lu Xu
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/ors-amarisoft: Add high UL TDD config
Follow
https://tech-academy.amarisoft.com/NR_TDD_Pattern.html#Test_4
parent
5eed3c4b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
7 deletions
+26
-7
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
software/ors-amarisoft/cell/nr/input-schema.json
software/ors-amarisoft/cell/nr/input-schema.json
+2
-1
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+14
-3
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+1
-1
software/ors-amarisoft/test/test_ors.py
software/ors-amarisoft/test/test_ors.py
+8
-1
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
3db1ebe5
...
@@ -112,7 +112,7 @@ md5sum = 3b901e8733e6afff8940c6c318da4493
...
@@ -112,7 +112,7 @@ md5sum = 3b901e8733e6afff8940c6c318da4493
[enb.jinja2.cfg]
[enb.jinja2.cfg]
filename = config/enb.jinja2.cfg
filename = config/enb.jinja2.cfg
md5sum =
e1c40827e30d6ddcd98be35ec8569af2
md5sum =
1b8dc68206485299c08ab0e1544773f6
[drb_lte.jinja2.cfg]
[drb_lte.jinja2.cfg]
filename = config/drb_lte.jinja2.cfg
filename = config/drb_lte.jinja2.cfg
...
...
software/ors-amarisoft/cell/nr/input-schema.json
View file @
3db1ebe5
...
@@ -24,7 +24,8 @@
...
@@ -24,7 +24,8 @@
"enum"
:
[
"enum"
:
[
"5ms 2UL 7DL 4/6 (default)"
,
"5ms 2UL 7DL 4/6 (default)"
,
"2.5ms 1UL 3DL 2/10"
,
"2.5ms 1UL 3DL 2/10"
,
"5ms 8UL 1DL 2/10 (maximum uplink)"
"5ms 8UL 1DL 2/10 (EXPERIMENTAL maximum uplink)"
,
"5ms 6UL 3DL 10/2 (high uplink)"
],
],
"default"
:
"5ms 2UL 7DL 4/6 (default)"
,
"default"
:
"5ms 2UL 7DL 4/6 (default)"
,
"options"
:
{
"options"
:
{
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
3db1ebe5
...
@@ -537,9 +537,10 @@
...
@@ -537,9 +537,10 @@
{%- set tdd = (cell.rf_mode == 'tdd') %}
{%- set tdd = (cell.rf_mode == 'tdd') %}
{%- set tdd_config =
{%- set tdd_config =
{'5ms 2UL 7DL 4/6 (default)': 1,
{'5ms 2UL 7DL 4/6 (default)': 1,
'2.5ms 1UL 3DL 2/10': 2,
'2.5ms 1UL 3DL 2/10': 2,
'5ms 8UL 1DL 2/10 (maximum uplink)': 3}
'5ms 8UL 1DL 2/10 (EXPERIMENTAL maximum uplink)': 3,
'5ms 6UL 3DL 10/2 (high uplink)': 4}
[cell.tdd_ul_dl_config]
[cell.tdd_ul_dl_config]
if tdd else None %}
if tdd else None %}
{% if tdd_config == 1 %}
{% if tdd_config == 1 %}
...
@@ -572,6 +573,16 @@
...
@@ -572,6 +573,16 @@
ul_symbols: 2,
ul_symbols: 2,
},
},
},
},
{% elif tdd_config == 4 %}
tdd_ul_dl_config: {
pattern1: {
period: 5, /* in ms */
dl_slots: 3,
dl_symbols: 2,
ul_slots: 6,
ul_symbols: 10,
},
},
{% endif %}
{% endif %}
prach: {
prach: {
...
...
software/ors-amarisoft/slapos-render-config.py
View file @
3db1ebe5
...
@@ -409,7 +409,7 @@ def ORS_gnb(ienb):
...
@@ -409,7 +409,7 @@ def ORS_gnb(ienb):
'root_sequence_index'
:
1
,
'root_sequence_index'
:
1
,
'pci'
:
500
,
'pci'
:
500
,
'cell_id'
:
'0x01'
,
'cell_id'
:
'0x01'
,
"tdd_ul_dl_config"
:
"5ms 8UL 1DL 2/10 (maximum uplink)"
,
"tdd_ul_dl_config"
:
"5ms 8UL 1DL 2/10 (
EXPERIMENTAL
maximum uplink)"
,
'inactivity_timer'
:
10000
,
'inactivity_timer'
:
10000
,
'ru'
:
{
'ru'
:
{
'ru_type'
:
'ru_ref'
,
'ru_type'
:
'ru_ref'
,
...
...
software/ors-amarisoft/test/test_ors.py
View file @
3db1ebe5
...
@@ -123,7 +123,7 @@ gnb_param_dict2 = {
...
@@ -123,7 +123,7 @@ gnb_param_dict2 = {
'0x171717'
:
{
'sd'
:
'0x171717'
,
'sst'
:
10
},
'0x171717'
:
{
'sd'
:
'0x171717'
,
'sst'
:
10
},
'0x181818'
:
{
'sd'
:
'0x181818'
,
'sst'
:
20
},
'0x181818'
:
{
'sd'
:
'0x181818'
,
'sst'
:
20
},
},
},
'tdd_ul_dl_config'
:
'
2.5ms 1UL 3DL 2/10
'
,
'tdd_ul_dl_config'
:
'
5ms 6UL 3DL 10/2 (high uplink)
'
,
}
}
enb_param_dict
.
update
(
param_dict
)
enb_param_dict
.
update
(
param_dict
)
gnb_param_dict1
.
update
(
param_dict
)
gnb_param_dict1
.
update
(
param_dict
)
...
@@ -217,6 +217,13 @@ def test_gnb_conf2(self):
...
@@ -217,6 +217,13 @@ def test_gnb_conf2(self):
self
.
assertEqual
(
sd
,
gnb_param_dict2
[
'nssai'
][
sd
][
'sd'
],
16
)
self
.
assertEqual
(
sd
,
gnb_param_dict2
[
'nssai'
][
sd
][
'sd'
],
16
)
self
.
assertEqual
(
p
[
'sst'
],
gnb_param_dict2
[
'nssai'
][
sd
][
'sst'
])
self
.
assertEqual
(
p
[
'sst'
],
gnb_param_dict2
[
'nssai'
][
sd
][
'sst'
])
tdd_config
=
conf
[
'nr_cell_list'
][
0
][
'tdd_ul_dl_config'
][
'pattern1'
]
self
.
assertEqual
(
float
(
tdd_config
[
'period'
]),
5
)
self
.
assertEqual
(
int
(
tdd_config
[
'dl_slots'
]),
3
)
self
.
assertEqual
(
int
(
tdd_config
[
'dl_symbols'
]),
2
)
self
.
assertEqual
(
int
(
tdd_config
[
'ul_slots'
]),
6
)
self
.
assertEqual
(
int
(
tdd_config
[
'ul_symbols'
]),
10
)
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
conf_file
=
glob
.
glob
(
os
.
path
.
join
(
conf_file
=
glob
.
glob
(
os
.
path
.
join
(
...
...
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