Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mingxuan Li
openairinterface5G
Commits
738ccce4
Commit
738ccce4
authored
2 years ago
by
Sagar Parsawar
Committed by
Eurecom
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix for subdev selection in OAI gNB
parent
30f0942d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
executables/nr-ru.c
+10
-0
10 additions, 0 deletions
executables/nr-ru.c
with
10 additions
and
0 deletions
executables/nr-ru.c
+
10
−
0
View file @
738ccce4
...
@@ -1845,6 +1845,16 @@ static void NRRCconfig_RU(void) {
...
@@ -1845,6 +1845,16 @@ static void NRRCconfig_RU(void) {
RC
.
ru
[
j
]
->
openair0_cfg
.
sdr_addrs
=
strdup
(
*
(
RUParamList
.
paramarray
[
j
][
RU_SDR_ADDRS
].
strptr
));
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
(
config_isparamset
(
RUParamList
.
paramarray
[
j
],
RU_SDR_CLK_SRC
))
{
if
(
strcmp
(
*
(
RUParamList
.
paramarray
[
j
][
RU_SDR_CLK_SRC
].
strptr
),
"internal"
)
==
0
)
{
if
(
strcmp
(
*
(
RUParamList
.
paramarray
[
j
][
RU_SDR_CLK_SRC
].
strptr
),
"internal"
)
==
0
)
{
RC
.
ru
[
j
]
->
openair0_cfg
.
clock_source
=
internal
;
RC
.
ru
[
j
]
->
openair0_cfg
.
clock_source
=
internal
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment