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
常顺宇
OpenXG-RAN
Commits
d2e85509
Commit
d2e85509
authored
May 15, 2018
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temporary solution to allow receiving multicast traffic from multiple sources
parent
315c48e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
openair2/LAYER2/RLC/UM_v9.3.0/rlc_um.c
openair2/LAYER2/RLC/UM_v9.3.0/rlc_um.c
+24
-1
No files found.
openair2/LAYER2/RLC/UM_v9.3.0/rlc_um.c
View file @
d2e85509
...
...
@@ -379,6 +379,29 @@ rlc_um_rx (const protocol_ctxt_t* const ctxt_pP, void *argP, struct mac_data_ind
#endif
#ifdef Rel14
//trick to make UE receive multicast packet from different sources
mem_block_t
*
tb_p
=
NULL
;
uint8_t
*
first_byte_p
=
NULL
;
//rlc_um_entity_t *
tb_p
=
list_get_head
(
&
data_indP
.
data
);
first_byte_p
=
((
struct
mac_tb_ind
*
)
(
tb_p
->
data
))
->
data_ptr
;
rlc_um_pdu_sn_10_t
*
pdu_mem_pP
=
(
rlc_um_pdu_sn_10_t
*
)
first_byte_p
;
rlc_sn_t
sn
=
-
1
;
if
(
l_rlc_p
->
rx_sn_length
==
10
)
{
sn
=
((
pdu_mem_pP
->
b1
&
0x00000003
)
<<
8
)
+
pdu_mem_pP
->
b2
;
}
else
if
(
l_rlc_p
->
rx_sn_length
==
5
)
{
sn
=
pdu_mem_pP
->
b1
&
0x1F
;
}
LOG_I
(
RLC
,
"[rlc_um_rx]DEBUG SN %d, rlc_pP->vr_uh %d rlc_pP->vr_ur %d, l_rlc_p->vr_ux %d
\n
"
,
sn
,
l_rlc_p
->
vr_uh
,
l_rlc_p
->
vr_ur
,
l_rlc_p
->
vr_ux
);
l_rlc_p
->
vr_ur
=
sn
;
l_rlc_p
->
vr_uh
=
sn
;
/*
if (sl_reset_rlc_flag == SL_RESET_RLC_FLAG_YES) {
l_rlc_p->vr_ur = 0;
l_rlc_p->vr_ux = 0;
...
...
@@ -390,7 +413,7 @@ rlc_um_rx (const protocol_ctxt_t* const ctxt_pP, void *argP, struct mac_data_ind
l_rlc_p->vr_ux = l_rlc_p->vr_ux % 3;
l_rlc_p->vr_uh = l_rlc_p->vr_uh % 3;
}
*/
#endif
rlc_um_receive
(
ctxt_pP
,
l_rlc_p
,
data_indP
);
...
...
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