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
zzha zzha
OpenXG-RAN
Commits
738ccce4
Commit
738ccce4
authored
2 years ago
by
Sagar Parsawar
Committed by
Eurecom
2 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix for subdev selection in OAI gNB
parent
30f0942d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
executables/nr-ru.c
executables/nr-ru.c
+10
-0
No files found.
executables/nr-ru.c
View file @
738ccce4
...
...
@@ -1845,6 +1845,16 @@ static void NRRCconfig_RU(void) {
RC
.
ru
[
j
]
->
openair0_cfg
.
sdr_addrs
=
strdup
(
*
(
RUParamList
.
paramarray
[
j
][
RU_SDR_ADDRS
].
strptr
));
}
if
(
config_isparamset
(
RUParamList
.
paramarray
[
j
],
RU_TX_SUBDEV
))
{
RC
.
ru
[
j
]
->
openair0_cfg
.
tx_subdev
=
strdup
(
*
(
RUParamList
.
paramarray
[
j
][
RU_TX_SUBDEV
].
strptr
));
LOG_I
(
PHY
,
"RU USRP tx subdev == %s
\n
"
,
RC
.
ru
[
j
]
->
openair0_cfg
.
tx_subdev
);
}
if
(
config_isparamset
(
RUParamList
.
paramarray
[
j
],
RU_RX_SUBDEV
))
{
RC
.
ru
[
j
]
->
openair0_cfg
.
rx_subdev
=
strdup
(
*
(
RUParamList
.
paramarray
[
j
][
RU_RX_SUBDEV
].
strptr
));
LOG_I
(
PHY
,
"RU USRP rx subdev == %s
\n
"
,
RC
.
ru
[
j
]
->
openair0_cfg
.
rx_subdev
);
}
if
(
config_isparamset
(
RUParamList
.
paramarray
[
j
],
RU_SDR_CLK_SRC
))
{
if
(
strcmp
(
*
(
RUParamList
.
paramarray
[
j
][
RU_SDR_CLK_SRC
].
strptr
),
"internal"
)
==
0
)
{
RC
.
ru
[
j
]
->
openair0_cfg
.
clock_source
=
internal
;
...
...
This diff is collapsed.
Click to expand it.
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