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
promise
OpenXG-RAN
Commits
cf9727c4
Commit
cf9727c4
authored
8 years ago
by
GabrielCouturier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RLC AM fix bad assert for resegmentation
parent
dabf833c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_retransmit.c
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_retransmit.c
+8
-1
No files found.
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_retransmit.c
View file @
cf9727c4
...
...
@@ -314,7 +314,14 @@ mem_block_t* rlc_am_retransmit_get_am_segment(
retx_so_start
=
pdu_mngt
->
hole_so_start
[
pdu_mngt
->
retx_hole_index
];
retx_so_stop
=
pdu_mngt
->
hole_so_stop
[
pdu_mngt
->
retx_hole_index
];
AssertFatal
((
retx_so_start
<=
retx_so_stop
)
&&
(
retx_so_stop
-
retx_so_start
+
1
<
pdu_mngt
->
payload_size
),
/*
if (!(retx_so_start <= retx_so_stop) && (retx_so_stop - retx_so_start + 1 <= pdu_mngt->payload_size))
{
AssertFatal(0);
}
*/
AssertFatal
((
retx_so_start
<=
retx_so_stop
)
&&
(
retx_so_stop
-
retx_so_start
+
1
<=
pdu_mngt
->
payload_size
),
"RLC AM Tx PDU Segment Data SO Error: retx_so_start=%d retx_so_stop=%d OriginalPDUDataLength=%d sn=%d LcId=%d!
\n
"
,
retx_so_start
,
retx_so_stop
,
pdu_mngt
->
payload_size
,
sn
,
rlc_pP
->
channel_id
);
...
...
This diff is collapsed.
Click to expand it.
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