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
canghaiwuhen
OpenXG-RAN
Commits
2cb279d6
Commit
2cb279d6
authored
Jul 08, 2019
by
magounak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor change at RU_mask_tx
parent
06c4da47
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
cmake_targets/build_oai
cmake_targets/build_oai
+3
-3
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+1
-1
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+1
-1
No files found.
cmake_targets/build_oai
View file @
2cb279d6
...
@@ -523,9 +523,9 @@ function main() {
...
@@ -523,9 +523,9 @@ function main() {
$lte_build_dir
coding
\
$lte_build_dir
coding
\
libcoding.so
$dbin
/libcoding.so
libcoding.so
$dbin
/libcoding.so
# optional libs (used when noS1 with kernel modules
# optional libs (used when noS1 with kernel modules
#
compilations \
compilations
\
#
$lte_build_dir nasmesh \
$lte_build_dir
nasmesh
\
#
CMakeFiles/nasmesh/nasmesh.ko $dbin/nasmesh.ko
CMakeFiles/nasmesh/nasmesh.ko
$dbin
/nasmesh.ko
compilations
\
compilations
\
$lte_build_dir
rb_tool
\
$lte_build_dir
rb_tool
\
rb_tool
$dbin
/rb_tool
rb_tool
$dbin
/rb_tool
...
...
targets/RT/USER/lte-enb.c
View file @
2cb279d6
...
@@ -877,7 +877,7 @@ void init_eNB_proc(int inst) {
...
@@ -877,7 +877,7 @@ void init_eNB_proc(int inst) {
proc
->
CC_id
=
CC_id
;
proc
->
CC_id
=
CC_id
;
proc
->
first_rx
=
1
;
proc
->
first_rx
=
1
;
proc
->
first_tx
=
1
;
proc
->
first_tx
=
1
;
proc
->
RU_mask_tx
=
(
1
<<
eNB
->
num_RU
)
-
1
;
proc
->
RU_mask_tx
=
0
;
//
(1<<eNB->num_RU)-1;
memset
((
void
*
)
proc
->
RU_mask
,
0
,
10
*
sizeof
(
proc
->
RU_mask
[
0
]));
memset
((
void
*
)
proc
->
RU_mask
,
0
,
10
*
sizeof
(
proc
->
RU_mask
[
0
]));
proc
->
RU_mask_prach
=
0
;
proc
->
RU_mask_prach
=
0
;
pthread_mutex_init
(
&
eNB
->
UL_INFO_mutex
,
NULL
);
pthread_mutex_init
(
&
eNB
->
UL_INFO_mutex
,
NULL
);
...
...
targets/RT/USER/lte-ru.c
View file @
2cb279d6
...
@@ -1541,7 +1541,7 @@ void *ru_thread_tx( void *param ) {
...
@@ -1541,7 +1541,7 @@ void *ru_thread_tx( void *param ) {
AssertFatal
((
ret
=
pthread_mutex_lock
(
&
eNB_proc
->
mutex_RU_tx
))
==
0
,
"mutex_lock returns %d
\n
"
,
ret
);
AssertFatal
((
ret
=
pthread_mutex_lock
(
&
eNB_proc
->
mutex_RU_tx
))
==
0
,
"mutex_lock returns %d
\n
"
,
ret
);
for
(
int
j
=
0
;
j
<
eNB
->
num_RU
;
j
++
)
{
for
(
int
j
=
0
;
j
<
eNB
->
num_RU
;
j
++
)
{
if
(
ru
==
eNB
->
RU_list
[
j
])
{
if
(
ru
==
eNB
->
RU_list
[
j
]
&&
eNB
->
RU_list
[
j
]
->
wait_cnt
==
0
)
{
if
((
eNB_proc
->
RU_mask_tx
&
(
1
<<
j
))
>
0
)
if
((
eNB_proc
->
RU_mask_tx
&
(
1
<<
j
))
>
0
)
LOG_E
(
PHY
,
"eNB %d frame %d, subframe %d : previous information from RU tx %d (num_RU %d,mask %x) has not been served yet!
\n
"
,
LOG_E
(
PHY
,
"eNB %d frame %d, subframe %d : previous information from RU tx %d (num_RU %d,mask %x) has not been served yet!
\n
"
,
eNB
->
Mod_id
,
eNB_proc
->
frame_rx
,
eNB_proc
->
subframe_rx
,
ru
->
idx
,
eNB
->
num_RU
,
eNB_proc
->
RU_mask_tx
);
eNB
->
Mod_id
,
eNB_proc
->
frame_rx
,
eNB_proc
->
subframe_rx
,
ru
->
idx
,
eNB
->
num_RU
,
eNB_proc
->
RU_mask_tx
);
...
...
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