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
e46eeffe
Commit
e46eeffe
authored
Oct 16, 2023
by
Arash Sahbafard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
There was a simple bug in detecting the channel models in rfsim which is fixed.
modified: radio/rfsimulator/simulator.c
parent
a62bdf36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
radio/rfsimulator/simulator.c
radio/rfsimulator/simulator.c
+1
-1
No files found.
radio/rfsimulator/simulator.c
View file @
e46eeffe
...
...
@@ -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
;
}
...
...
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