Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
lizhongxiao
OpenXG-RAN
Commits
232700e4
Commit
232700e4
authored
Mar 11, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/rfsim-timeout' into integration_2023_w10b
parents
52d7d288
87b7a980
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
14 additions
and
12 deletions
+14
-12
ci-scripts/yaml_files/5g_f1_rfsimulator/docker-compose.yaml
ci-scripts/yaml_files/5g_f1_rfsimulator/docker-compose.yaml
+1
-1
ci-scripts/yaml_files/5g_fdd_rfsimulator/docker-compose.yaml
ci-scripts/yaml_files/5g_fdd_rfsimulator/docker-compose.yaml
+1
-1
ci-scripts/yaml_files/5g_rfsimulator/docker-compose.yaml
ci-scripts/yaml_files/5g_rfsimulator/docker-compose.yaml
+1
-1
ci-scripts/yaml_files/5g_rfsimulator_24prb/docker-compose.yaml
...ripts/yaml_files/5g_rfsimulator_24prb/docker-compose.yaml
+1
-1
ci-scripts/yaml_files/5g_rfsimulator_2x2/docker-compose.yaml
ci-scripts/yaml_files/5g_rfsimulator_2x2/docker-compose.yaml
+1
-1
ci-scripts/yaml_files/5g_rfsimulator_e1/docker-compose.yaml
ci-scripts/yaml_files/5g_rfsimulator_e1/docker-compose.yaml
+1
-1
ci-scripts/yaml_files/5g_rfsimulator_fdd_phytest/docker-compose.yaml
...yaml_files/5g_rfsimulator_fdd_phytest/docker-compose.yaml
+1
-1
ci-scripts/yaml_files/5g_rfsimulator_fr2_32prb/docker-compose.yaml
...s/yaml_files/5g_rfsimulator_fr2_32prb/docker-compose.yaml
+1
-1
ci-scripts/yaml_files/5g_rfsimulator_tdd_dora/docker-compose.yaml
...ts/yaml_files/5g_rfsimulator_tdd_dora/docker-compose.yaml
+1
-1
ci-scripts/yaml_files/5g_rfsimulator_u0_25prb/docker-compose.yaml
...ts/yaml_files/5g_rfsimulator_u0_25prb/docker-compose.yaml
+1
-1
radio/rfsimulator/simulator.c
radio/rfsimulator/simulator.c
+4
-2
No files found.
ci-scripts/yaml_files/5g_f1_rfsimulator/docker-compose.yaml
View file @
232700e4
...
...
@@ -219,7 +219,7 @@ services:
F1_DU_IP_ADDRESS
:
192.168.71.142
F1_CU_D_PORT
:
2153
F1_DU_D_PORT
:
2153
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --log_config.global_log_options level,nocolor,time
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --
rfsimulator.wait_timeout 20 --
log_config.global_log_options level,nocolor,time
depends_on
:
-
oai-cu
networks
:
...
...
ci-scripts/yaml_files/5g_fdd_rfsimulator/docker-compose.yaml
View file @
232700e4
...
...
@@ -180,7 +180,7 @@ services:
GNB_NGA_IP_ADDRESS
:
192.168.71.140
GNB_NGU_IF_NAME
:
eth0
GNB_NGU_IP_ADDRESS
:
192.168.71.140
USE_ADDITIONAL_OPTIONS
:
--sa -E --rfsim --log_config.global_log_options level,nocolor,time
USE_ADDITIONAL_OPTIONS
:
--sa -E --rfsim --
rfsimulator.wait_timeout 20 --
log_config.global_log_options level,nocolor,time
depends_on
:
-
oai-ext-dn
networks
:
...
...
ci-scripts/yaml_files/5g_rfsimulator/docker-compose.yaml
View file @
232700e4
...
...
@@ -181,7 +181,7 @@ services:
GNB_NGU_IF_NAME
:
eth0
GNB_NGU_IP_ADDRESS
:
192.168.71.140
SDR_ADDRS
:
serial=XXXXXXX
USE_ADDITIONAL_OPTIONS
:
--sa -E --rfsim --log_config.global_log_options level,nocolor,time
USE_ADDITIONAL_OPTIONS
:
--sa -E --rfsim --
rfsimulator.wait_timeout 20 --
log_config.global_log_options level,nocolor,time
depends_on
:
-
oai-ext-dn
networks
:
...
...
ci-scripts/yaml_files/5g_rfsimulator_24prb/docker-compose.yaml
View file @
232700e4
...
...
@@ -169,7 +169,7 @@ services:
environment
:
RFSIMULATOR
:
server
USE_VOLUMED_CONF
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --log_config.global_log_options level,nocolor,time
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --
rfsimulator.wait_timeout 20 --
log_config.global_log_options level,nocolor,time
depends_on
:
-
oai-ext-dn
networks
:
...
...
ci-scripts/yaml_files/5g_rfsimulator_2x2/docker-compose.yaml
View file @
232700e4
...
...
@@ -169,7 +169,7 @@ services:
environment
:
RFSIMULATOR
:
server
USE_VOLUMED_CONF
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --log_config.global_log_options level,nocolor,time
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --
rfsimulator.wait_timeout 20 --
log_config.global_log_options level,nocolor,time
depends_on
:
-
oai-ext-dn
networks
:
...
...
ci-scripts/yaml_files/5g_rfsimulator_e1/docker-compose.yaml
View file @
232700e4
...
...
@@ -216,7 +216,7 @@ services:
environment
:
RFSIMULATOR
:
server
USE_VOLUMED_CONF
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --log_config.global_log_options level,nocolor,time
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --
rfsimulator.wait_timeout 20 --
log_config.global_log_options level,nocolor,time
networks
:
ran_net
:
ipv4_address
:
192.168.72.142
...
...
ci-scripts/yaml_files/5g_rfsimulator_fdd_phytest/docker-compose.yaml
View file @
232700e4
...
...
@@ -7,7 +7,7 @@ services:
environment
:
RFSIMULATOR
:
server
USE_VOLUMED_CONF
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--phy-test --rfsim --noS1 --log_config.global_log_options level,nocolor,time
USE_ADDITIONAL_OPTIONS
:
--phy-test --rfsim --
rfsimulator.wait_timeout 20 --
noS1 --log_config.global_log_options level,nocolor,time
networks
:
public_net
:
ipv4_address
:
192.168.71.140
...
...
ci-scripts/yaml_files/5g_rfsimulator_fr2_32prb/docker-compose.yaml
View file @
232700e4
...
...
@@ -7,7 +7,7 @@ services:
environment
:
RFSIMULATOR
:
server
USE_VOLUMED_CONF
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--do-ra --rfsim --noS1 --log_config.global_log_options level,nocolor,time
USE_ADDITIONAL_OPTIONS
:
--do-ra --rfsim --
rfsimulator.wait_timeout 20 --
noS1 --log_config.global_log_options level,nocolor,time
networks
:
public_net
:
ipv4_address
:
192.168.71.140
...
...
ci-scripts/yaml_files/5g_rfsimulator_tdd_dora/docker-compose.yaml
View file @
232700e4
...
...
@@ -7,7 +7,7 @@ services:
environment
:
RFSIMULATOR
:
server
USE_VOLUMED_CONF
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--do-ra --rfsim --noS1 --log_config.global_log_options level,nocolor,time
USE_ADDITIONAL_OPTIONS
:
--do-ra --rfsim --
rfsimulator.wait_timeout 20 --
noS1 --log_config.global_log_options level,nocolor,time
networks
:
public_net
:
ipv4_address
:
192.168.71.140
...
...
ci-scripts/yaml_files/5g_rfsimulator_u0_25prb/docker-compose.yaml
View file @
232700e4
...
...
@@ -169,7 +169,7 @@ services:
environment
:
RFSIMULATOR
:
server
USE_VOLUMED_CONF
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --log_config.global_log_options level,nocolor,time
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --
rfsimulator.wait_timeout 20 --
log_config.global_log_options level,nocolor,time
depends_on
:
-
oai-ext-dn
networks
:
...
...
radio/rfsimulator/simulator.c
View file @
232700e4
...
...
@@ -84,7 +84,8 @@
{"modelname", "<channel model name>\n", simOpt, strptr:&modelname, defstrval:"AWGN", TYPE_STRING, 0 },\
{"ploss", "<channel path loss in dB>\n", simOpt, dblptr:&(rfsimulator->chan_pathloss), defdblval:0, TYPE_DOUBLE, 0 },\
{"forgetfact", "<channel forget factor ((0 to 1)>\n", simOpt, dblptr:&(rfsimulator->chan_forgetfact), defdblval:0, TYPE_DOUBLE, 0 },\
{"offset", "<channel offset in samps>\n", simOpt, iptr:&(rfsimulator->chan_offset), defintval:0, TYPE_INT, 0 }\
{"offset", "<channel offset in samps>\n", simOpt, iptr:&(rfsimulator->chan_offset), defintval:0, TYPE_INT, 0 },\
{"wait_timeout", "<wait timeout if no UE connected>\n", simOpt, iptr:&(rfsimulator->wait_timeout), defintval:1, TYPE_INT, 0 },\
};
static
void
getset_currentchannels_type
(
char
*
buf
,
int
debug
,
webdatadef_t
*
tdata
,
telnet_printfunc_t
prnt
);
...
...
@@ -141,6 +142,7 @@ typedef struct {
float
noise_power_dB
;
void
*
telnetcmd_qid
;
poll_telnetcmdq_func_t
poll_telnetcmdq
;
int
wait_timeout
;
}
rfsimulator_state_t
;
...
...
@@ -817,7 +819,7 @@ static int rfsimulator_read(openair0_device *device, openair0_timestamp *ptimest
if
(
t
->
nextRxTstamp
==
0
)
LOG_W
(
HW
,
"No connected device, generating void samples...
\n
"
);
if
(
!
flushInput
(
t
,
1
,
nsamps
))
{
if
(
!
flushInput
(
t
,
t
->
wait_timeout
,
nsamps
))
{
for
(
int
x
=
0
;
x
<
nbAnt
;
x
++
)
memset
(
samplesVoid
[
x
],
0
,
sampleToByte
(
nsamps
,
1
));
...
...
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