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
wangjie
OpenXG-RAN
Commits
b4d368bc
Commit
b4d368bc
authored
Feb 14, 2021
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename allocate_dl_retransmission()
parent
c6bacf3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
+10
-9
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
View file @
b4d368bc
...
@@ -365,13 +365,14 @@ void nr_store_dlsch_buffer(module_id_t module_id,
...
@@ -365,13 +365,14 @@ void nr_store_dlsch_buffer(module_id_t module_id,
}
}
}
}
bool
allocate_retransmission
(
module_id_t
module_id
,
bool
allocate_dl_retransmission
(
module_id_t
module_id
,
frame_t
frame
,
frame_t
frame
,
sub_frame_t
slot
,
sub_frame_t
slot
,
uint8_t
*
rballoc_mask
,
uint8_t
*
rballoc_mask
,
int
*
n_rb_sched
,
int
*
n_rb_sched
,
int
UE_id
,
int
UE_id
,
int
current_harq_pid
)
{
int
current_harq_pid
)
{
NR_UE_info_t
*
UE_info
=
&
RC
.
nrmac
[
module_id
]
->
UE_info
;
NR_UE_info_t
*
UE_info
=
&
RC
.
nrmac
[
module_id
]
->
UE_info
;
NR_UE_sched_ctrl_t
*
sched_ctrl
=
&
UE_info
->
UE_sched_ctrl
[
UE_id
];
NR_UE_sched_ctrl_t
*
sched_ctrl
=
&
UE_info
->
UE_sched_ctrl
[
UE_id
];
NR_sched_pdsch_t
*
retInfo
=
&
sched_ctrl
->
harq_processes
[
current_harq_pid
].
sched_pdsch
;
NR_sched_pdsch_t
*
retInfo
=
&
sched_ctrl
->
harq_processes
[
current_harq_pid
].
sched_pdsch
;
...
@@ -468,8 +469,8 @@ void pf_dl(module_id_t module_id,
...
@@ -468,8 +469,8 @@ void pf_dl(module_id_t module_id,
/* retransmission */
/* retransmission */
if
(
sched_pdsch
->
dl_harq_pid
>=
0
)
{
if
(
sched_pdsch
->
dl_harq_pid
>=
0
)
{
/* Allocate retransmission */
/* Allocate retransmission */
bool
r
=
bool
r
=
allocate_dl_retransmission
(
allocate_retransmission
(
module_id
,
frame
,
slot
,
rballoc_mask
,
&
n_rb_sched
,
UE_id
,
sched_pdsch
->
dl_harq_pid
);
module_id
,
frame
,
slot
,
rballoc_mask
,
&
n_rb_sched
,
UE_id
,
sched_pdsch
->
dl_harq_pid
);
if
(
!
r
)
{
if
(
!
r
)
{
LOG_D
(
MAC
,
"%4d.%2d retransmission can NOT be allocated
\n
"
,
frame
,
slot
);
LOG_D
(
MAC
,
"%4d.%2d retransmission can NOT be allocated
\n
"
,
frame
,
slot
);
continue
;
continue
;
...
...
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