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
d0baab6e
Commit
d0baab6e
authored
Jun 12, 2020
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DLSCH: limit LC bytes according to preprocessor
parent
a96c3761
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
+8
-3
No files found.
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
View file @
d0baab6e
...
...
@@ -844,13 +844,18 @@ schedule_ue_spec(module_id_t module_idP,
if
(
ue_sched_ctrl
->
dl_lc_bytes
[
i
]
==
0
)
// no data in this LC!
continue
;
LOG_D
(
MAC
,
"[eNB %d] SFN/SF %d.%d, LC%d->DLSCH CC_id %d, Requesting %d bytes from RLC (RRC message)
\n
"
,
const
uint32_t
data
=
min
(
ue_sched_ctrl
->
dl_lc_bytes
[
i
],
TBS
-
ta_len
-
header_length_total
-
sdu_length_total
-
3
);
LOG_D
(
MAC
,
"[eNB %d] SFN/SF %d.%d, LC%d->DLSCH CC_id %d, Requesting %d "
"bytes from RLC (RRC message)
\n
"
,
module_idP
,
frameP
,
subframeP
,
lcid
,
CC_id
,
TBS
-
ta_len
-
header_length_total
-
sdu_length_total
-
3
);
data
);
sdu_lengths
[
num_sdus
]
=
mac_rlc_data_req
(
module_idP
,
rnti
,
...
...
@@ -859,7 +864,7 @@ schedule_ue_spec(module_id_t module_idP,
ENB_FLAG_YES
,
MBMS_FLAG_NO
,
lcid
,
TBS
-
ta_len
-
header_length_total
-
sdu_length_total
-
3
,
data
,
(
char
*
)
&
dlsch_buffer
[
sdu_length_total
],
0
,
0
...
...
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