Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
eb7c8074
Commit
eb7c8074
authored
Nov 16, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in the creation of MAC PDUs in the local flexran scheduler
parent
c25cdc20
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
+2
-2
No files found.
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
View file @
eb7c8074
...
@@ -353,7 +353,7 @@ flexran_schedule_ue_spec_default(mid_t mod_id,
...
@@ -353,7 +353,7 @@ flexran_schedule_ue_spec_default(mid_t mod_id,
header_len
+=
3
;
header_len
+=
3
;
// Need to see if we have space for data from this channel
// Need to see if we have space for data from this channel
if
(
dci_tbs
-
ta_len
-
header_len
>
0
)
{
if
(
dci_tbs
-
ta_len
-
header_len
-
sdu_length_total
>
0
)
{
LOG_D
(
MAC
,
"[TEST]Requested %d bytes from RLC buffer on channel %d during first call
\n
"
,
dci_tbs
-
ta_len
-
header_len
);
LOG_D
(
MAC
,
"[TEST]Requested %d bytes from RLC buffer on channel %d during first call
\n
"
,
dci_tbs
-
ta_len
-
header_len
);
//If we have space, we need to see how much data we can request at most (if any available)
//If we have space, we need to see how much data we can request at most (if any available)
rlc_status
=
mac_rlc_status_ind
(
mod_id
,
rlc_status
=
mac_rlc_status_ind
(
mod_id
,
...
@@ -396,7 +396,7 @@ flexran_schedule_ue_spec_default(mid_t mod_id,
...
@@ -396,7 +396,7 @@ flexran_schedule_ue_spec_default(mid_t mod_id,
dl_data
[
num_ues_added
]
->
n_rlc_pdu
++
;
dl_data
[
num_ues_added
]
->
n_rlc_pdu
++
;
channels_added
++
;
channels_added
++
;
//Set this to the max value that we might request
//Set this to the max value that we might request
sdu_length_total
=
data_to_request
;
sdu_length_total
+
=
data_to_request
;
}
else
{
}
else
{
//Take back the assumption of a header for this channel
//Take back the assumption of a header for this channel
header_len
-=
3
;
header_len
-=
3
;
...
...
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