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
0492f7eb
Commit
0492f7eb
authored
Aug 30, 2019
by
Guido Casati
Committed by
cig
Dec 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix TBS condition in to schedule ue spec procedures
parent
825ae3c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
+2
-2
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
View file @
0492f7eb
...
...
@@ -256,7 +256,7 @@ nr_schedule_ue_spec(module_id_t module_idP, frame_t frameP, sub_frame_t slotP){
//Sending SDUs with size 1
//Initialize elements of sdu_lcids and sdu_lengths
//TODO this will be eventually be removed
while
(
TBS
-
header_length_total
-
sdu_length_total
-
ta_len
>=
3
){
while
(
TBS
>=
3
+
header_length_total
+
sdu_length_total
+
ta_len
){
if
(
k
<
NR_MAX_NB_RB
&&
j
<
NR_MAX_NB_RB
){
sdu_lcids
[
j
]
=
0x05
;
// DRB
sdu_lengths
[
k
]
=
1
;
...
...
@@ -289,7 +289,7 @@ nr_schedule_ue_spec(module_id_t module_idP, frame_t frameP, sub_frame_t slotP){
if
(
ta_len
+
sdu_length_total
+
header_length_total
>
0
)
{
// Check if there is data from RLC or CE
if
(
TBS
-
header_length_total
-
sdu_length_total
-
ta_len
>=
2
)
{
if
(
TBS
>=
2
+
header_length_total
+
sdu_length_total
+
ta_len
)
{
// we have to consider padding
// padding param currently not in use
padding
=
TBS
-
header_length_total
-
sdu_length_total
-
ta_len
-
1
;
...
...
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