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
65040130
Commit
65040130
authored
Mar 04, 2017
by
fnabet
Browse files
RLC AM : fix update of vrMS in tReordering expiry
parent
709b1fd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_timer_reordering.c
View file @
65040130
...
...
@@ -93,9 +93,12 @@ rlc_am_check_timer_reordering(
}
/* Now find a SN for which either no PDU is received or partially received */
while
((
cursor
!=
NULL
)
&&
(
pdu_info
->
sn
==
vr_ms_new
)
&&
(((
rlc_am_rx_pdu_management_t
*
)(
cursor
->
data
))
->
all_segments_received
>
0
))
{
while
((
cursor
!=
NULL
)
&&
(
vr_ms_new
!=
rlc_pP
->
vr_h
)
&&
(
pdu_info
->
sn
==
vr_ms_new
)
&&
(((
rlc_am_rx_pdu_management_t
*
)(
cursor
->
data
))
->
all_segments_received
>
0
))
{
/* Increment vrMS if the PDU is fully received or if this is the last PDU segment */
if
((
pdu_info
->
rf
==
0
)
||
(
pdu_info
->
lsf
==
1
))
{
vr_ms_new
=
RLC_AM_NEXT_SN
(
vr_ms_new
);
}
cursor
=
cursor
->
next
;
vr_ms_new
=
RLC_AM_NEXT_SN
(
vr_ms_new
);
if
(
cursor
!=
NULL
)
{
pdu_info
=
&
((
rlc_am_rx_pdu_management_t
*
)(
cursor
->
data
))
->
pdu_info
;
}
...
...
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