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
6c8960fa
Commit
6c8960fa
authored
Jan 10, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4a7f6b9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+7
-7
No files found.
software/ors-amarisoft/test/test.py
View file @
6c8960fa
...
...
@@ -243,7 +243,7 @@ class RFTestCase4(AmariTestCase):
RU
(
3
);
CELL
(
3
,
FDD
|
NR
(
300300
,
74
)
|
BW
(
15
))
RU
(
4
);
CELL
(
4
,
TDD
|
NR
(
470400
,
40
)
|
BW
(
20
))
def
test_
conf
_txrx_gain
(
t
):
def
test_
rf_cfg
_txrx_gain
(
t
):
# NOTE even though setting tx_gain/rx_gain does not make any difference
# for CPRI case, we still do set it there for consistency. For the
# reference: for CPRI case the real tx/rx gain is set in RU
...
...
@@ -418,7 +418,7 @@ class SDR4:
}
# radio units configuration
def
test_
enb_cfg_ru
(
t
):
# XXX enb/ue ?
def
test_
rf_cfg_ru
(
t
):
assertMatch
(
t
,
t
.
rf_cfg
[
'rf_driver'
],
dict
(
args
=
'dev0=/dev/sdr2,dev1=/dev/sdr3,dev2=/dev/sdr4,dev3=/dev/sdr5,'
+
'dev4=/dev/sdr6,dev5=/dev/sdr7,dev6=/dev/sdr8,dev7=/dev/sdr9'
,
...
...
@@ -450,7 +450,7 @@ class Lopcomm4:
}
# radio units configuration in enb.cfg
def
test_
enb
_cfg_ru
(
t
):
def
test_
rf
_cfg_ru
(
t
):
assertMatch
(
t
,
t
.
rf_cfg
[
'rf_driver'
],
dict
(
args
=
'dev0=/dev/sdr0@1,dev1=/dev/sdr0@2,dev2=/dev/sdr0@3,dev3=/dev/sdr0@4'
,
cpri_mapping
=
'hw,hw,hw,hw'
,
...
...
@@ -482,7 +482,7 @@ class Lopcomm4:
},
}
_
=
t
.
_test_ru_cu_c
fg
_
=
t
.
_test_ru_cu_c
onfig_xml
# rf_mode ctype dl_arfcn ul_arfcn bw dl_freq ul_freq txg rxg
_
(
1
,
uctx
(
'FDD'
,
'LTE'
,
100
,
18100
,
5000000
,
2120000000
,
1930000000
,
11
,
21
))
...
...
@@ -490,7 +490,7 @@ class Lopcomm4:
_
(
3
,
uctx
(
'FDD'
,
'NR'
,
300300
,
290700
,
15000000
,
1501500000
,
1453500000
,
13
,
23
))
_
(
4
,
uctx
(
'TDD'
,
'NR'
,
470400
,
470400
,
20000000
,
2352000000
,
2352000000
,
14
,
24
))
def
_test_ru_cu_c
fg
(
t
,
i
,
uctx
):
def
_test_ru_cu_c
onfig_xml
(
t
,
i
,
uctx
):
cu_xml
=
t
.
ipath
(
'etc/%s'
%
xbuildout
.
encode
(
'%s-cu_config.xml'
%
t
.
ref
(
'RU%d'
%
i
)))
with
open
(
cu_xml
,
'r'
)
as
f
:
cu
=
f
.
read
()
...
...
@@ -548,7 +548,7 @@ class Sunwave4:
}
# radio units configuration in enb.cfg
def
test_
enb
_cfg_ru
(
t
):
def
test_
rf
_cfg_ru
(
t
):
assertMatch
(
t
,
t
.
rf_cfg
[
'rf_driver'
],
dict
(
args
=
'dev0=/dev/sdr1@1,dev1=/dev/sdr1@2,dev2=/dev/sdr1@3,dev3=/dev/sdr1@4'
,
cpri_mapping
=
'bf1,bf1,bf1,bf1'
,
...
...
@@ -571,7 +571,7 @@ class RUMultiType4:
return
Sunwave4
.
RUcfg
(
i
)
# radio units configuration in enb.cfg
def
test_
enb
_cfg_ru
(
t
):
def
test_
rf
_cfg_ru
(
t
):
assertMatch
(
t
,
t
.
rf_cfg
[
'rf_driver'
],
dict
(
args
=
'dev0=/dev/sdr0@1,dev1=/dev/sdr0@2,dev2=/dev/sdr1@3,dev3=/dev/sdr1@4'
,
cpri_mapping
=
'hw,hw,bf1,bf1'
,
...
...
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