Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
b8d24553
Commit
b8d24553
authored
Oct 04, 2016
by
Tien-Thinh Nguyen
Browse files
fix issues to work with multiple carriers (conga-ercom)
parent
e395164a
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment