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
ada2fddf
Commit
ada2fddf
authored
Aug 16, 2022
by
Vijay Chadachan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
increase grant
parent
b5ca6f71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+9
-3
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
ada2fddf
...
...
@@ -1631,7 +1631,12 @@ schedule_ulsch_rnti(module_id_t module_idP,
}
const
uint8_t
ndi
=
1
-
UE_template_ptr
->
oldNDI_UL
[
harq_pid
];
// NDI: new data indicator
// Changed pre_assigned_mcs_ul for sending full SDU to UE on DRB in System Simulator Mode
if
(
RC
.
ss
.
mode
==
SS_SOFTMODEM
){
UE_template_ptr
->
pre_assigned_mcs_ul
=
16
;
}
const
uint8_t
mcs
=
UE_template_ptr
->
pre_assigned_mcs_ul
;
UE_template_ptr
->
oldNDI_UL
[
harq_pid
]
=
ndi
;
UE_info
->
eNB_UE_stats
[
CC_id
][
UE_id
].
ulsch_rounds
[
0
]
++
;
UE_info
->
eNB_UE_stats
[
CC_id
][
UE_id
].
snr
=
snr
;
...
...
@@ -1651,7 +1656,7 @@ schedule_ulsch_rnti(module_id_t module_idP,
UE_sched_ctrl_ptr
->
dci0_ongoing_timer
=
1
;
}
uint8_t
rb_table_index
=
UE_template_ptr
->
pre_allocated_rb_table_index_ul
;
uint8_t
rb_table_index
=
10
;
//
UE_template_ptr->pre_allocated_rb_table_index_ul;
UE_info
->
eNB_UE_stats
[
CC_id
][
UE_id
].
ulsch_mcs2
=
mcs
;
...
...
@@ -1686,13 +1691,14 @@ schedule_ulsch_rnti(module_id_t module_idP,
/* Adjust scheduled UL bytes by TBS, wait for UL sdus to do final update */
LOG_D
(
MAC
,
"[eNB %d] CC_id %d UE %d/%x : adjusting scheduled_ul_bytes, old "
"%d, TBS %d
\n
"
,
"%d, TBS %d
rb_idx %d
\n
"
,
module_idP
,
CC_id
,
UE_id
,
rnti
,
UE_template_ptr
->
scheduled_ul_bytes
,
UE_template_ptr
->
TBS_UL
[
harq_pid
]);
UE_template_ptr
->
TBS_UL
[
harq_pid
],
rb_table_index
);
UE_template_ptr
->
scheduled_ul_bytes
+=
UE_template_ptr
->
TBS_UL
[
harq_pid
];
LOG_D
(
MAC
,
"scheduled_ul_bytes, new %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