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
ef22a539
Commit
ef22a539
authored
Mar 16, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more checks when applying dci decisions in the dataplane, to reduce RLC request misses
parent
c2971d51
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
32 deletions
+47
-32
openair2/LAYER2/MAC/eNB_agent_scheduler_dataplane.c
openair2/LAYER2/MAC/eNB_agent_scheduler_dataplane.c
+47
-32
No files found.
openair2/LAYER2/MAC/eNB_agent_scheduler_dataplane.c
View file @
ef22a539
...
...
@@ -181,6 +181,17 @@ void apply_ue_spec_scheduling_decisions(mid_t mod_id,
mod_id
,
frame
,
lcid
,
CC_id
,
rlc_size
);
if
(
rlc_size
>
0
)
{
rlc_status
=
mac_rlc_status_ind
(
mod_id
,
rnti
,
mod_id
,
frame
,
ENB_FLAG_YES
,
MBMS_FLAG_NO
,
lcid
,
0
);
if
(
rlc_status
.
bytes_in_buffer
>
0
)
{
rlc_status
=
mac_rlc_status_ind
(
mod_id
,
rnti
,
mod_id
,
...
...
@@ -194,6 +205,8 @@ void apply_ue_spec_scheduling_decisions(mid_t mod_id,
LOG_D
(
MAC
,
"[TEST] RLC can give %d bytes for LCID %d during second call
\n
"
,
rlc_status
.
bytes_in_buffer
,
lcid
);
if
(
rlc_status
.
bytes_in_buffer
>
0
)
{
sdu_lengths
[
i
]
+=
mac_rlc_data_req
(
mod_id
,
rnti
,
mod_id
,
...
...
@@ -218,6 +231,8 @@ void apply_ue_spec_scheduling_decisions(mid_t mod_id,
num_sdus
++
;
}
}
}
}
// SDU creation end
...
...
@@ -249,7 +264,7 @@ void apply_ue_spec_scheduling_decisions(mid_t mod_id,
ta_update
=
(
ta_len
>
0
)
?
ue_sched_ctl
->
ta_update
:
0
;
// If there is nothing to schedule, just leave
if
((
sdu_length_total
+
ta_len
)
<
0
)
{
if
((
sdu_length_total
+
ta_len
)
<
=
0
)
{
return
;
}
...
...
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