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
72f18cfa
Commit
72f18cfa
authored
Oct 16, 2023
by
Arash Sahbafard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing the problem of the channelmodels in RFSIMULATOR
parent
a62bdf36
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
122 additions
and
1 deletion
+122
-1
radio/rfsimulator/simulator.c
radio/rfsimulator/simulator.c
+1
-1
targets/PROJECTS/GENERIC-NR-5GC/CONF/channelmod_rfsimu.conf
targets/PROJECTS/GENERIC-NR-5GC/CONF/channelmod_rfsimu.conf
+57
-0
targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
...ENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
+4
-0
targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf
targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf
+3
-0
targets/PROJECTS/GENERIC-NR-5GC/channelmod_rfsimu.conf
targets/PROJECTS/GENERIC-NR-5GC/channelmod_rfsimu.conf
+57
-0
No files found.
radio/rfsimulator/simulator.c
View file @
72f18cfa
...
...
@@ -233,7 +233,7 @@ static int allocCirBuf(rfsimulator_state_t *bridge, int sock)
}
char
*
modelname
=
(
bridge
->
role
==
SIMU_ROLE_SERVER
)
?
"rfsimu_channel_ue0"
:
"rfsimu_channel_enB0"
;
ptr
->
channel_model
=
find_channel_desc_fromname
(
modelname
);
// path_loss in dB
if
(
ptr
->
channel_model
!=
NULL
)
{
if
(
!
ptr
->
channel_model
)
{
LOG_E
(
HW
,
"Channel model %s not found, check config file
\n
"
,
modelname
);
return
-
1
;
}
...
...
targets/PROJECTS/GENERIC-NR-5GC/CONF/channelmod_rfsimu.conf
0 → 100644
View file @
72f18cfa
#/* configuration for channel modelisation */
#/* To be included in main config file when */
#/* channel modelisation is used (rfsimulator with chanmod options enabled) */
channelmod
= {
max_chan
=
10
;
modellist
=
"modellist_rfsimu_1"
;
modellist_rfsimu_1
= (
{
model_name
=
"rfsimu_channel_enB0"
type
=
"AWGN"
;
ploss_dB
=
0
;
noise_power_dB
= -
10
;
forgetfact
=
0
;
offset
=
0
;
ds_tdl
=
0
;
},
{
model_name
=
"rfsimu_channel_ue0"
type
=
"AWGN"
;
ploss_dB
=
0
;
noise_power_dB
= -
20
;
forgetfact
=
0
;
offset
=
0
;
ds_tdl
=
0
;
}
);
modellist_rfsimu_2
= (
{
model_name
=
"rfsimu_channel_ue0"
type
=
"AWGN"
;
ploss_dB
=
0
;
noise_power_dB
=
0
;
forgetfact
=
0
;
offset
=
0
;
ds_tdl
=
0
;
},
{
model_name
=
"rfsimu_channel_ue1"
type
=
"AWGN"
;
ploss_dB
=
0
;
noise_power_dB
=
0
;
forgetfact
=
0
;
offset
=
0
;
ds_tdl
=
0
;
},
{
model_name
=
"rfsimu_channel_ue2"
type
=
"AWGN"
;
ploss_dB
=
0
;
noise_power_dB
=
0
;
forgetfact
=
0
;
offset
=
0
;
ds_tdl
=
0
;
}
);
};
targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf
View file @
72f18cfa
...
...
@@ -19,6 +19,7 @@ gNBs =
do_CSIRS
=
1
;
do_SRS
=
1
;
min_rxtxtime
=
6
;
servingCellConfigCommon
= (
{
...
...
@@ -271,3 +272,6 @@ e2_agent = {
#sm_dir = "/path/where/the/SMs/are/located/"
sm_dir
=
"/usr/local/lib/flexric/"
};
@
include
"channelmod_rfsimu.conf"
targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf
View file @
72f18cfa
...
...
@@ -6,3 +6,6 @@ dnn= "oai";
nssai_sst
=
1
;
nssai_sd
=
1
;
}
@
include
"channelmod_rfsimu.conf"
targets/PROJECTS/GENERIC-NR-5GC/channelmod_rfsimu.conf
0 → 100644
View file @
72f18cfa
#/* configuration for channel modelisation */
#/* To be included in main config file when */
#/* channel modelisation is used (rfsimulator with chanmod options enabled) */
channelmod
= {
max_chan
=
10
;
modellist
=
"modellist_rfsimu_1"
;
modellist_rfsimu_1
= (
{
model_name
=
"rfsimu_channel_enB0"
type
=
"AWGN"
;
ploss_dB
=
0
;
noise_power_dB
= -
10
;
forgetfact
=
0
;
offset
=
0
;
ds_tdl
=
0
;
},
{
model_name
=
"rfsimu_channel_ue0"
type
=
"AWGN"
;
ploss_dB
=
0
;
noise_power_dB
=
0
;
forgetfact
=
0
;
offset
=
0
;
ds_tdl
=
0
;
}
);
modellist_rfsimu_2
= (
{
model_name
=
"rfsimu_channel_ue0"
type
=
"AWGN"
;
ploss_dB
=
0
;
noise_power_dB
=
0
;
forgetfact
=
0
;
offset
=
0
;
ds_tdl
=
0
;
},
{
model_name
=
"rfsimu_channel_ue1"
type
=
"AWGN"
;
ploss_dB
=
0
;
noise_power_dB
=
0
;
forgetfact
=
0
;
offset
=
0
;
ds_tdl
=
0
;
},
{
model_name
=
"rfsimu_channel_ue2"
type
=
"AWGN"
;
ploss_dB
=
0
;
noise_power_dB
=
0
;
forgetfact
=
0
;
offset
=
0
;
ds_tdl
=
0
;
}
);
};
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