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
f48a5799
Commit
f48a5799
authored
Apr 02, 2019
by
wujing
Committed by
Haruki NAOI
Jul 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: setup release flag after all sdus of RRCConnectonRelease are scheduled.
parent
68619d21
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_segment.c
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_segment.c
+2
-4
No files found.
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_segment.c
View file @
f48a5799
...
@@ -358,8 +358,6 @@ void rlc_am_segment_10 (
...
@@ -358,8 +358,6 @@ void rlc_am_segment_10 (
PROTOCOL_RLC_AM_CTXT_ARGS
(
ctxt_pP
,
rlc_pP
),
PROTOCOL_RLC_AM_CTXT_ARGS
(
ctxt_pP
,
rlc_pP
),
pdu_remaining_size
);
pdu_remaining_size
);
//msg ("[FRAME %05d][%s][RLC_AM][MOD %u/%u][RB %u][SEGMENT] pdu_mem_p %p pdu_p %p pdu_p->data %p data %p data_sdu_p %p pdu_remaining_size %d\n", rlc_pP->module_id, rlc_pP->rb_id, ctxt_pP->frame, pdu_mem_p, pdu_p, pdu_p->data, data, data_sdu_p,pdu_remaining_size);
//msg ("[FRAME %05d][%s][RLC_AM][MOD %u/%u][RB %u][SEGMENT] pdu_mem_p %p pdu_p %p pdu_p->data %p data %p data_sdu_p %p pdu_remaining_size %d\n", rlc_pP->module_id, rlc_pP->rb_id, ctxt_pP->frame, pdu_mem_p, pdu_p, pdu_p->data, data, data_sdu_p,pdu_remaining_size);
rlc_am_mui
.
rrc_mui
[
rlc_am_mui
.
rrc_mui_num
]
=
sdu_mngt_p
->
mui
;
rlc_am_mui
.
rrc_mui_num
++
;
memcpy
(
data
,
data_sdu_p
,
pdu_remaining_size
);
memcpy
(
data
,
data_sdu_p
,
pdu_remaining_size
);
pdu_mngt_p
->
payload_size
+=
pdu_remaining_size
;
pdu_mngt_p
->
payload_size
+=
pdu_remaining_size
;
...
@@ -397,8 +395,6 @@ void rlc_am_segment_10 (
...
@@ -397,8 +395,6 @@ void rlc_am_segment_10 (
continue_fill_pdu_with_sdu
=
0
;
continue_fill_pdu_with_sdu
=
0
;
pdu_remaining_size
=
0
;
pdu_remaining_size
=
0
;
}
else
if
((
sdu_mngt_p
->
sdu_remaining_size
+
(
li_length_in_bytes
^
3
))
<
pdu_remaining_size
)
{
}
else
if
((
sdu_mngt_p
->
sdu_remaining_size
+
(
li_length_in_bytes
^
3
))
<
pdu_remaining_size
)
{
rlc_am_mui
.
rrc_mui
[
rlc_am_mui
.
rrc_mui_num
]
=
sdu_mngt_p
->
mui
;
rlc_am_mui
.
rrc_mui_num
++
;
if
(
fill_num_li
==
(
RLC_AM_MAX_SDU_IN_PDU
-
1
))
{
if
(
fill_num_li
==
(
RLC_AM_MAX_SDU_IN_PDU
-
1
))
{
LOG_T
(
RLC
,
PROTOCOL_RLC_AM_CTXT_FMT
"[SEGMENT] [SIZE %d] REACHING RLC_AM_MAX_SDU_IN_PDU LIs -> STOP SEGMENTATION FOR THIS PDU SDU
\n
"
,
LOG_T
(
RLC
,
PROTOCOL_RLC_AM_CTXT_FMT
"[SEGMENT] [SIZE %d] REACHING RLC_AM_MAX_SDU_IN_PDU LIs -> STOP SEGMENTATION FOR THIS PDU SDU
\n
"
,
PROTOCOL_RLC_AM_CTXT_ARGS
(
ctxt_pP
,
rlc_pP
),
PROTOCOL_RLC_AM_CTXT_ARGS
(
ctxt_pP
,
rlc_pP
),
...
@@ -416,6 +412,8 @@ void rlc_am_segment_10 (
...
@@ -416,6 +412,8 @@ void rlc_am_segment_10 (
// reduce the size of the PDU
// reduce the size of the PDU
continue_fill_pdu_with_sdu
=
0
;
continue_fill_pdu_with_sdu
=
0
;
fi_last_byte_pdu_is_last_byte_sdu
=
1
;
fi_last_byte_pdu_is_last_byte_sdu
=
1
;
rlc_am_mui
.
rrc_mui
[
rlc_am_mui
.
rrc_mui_num
]
=
sdu_mngt_p
->
mui
;
rlc_am_mui
.
rrc_mui_num
++
;
}
else
{
}
else
{
LOG_T
(
RLC
,
PROTOCOL_RLC_AM_CTXT_FMT
"[SEGMENT] Filling PDU with %d all remaining bytes of SDU
\n
"
,
LOG_T
(
RLC
,
PROTOCOL_RLC_AM_CTXT_FMT
"[SEGMENT] Filling PDU with %d all remaining bytes of SDU
\n
"
,
PROTOCOL_RLC_AM_CTXT_ARGS
(
ctxt_pP
,
rlc_pP
),
PROTOCOL_RLC_AM_CTXT_ARGS
(
ctxt_pP
,
rlc_pP
),
...
...
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