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
Snippets
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
Bin He
openairinterface5G
Commits
a5cffd82
Commit
a5cffd82
authored
4 years ago
by
WANG Tsu-Han
Browse files
Options
Downloads
Patches
Plain Diff
device funtion call initalization fix
parent
d0e6e847
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
executables/nr-ru.c
+10
-1
10 additions, 1 deletion
executables/nr-ru.c
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf
+1
-1
1 addition, 1 deletion
.../GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf
with
11 additions
and
2 deletions
executables/nr-ru.c
+
10
−
1
View file @
a5cffd82
...
@@ -1465,7 +1465,14 @@ void *ru_thread( void *param ) {
...
@@ -1465,7 +1465,14 @@ void *ru_thread( void *param ) {
if
((
ru
->
is_slave
)
&&
(
ru
->
if_south
==
LOCAL_RF
))
do_ru_synch
(
ru
);
if
((
ru
->
is_slave
)
&&
(
ru
->
if_south
==
LOCAL_RF
))
do_ru_synch
(
ru
);
// start trx write thread
// start trx write thread
ru
->
start_write_thread
(
ru
);
if
(
ru
->
start_write_thread
){
if
(
ru
->
start_write_thread
(
ru
)
!=
0
){
LOG_E
(
HW
,
"Could not start tx write thread
\n
"
);
}
else
{
LOG_I
(
PHY
,
"tx write thread ready
\n
"
);
}
}
}
}
pthread_mutex_lock
(
&
proc
->
mutex_FH1
);
pthread_mutex_lock
(
&
proc
->
mutex_FH1
);
...
@@ -2099,6 +2106,7 @@ void set_function_spec_param(RU_t *ru) {
...
@@ -2099,6 +2106,7 @@ void set_function_spec_param(RU_t *ru) {
ru
->
fh_south_asynch_in
=
NULL
;
// no asynchronous UL
ru
->
fh_south_asynch_in
=
NULL
;
// no asynchronous UL
ru
->
start_rf
=
NULL
;
// no local RF
ru
->
start_rf
=
NULL
;
// no local RF
ru
->
stop_rf
=
NULL
;
ru
->
stop_rf
=
NULL
;
ru
->
start_write_thread
=
NULL
;
ru
->
nr_start_if
=
nr_start_if
;
// need to start if interface for IF5
ru
->
nr_start_if
=
nr_start_if
;
// need to start if interface for IF5
ru
->
ifdevice
.
host_type
=
RAU_HOST
;
ru
->
ifdevice
.
host_type
=
RAU_HOST
;
ru
->
ifdevice
.
eth_params
=
&
ru
->
eth_params
;
ru
->
ifdevice
.
eth_params
=
&
ru
->
eth_params
;
...
@@ -2125,6 +2133,7 @@ void set_function_spec_param(RU_t *ru) {
...
@@ -2125,6 +2133,7 @@ void set_function_spec_param(RU_t *ru) {
ru
->
fh_north_asynch_in
=
NULL
;
ru
->
fh_north_asynch_in
=
NULL
;
ru
->
start_rf
=
NULL
;
// no local RF
ru
->
start_rf
=
NULL
;
// no local RF
ru
->
stop_rf
=
NULL
;
ru
->
stop_rf
=
NULL
;
ru
->
start_write_thread
=
NULL
;
ru
->
nr_start_if
=
nr_start_if
;
// need to start if interface for IF4p5
ru
->
nr_start_if
=
nr_start_if
;
// need to start if interface for IF4p5
ru
->
ifdevice
.
host_type
=
RAU_HOST
;
ru
->
ifdevice
.
host_type
=
RAU_HOST
;
ru
->
ifdevice
.
eth_params
=
&
ru
->
eth_params
;
ru
->
ifdevice
.
eth_params
=
&
ru
->
eth_params
;
...
...
This diff is collapsed.
Click to expand it.
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf
+
1
−
1
View file @
a5cffd82
...
@@ -238,7 +238,7 @@ RUs = (
...
@@ -238,7 +238,7 @@ RUs = (
max_rxgain
=
114
;
max_rxgain
=
114
;
eNB_instances
= [
0
];
eNB_instances
= [
0
];
sdr_addrs
=
"addr=192.168.10.2,mgmt_addr=192.168.10.2,second_addr=192.168.20.2"
;
sdr_addrs
=
"addr=192.168.10.2,mgmt_addr=192.168.10.2,second_addr=192.168.20.2"
;
clock_src
=
"
in
ternal"
;
clock_src
=
"
ex
ternal"
;
}
}
);
);
...
...
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