Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
307e2f29
Commit
307e2f29
authored
Mar 02, 2018
by
Cédric Roux
Browse files
Merge remote-tracking branch 'origin/hotfix-rlc-2018-w09' into develop
parents
2f8dc355
26d68e9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_segment.c
View file @
307e2f29
...
...
@@ -172,7 +172,7 @@ rlc_um_segment_10 (const protocol_ctxt_t* const ctxt_pP, rlc_um_entity_t *rlc_pP
test_pdu_remaining_size
=
0
;
test_remaining_size_to_substract
=
0
;
test_remaining_num_li_to_substract
=
0
;
pdu_remaining_size
=
pdu_remaining_size
-
(
test_li_length_in_bytes
^
3
);
//
pdu_remaining_size = pdu_remaining_size - (test_li_length_in_bytes ^ 3);
}
else
if
((
sdu_mngt_p
->
sdu_remaining_size
+
(
test_li_length_in_bytes
^
3
))
<
test_pdu_remaining_size
)
{
test_num_li
+=
1
;
num_fill_sdu
+=
1
;
...
...
@@ -365,9 +365,9 @@ rlc_um_segment_10 (const protocol_ctxt_t* const ctxt_pP, rlc_um_entity_t *rlc_pP
sdu_mngt_p
->
sdu_remaining_size
,
pdu_remaining_size
-
sdu_mngt_p
->
sdu_remaining_size
);
#endif
#if !EXMIMO
assert
(
1
!=
1
);
#endif
//
#if !EXMIMO
//
assert(1!=1);
//
#endif
memcpy
(
data
,
data_sdu_p
,
sdu_mngt_p
->
sdu_remaining_size
);
// reduce the size of the PDU
continue_fill_pdu_with_sdu
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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