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
b8d24553
Commit
b8d24553
authored
Oct 04, 2016
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issues to work with multiple carriers (conga-ercom)
parent
e395164a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+6
-4
No files found.
targets/RT/USER/lte-enb.c
View file @
b8d24553
...
...
@@ -1398,10 +1398,12 @@ void init_eNB_proc(int inst) {
pthread_setname_np
(
proc
->
pthread_single
,
name
);
}
}
PHY_vars_eNB_g
[
inst
][
0
]
->
proc
.
num_slaves
=
1
;
//hardcoded
PHY_vars_eNB_g
[
inst
][
0
]
->
proc
.
slave_proc
=
(
eNB_proc_t
**
)
malloc
(
1
*
sizeof
(
eNB_proc_t
*
));
PHY_vars_eNB_g
[
inst
][
0
]
->
proc
.
slave_proc
[
0
]
=&
(
PHY_vars_eNB_g
[
inst
][
1
]
->
proc
);
if
(
MAX_NUM_CCs
>
1
){
PHY_vars_eNB_g
[
inst
][
0
]
->
proc
.
num_slaves
=
1
;
//hardcoded
PHY_vars_eNB_g
[
inst
][
0
]
->
proc
.
slave_proc
=
(
eNB_proc_t
**
)
malloc
(
1
*
sizeof
(
eNB_proc_t
*
));
PHY_vars_eNB_g
[
inst
][
0
]
->
proc
.
slave_proc
[
0
]
=&
(
PHY_vars_eNB_g
[
inst
][
1
]
->
proc
);
}
/* for (CC_id=0; CC_id<MAX_NUM_CCs; CC_id++) {//TTN - we supposed that CC_id=0 will play the role of master
eNB = PHY_vars_eNB_g[inst][CC_id];
...
...
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