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
常顺宇
OpenXG-RAN
Commits
20fd63b1
Commit
20fd63b1
authored
Apr 23, 2018
by
Haruki NAOI
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'remotes/origin/rm898_bugfix' into sp3_master
parents
c8267c2c
e2a1b986
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
+7
-4
No files found.
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
View file @
20fd63b1
...
@@ -1101,8 +1101,9 @@ schedule_ue_spec(module_id_t module_idP,
...
@@ -1101,8 +1101,9 @@ schedule_ue_spec(module_id_t module_idP,
header_len_dtch_last
=
0
;
// the header length of the last mac sdu
header_len_dtch_last
=
0
;
// the header length of the last mac sdu
// lcid has to be sorted before the actual allocation (similar struct as ue_list).
// lcid has to be sorted before the actual allocation (similar struct as ue_list).
#if defined(UE_EXPANSION) || defined(UE_EXPANSION_SIM2)
#if defined(UE_EXPANSION) || defined(UE_EXPANSION_SIM2)
lcid
=
DTCH
;
// lcid = DTCH;
{
// {
for
(
lcid
=
DTCH
;
lcid
>=
DTCH
;
lcid
--
)
{
#else
#else
for
(
lcid
=
NB_RB_MAX
-
1
;
lcid
>=
DTCH
;
lcid
--
)
{
for
(
lcid
=
NB_RB_MAX
-
1
;
lcid
>=
DTCH
;
lcid
--
)
{
#endif
#endif
...
@@ -1196,13 +1197,15 @@ schedule_ue_spec(module_id_t module_idP,
...
@@ -1196,13 +1197,15 @@ schedule_ue_spec(module_id_t module_idP,
}
}
mcs
=
eNB_UE_stats
->
dlsch_mcs1
;
mcs
=
eNB_UE_stats
->
dlsch_mcs1
;
#ifdef UE_EXPANSION
nb_rb
=
min_rb_unit
[
CC_id
];
#else
if
(
mcs
==
0
)
{
if
(
mcs
==
0
)
{
nb_rb
=
4
;
// don't let the TBS get too small
nb_rb
=
4
;
// don't let the TBS get too small
}
else
{
}
else
{
nb_rb
=
min_rb_unit
[
CC_id
];
nb_rb
=
min_rb_unit
[
CC_id
];
}
}
#endif
TBS
=
get_TBS_DL
(
mcs
,
nb_rb
);
TBS
=
get_TBS_DL
(
mcs
,
nb_rb
);
while
(
TBS
<
while
(
TBS
<
...
...
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