Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
c227a34d
Commit
c227a34d
authored
5 years ago
by
He Shanyun
Browse files
Options
Downloads
Patches
Plain Diff
fix tbs calculation error in ul scheduler
parent
48e2d78f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
5 merge requests
!650
Release v1.1.0 Candidate
,
!649
Develop: Integration 2019 Week 30
,
!642
Develop: Integration 2019 Mid-Week 29
,
!630
nfapi interface bug fix
,
!588
Develop nr merge
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openair2/LAYER2/MAC/eNB_scheduler_fairRR.c
+2
-2
2 additions, 2 deletions
openair2/LAYER2/MAC/eNB_scheduler_fairRR.c
with
2 additions
and
2 deletions
openair2/LAYER2/MAC/eNB_scheduler_fairRR.c
+
2
−
2
View file @
c227a34d
...
...
@@ -2402,8 +2402,8 @@ void ulsch_scheduler_pre_processor_fairRR(module_id_t module_idP,
while
(
(
tbs
<
bytes_to_schedule
)
&&
(
rb_table
[
rb_table_index
]
<
(
frame_parms
->
N_RB_UL
-
num_pucch_rb
-
first_rb
[
CC_id
]))
&&
((
UE_template
->
phr_info
-
tx_power
)
>
0
)
&&
(
rb_table_index
<
32
))
{
rb_table_index
++
;
tbs
=
get_TBS_UL
(
mcs
,
rb_table
[
rb_table_index
])
<<
3
;
tx_power
=
estimate_ue_tx_power
(
tbs
,
rb_table
[
rb_table_index
],
0
,
frame_parms
->
Ncp
,
0
);
tbs
=
get_TBS_UL
(
mcs
,
rb_table
[
rb_table_index
]);
tx_power
=
estimate_ue_tx_power
(
tbs
*
8
,
rb_table
[
rb_table_index
],
0
,
frame_parms
->
Ncp
,
0
);
}
if
(
rb_table
[
rb_table_index
]
<
3
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment