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
zzha zzha
OpenXG-RAN
Commits
5664999f
Commit
5664999f
authored
Sep 28, 2021
by
mjoang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bug so that BSR will be triggered when RLC entity has data.
parent
a64a892a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+2
-8
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
5664999f
...
...
@@ -1053,7 +1053,7 @@ nr_update_bsr(module_id_t module_idP, frame_t frameP,
uint8_t
lcid
;
uint8_t
lcgid
;
uint8_t
num_lcid_with_data
=
0
;
// for LCID with data only if LCGID is defined
uint
16
_t
lcgid_buffer_remain
[
NR_MAX_NUM_LCGID
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
uint
32
_t
lcgid_buffer_remain
[
NR_MAX_NUM_LCGID
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
int32_t
lcid_bytes_in_buffer
[
NR_MAX_NUM_LCID
];
/* Array for ordering LCID with data per decreasing priority order */
uint8_t
lcid_reordered_array
[
NR_MAX_NUM_LCID
]
=
...
...
@@ -1146,13 +1146,7 @@ nr_update_bsr(module_id_t module_idP, frame_t frameP,
either the data belongs to a logical channel with higher priority than the priorities of the logical channels
which belong to any LCG and for which data is already available for transmission
*/
if
((
mac
->
scheduling_info
.
LCID_buffer_remain
[
lcid
]
==
0
)
/* or there is no data available for any of the logical channels which belong to a LCG */
||
(
lcgid_buffer_remain
[
mac
->
scheduling_info
.
LCGID
[
lcid
]]
==
0
))
{
{
bsr_regular_triggered
=
TRUE
;
LOG_D
(
NR_MAC
,
"[UE %d] PDCCH Tick : MAC BSR Triggered LCID%d LCGID%d data become available at frame %d slot %d
\n
"
,
...
...
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