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
ZhouShuya
OpenXG-RAN
Commits
dd43752b
Commit
dd43752b
authored
Oct 16, 2020
by
Laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add thread pool init
parent
910a130e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+5
-0
executables/ocp-gnb.c
executables/ocp-gnb.c
+6
-0
openair1/PHY/defs_L1_NB_IoT.h
openair1/PHY/defs_L1_NB_IoT.h
+2
-0
No files found.
cmake_targets/CMakeLists.txt
View file @
dd43752b
...
...
@@ -2145,6 +2145,11 @@ set (GTPV1U_SRC
add_library
(
GTPV1U
${
GTPV1U_SRC
}
)
add_dependencies
(
GTPV1U rrc_flag
)
add_library
(
GTPV1U_OCP
${
OPENAIR3_DIR
}
/ocp-gtp/gtp_itf.cpp
)
include_directories
(
${
OPENAIR3_DIR
}
/ocp-gtp
)
#NR case
set
(
NR_GTPV1U_SRC
${
NR_RRC_DIR
}
/rrc_gNB_GTPV1U.c
...
...
executables/ocp-gnb.c
View file @
dd43752b
...
...
@@ -258,6 +258,12 @@ void init_gNB_proc(int inst) {
proc
->
RU_mask_tx
=
(
1
<<
gNB
->
num_RU
)
-
1
;
proc
->
RU_mask_prach
=
0
;
pthread_mutex_init
(
&
gNB
->
UL_INFO_mutex
,
NULL
);
gNB
->
threadPool
=
(
tpool_t
*
)
malloc
(
sizeof
(
tpool_t
));
gNB
->
respDecode
=
(
notifiedFIFO_t
*
)
malloc
(
sizeof
(
notifiedFIFO_t
));
char
ul_pool
[]
=
"-1,-1"
;
initTpool
(
ul_pool
,
gNB
->
threadPool
,
false
);
initNotifiedFIFO
(
gNB
->
respDecode
);
}
/// eNB kept in function name for nffapi calls, TO FIX
...
...
openair1/PHY/defs_L1_NB_IoT.h
View file @
dd43752b
...
...
@@ -32,7 +32,9 @@
#ifndef __PHY_DEFS_NB_IOT__H__
#define __PHY_DEFS_NB_IOT__H__
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
...
...
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