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
f6742f91
Commit
f6742f91
authored
Nov 26, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6109
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
6c4ffcff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_dar.c
openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_dar.c
+2
-0
openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_segment.c
openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_segment.c
+5
-2
No files found.
openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_dar.c
View file @
f6742f91
...
...
@@ -1047,7 +1047,9 @@ rlc_um_receive_process_dar (rlc_um_entity_t *rlc_pP, frame_t frameP, eNB_flag_t
}
in_window
=
rlc_um_in_window
(
rlc_pP
,
frameP
,
rlc_pP
->
vr_uh
-
rlc_pP
->
rx_um_window_size
,
sn
,
rlc_pP
->
vr_ur
);
#if defined(DEBUG_RLC_PAYLOAD)
rlc_util_print_hex_octets
(
RLC
,
&
pdu_pP
->
b1
,
tb_sizeP
);
#endif
// rlc_um_in_window() returns -2 if lower_bound > sn
// rlc_um_in_window() returns -1 if higher_bound < sn
...
...
openair2/LAYER2/RLC/UM_v9.3.0/rlc_um_segment.c
View file @
f6742f91
...
...
@@ -478,7 +478,9 @@ rlc_um_segment_10 (rlc_um_entity_t *rlc_pP,frame_t frameP)
pdu_tb_req_p
->
data_ptr
=
(
unsigned
char
*
)
pdu_p
;
pdu_tb_req_p
->
tb_size
=
data_pdu_size
-
pdu_remaining_size
;
list_add_tail_eurecom
(
pdu_mem_p
,
&
rlc_pP
->
pdus_to_mac_layer
);
//rlc_util_print_hex_octets(RLC, pdu_mem_p->data, data_pdu_size);
#if defined(DEBUG_RLC_PAYLOAD)
rlc_util_print_hex_octets
(
RLC
,
pdu_mem_p
->
data
,
data_pdu_size
);
#endif
AssertFatal
(
pdu_tb_req_p
->
tb_size
>
0
,
"SEGMENT10: FINAL RLC UM PDU LENGTH %d"
,
pdu_tb_req_p
->
tb_size
);
pdu_p
=
NULL
;
pdu_mem_p
=
NULL
;
...
...
@@ -915,8 +917,9 @@ rlc_um_segment_5 (rlc_um_entity_t *rlc_pP,frame_t frameP)
pdu_tb_req_p
->
data_ptr
=
(
unsigned
char
*
)
pdu_p
;
pdu_tb_req_p
->
tb_size
=
data_pdu_size
-
pdu_remaining_size
;
list_add_tail_eurecom
(
pdu_mem_p
,
&
rlc_pP
->
pdus_to_mac_layer
);
#if defined(DEBUG_RLC_PAYLOAD)
rlc_util_print_hex_octets
(
RLC
,
(
unsigned
char
*
)
pdu_mem_p
->
data
,
data_pdu_size
);
#endif
AssertFatal
(
pdu_tb_req_p
->
tb_size
>
0
,
"SEGMENT5: FINAL RLC UM PDU LENGTH %d"
,
pdu_tb_req_p
->
tb_size
);
pdu_p
=
NULL
;
...
...
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