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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG-RAN
Commits
f6c6fd3d
Commit
f6c6fd3d
authored
May 31, 2024
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NR_SHORT_BSR_TABLE
parent
7db7ae5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+1
-1
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
f6c6fd3d
...
@@ -130,7 +130,7 @@ static int estimate_ul_buffer_short_bsr(const NR_BSR_SHORT *bsr)
...
@@ -130,7 +130,7 @@ static int estimate_ul_buffer_short_bsr(const NR_BSR_SHORT *bsr)
* differentiate them */
* differentiate them */
int
rep_idx
=
bsr
->
Buffer_size
;
int
rep_idx
=
bsr
->
Buffer_size
;
int
estim_idx
=
overestim_bsr_index
(
rep_idx
);
int
estim_idx
=
overestim_bsr_index
(
rep_idx
);
int
max
=
sizeofArray
(
NR_SHORT_BSR_TABLE
);
int
max
=
sizeofArray
(
NR_SHORT_BSR_TABLE
)
-
1
;
int
idx
=
min
(
estim_idx
,
max
);
int
idx
=
min
(
estim_idx
,
max
);
int
estim_size
=
NR_SHORT_BSR_TABLE
[
idx
];
int
estim_size
=
NR_SHORT_BSR_TABLE
[
idx
];
LOG_D
(
NR_MAC
,
"short BSR LCGID %d index %d estim index %d size %d
\n
"
,
bsr
->
LcgID
,
rep_idx
,
estim_idx
,
estim_size
);
LOG_D
(
NR_MAC
,
"short BSR LCGID %d index %d estim index %d size %d
\n
"
,
bsr
->
LcgID
,
rep_idx
,
estim_idx
,
estim_size
);
...
...
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