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
wangwenhui
OpenXG-RAN
Commits
b447f0b9
Commit
b447f0b9
authored
May 18, 2019
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes
parent
da9b8791
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
executables/nr-gnb.c
executables/nr-gnb.c
+0
-10
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+2
-2
No files found.
executables/nr-gnb.c
View file @
b447f0b9
...
...
@@ -321,22 +321,12 @@ static void *gNB_L1_thread( void *param ) {
//PHY_VARS_gNB *gNB = RC.gNB[0][proc->CC_id];
char
thread_name
[
100
];
// This tells ru_thread that L1_thread is not ready
pthread_mutex_lock
(
&
L1_proc
->
mutex
);
L1_proc
->
instance_cnt
=
-
2
;
pthread_mutex_unlock
(
&
L1_proc
->
mutex
);
// set default return value
gNB_thread_rxtx_status
=
0
;
sprintf
(
thread_name
,
"gNB_L1_thread"
);
// This tells ru_thread that L1_thread is ready
pthread_mutex_lock
(
&
L1_proc
->
mutex
);
L1_proc
->
instance_cnt
++
;
pthread_mutex_unlock
(
&
L1_proc
->
mutex
);
while
(
!
oai_exit
)
{
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_gNB_PROC_RXTX0
,
0
);
if
(
wait_on_condition
(
&
L1_proc
->
mutex
,
&
L1_proc
->
cond
,
&
L1_proc
->
instance_cnt
,
thread_name
)
<
0
)
break
;
...
...
openair1/PHY/INIT/nr_init.c
View file @
b447f0b9
...
...
@@ -437,9 +437,9 @@ void init_nr_transport(PHY_VARS_gNB *gNB) {
nfapi_nr_config_request_t
*
cfg
=
&
gNB
->
gNB_config
;
LOG_I
(
PHY
,
"Initialise nr transport
\n
"
);
for
(
i
=
0
;
i
<
NUMBER_OF_
UE
_MAX
;
i
++
)
{
for
(
i
=
0
;
i
<
NUMBER_OF_
NR_DLSCH
_MAX
;
i
++
)
{
LOG_I
(
PHY
,
"Allocating Transport Channel Buffers for DLSCH
, UE %d
\n
"
,
i
);
LOG_I
(
PHY
,
"Allocating Transport Channel Buffers for DLSCH
%d/%d
\n
"
,
i
,
NUMBER_OF_NR_DLSCH_MAX
);
for
(
j
=
0
;
j
<
2
;
j
++
)
{
gNB
->
dlsch
[
i
][
j
]
=
new_gNB_dlsch
(
1
,
16
,
NSOFT
,
0
,
fp
,
cfg
);
...
...
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