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
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
8b13e448
Commit
8b13e448
authored
Jan 10, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4a5f198a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+5
-5
No files found.
software/ors-amarisoft/test/test.py
View file @
8b13e448
...
@@ -183,10 +183,10 @@ class ENBTestCase(AmariTestCase):
...
@@ -183,10 +183,10 @@ class ENBTestCase(AmariTestCase):
# 0+ cell_id
# 0+ cell_id
# 0x10+ pci
# 0x10+ pci
# 0x100+ tac
# 0x100+ tac
# 10+ tx_gain
# 20+ rx_gain
# 100+ root_sequence_index
# 100+ root_sequence_index
# 1000+ inactivity_timer
# 1000+ inactivity_timer
# -1+ tx_gain
# -10+ rx_gain
# xxx+i·100 arfcn
# xxx+i·100 arfcn
# 5,10,15,20 bandwidth
# 5,10,15,20 bandwidth
#
#
...
@@ -197,7 +197,7 @@ class ENBTestCase(AmariTestCase):
...
@@ -197,7 +197,7 @@ class ENBTestCase(AmariTestCase):
def
RU
(
i
):
def
RU
(
i
):
ru
=
cls
.
RUcfg
(
i
)
ru
=
cls
.
RUcfg
(
i
)
ru
|=
{
'n_antenna_dl'
:
4
,
'n_antenna_ul'
:
2
}
ru
|=
{
'n_antenna_dl'
:
4
,
'n_antenna_ul'
:
2
}
ru
|=
{
'tx_gain'
:
-
(
0
+
i
),
'rx_gain'
:
-
(
10
+
i
)
,
'txrx_active'
:
'INACTIVE'
}
ru
|=
{
'tx_gain'
:
10
+
i
,
'rx_gain'
:
20
+
i
,
'txrx_active'
:
'INACTIVE'
}
cls
.
requestShared
(
imain
,
'RU%d'
%
i
,
ru
)
cls
.
requestShared
(
imain
,
'RU%d'
%
i
,
ru
)
def
CELL
(
i
,
ctx
):
def
CELL
(
i
,
ctx
):
...
@@ -377,8 +377,8 @@ class TestENB_SDR(ENBTestCase):
...
@@ -377,8 +377,8 @@ class TestENB_SDR(ENBTestCase):
))
))
# XXX -> generic ? XXX no (for cpri case it is all 0 here)
# XXX -> generic ? XXX no (for cpri case it is all 0 here)
t
.
assertEqual
(
t
.
enb_cfg
[
'tx_gain'
],
[
-
1
]
*
4
+
[
-
2
]
*
4
+
[
-
3
]
*
4
+
[
-
4
]
*
4
)
t
.
assertEqual
(
t
.
enb_cfg
[
'tx_gain'
],
[
11
]
*
4
+
[
12
]
*
4
+
[
13
]
*
4
+
[
1
4
]
*
4
)
t
.
assertEqual
(
t
.
enb_cfg
[
'rx_gain'
],
[
-
11
]
*
2
+
[
-
12
]
*
2
+
[
-
13
]
*
2
+
[
-
1
4
]
*
2
)
t
.
assertEqual
(
t
.
enb_cfg
[
'rx_gain'
],
[
21
]
*
2
+
[
22
]
*
2
+
[
23
]
*
2
+
[
2
4
]
*
2
)
# TestENB_Lopcomm verifies eNB wrt Lopcomm driver in all LTE/NR x FDD/TDD modes.
# TestENB_Lopcomm verifies eNB wrt Lopcomm driver in all LTE/NR x FDD/TDD modes.
...
...
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