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
lizhongxiao
OpenXG-RAN
Commits
9a884af0
Commit
9a884af0
authored
Mar 10, 2022
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rballoc_mask variable type from uint8_t to uint16_t
parent
3be77c09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+3
-3
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
9a884af0
...
...
@@ -956,7 +956,7 @@ int next_list_entry_looped(NR_list_t *list, int UE_id)
bool
allocate_ul_retransmission
(
module_id_t
module_id
,
frame_t
frame
,
sub_frame_t
slot
,
uint
8
_t
*
rballoc_mask
,
uint
16
_t
*
rballoc_mask
,
int
*
n_rb_sched
,
int
UE_id
,
int
harq_pid
)
...
...
@@ -1119,7 +1119,7 @@ void pf_ul(module_id_t module_id,
NR_list_t
*
UE_list
,
int
max_num_ue
,
int
n_rb_sched
,
uint
8
_t
*
rballoc_mask
)
{
uint
16
_t
*
rballoc_mask
)
{
const
int
CC_id
=
0
;
gNB_MAC_INST
*
nrmac
=
RC
.
nrmac
[
module_id
];
...
...
@@ -1503,7 +1503,7 @@ bool nr_fr1_ulsch_preprocessor(module_id_t module_id, frame_t frame, sub_frame_t
LOG_D
(
NR_MAC
,
"UL %d.%d : start_prb %d, end PRB %d
\n
"
,
frame
,
slot
,
st
,
e
);
uint
8
_t
rballoc_mask
[
bwpSize
];
uint
16
_t
rballoc_mask
[
bwpSize
];
/* Calculate mask: if any RB in vrb_map_UL is blocked (1), the current RB will be 0 */
for
(
int
i
=
0
;
i
<
bwpSize
;
i
++
)
...
...
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