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
alex037yang
OpenXG-RAN
Commits
ee9210c6
Commit
ee9210c6
authored
Mar 01, 2021
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correction proposal for HARQ when ULSCH is not received
parent
f18db2ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+10
-2
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
ee9210c6
...
...
@@ -329,8 +329,16 @@ void handle_nr_ul_harq(module_id_t mod_id,
return
;
remove_front_nr_list
(
&
sched_ctrl
->
feedback_ul_harq
);
sched_ctrl
->
ul_harq_processes
[
harq_pid
].
round
++
;
add_tail_nr_list
(
&
sched_ctrl
->
retrans_ul_harq
,
harq_pid
);
sched_ctrl
->
ul_harq_processes
[
harq_pid
].
is_waiting
=
false
;
if
(
sched_ctrl
->
ul_harq_processes
[
harq_pid
].
round
==
MAX_HARQ_ROUNDS
)
{
sched_ctrl
->
ul_harq_processes
[
harq_pid
].
ndi
^=
1
;
sched_ctrl
->
ul_harq_processes
[
harq_pid
].
round
=
0
;
UE_info
->
mac_stats
[
UE_id
].
ulsch_errors
++
;
add_tail_nr_list
(
&
sched_ctrl
->
available_ul_harq
,
harq_pid
);
}
else
{
sched_ctrl
->
ul_harq_processes
[
harq_pid
].
round
++
;
add_tail_nr_list
(
&
sched_ctrl
->
retrans_ul_harq
,
harq_pid
);
}
harq_pid
=
sched_ctrl
->
feedback_ul_harq
.
head
;
}
remove_front_nr_list
(
&
sched_ctrl
->
feedback_ul_harq
);
...
...
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