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
7f4c22f8
Commit
7f4c22f8
authored
Feb 25, 2016
by
Cédric Roux
Browse files
bugfix in allocate_CCEs
parent
f4448a80
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
7f4c22f8
...
...
@@ -991,13 +991,11 @@ int allocate_CCEs(int module_idP,
int
allocation_is_feasible
=
1
;
DCI_ALLOC_t
*
dci_alloc
;
LOG_D
(
MAC
,
"Allocate CCEs subframe %d, test %d : (common %d,uspec %d)
\n
"
,
subframeP
,
test_onlyP
,
DCI_pdu
->
Num_common_dci
,
DCI_pdu
->
Num_ue_spec_dci
);
init_CCE_table
(
module_idP
,
CC_idP
);
DCI_pdu
->
nCCE
=
0
;
while
(
allocation_is_feasible
==
1
)
{
init_CCE_table
(
module_idP
,
CC_idP
);
DCI_pdu
->
nCCE
=
0
;
for
(
i
=
0
;
i
<
DCI_pdu
->
Num_common_dci
+
DCI_pdu
->
Num_ue_spec_dci
;
i
++
)
{
dci_alloc
=
&
DCI_pdu
->
dci_alloc
[
i
];
...
...
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