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
1f5f84f2
Commit
1f5f84f2
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@6111
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
15f49ff2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+4
-2
No files found.
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
1f5f84f2
...
...
@@ -105,6 +105,8 @@ boolean_t pdcp_data_req(
rlc_op_status_t
rlc_status
;
boolean_t
ret
=
TRUE
;
vcd_signal_dumper_dump_function_by_name
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PDCP_DATA_REQ
,
VCD_FUNCTION_IN
);
AssertError
(
enb_mod_idP
<
NUMBER_OF_eNB_MAX
,
return
FALSE
,
"eNB id is too high (%u/%d) %u %u!
\n
"
,
enb_mod_idP
,
NUMBER_OF_eNB_MAX
,
ue_mod_idP
,
rb_idP
);
AssertError
(
ue_mod_idP
<
NUMBER_OF_UE_MAX
,
return
FALSE
,
"UE id is too high (%u/%d) %u %u!
\n
"
,
ue_mod_idP
,
NUMBER_OF_UE_MAX
,
enb_mod_idP
,
rb_idP
);
if
(
modeP
==
PDCP_TRANSMISSION_MODE_TRANSPARENT
)
{
...
...
@@ -161,7 +163,6 @@ boolean_t pdcp_data_req(
else
start_meas
(
&
UE_pdcp_stats
[
ue_mod_idP
].
data_req
);
vcd_signal_dumper_dump_function_by_name
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PDCP_DATA_REQ
,
VCD_FUNCTION_IN
);
// PDCP transparent mode for MBMS traffic
...
...
@@ -170,10 +171,11 @@ boolean_t pdcp_data_req(
pdcp_pdu_p
=
get_free_mem_block
(
sdu_buffer_sizeP
);
if
(
pdcp_pdu_p
!=
NULL
)
{
memcpy
(
&
pdcp_pdu_p
->
data
[
0
],
sdu_buffer_pP
,
sdu_buffer_sizeP
);
#if defined(DEBUG_PDCP_PAYLOAD)
rlc_util_print_hex_octets
(
PDCP
,
(
unsigned
char
*
)
&
pdcp_pdu_p
->
data
[
0
],
sdu_buffer_sizeP
);
#endif
rlc_status
=
rlc_data_req
(
enb_mod_idP
,
ue_mod_idP
,
frameP
,
enb_flagP
,
srb_flagP
,
MBMS_FLAG_YES
,
rb_idP
,
muiP
,
confirmP
,
sdu_buffer_sizeP
,
pdcp_pdu_p
);
}
else
{
rlc_status
=
RLC_OP_STATUS_OUT_OF_RESSOURCES
;
...
...
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