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
canghaiwuhen
OpenXG-RAN
Commits
62d35e21
Commit
62d35e21
authored
Dec 01, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6136
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
20a333d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+5
-4
No files found.
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
62d35e21
...
...
@@ -422,7 +422,9 @@ boolean_t pdcp_data_ind(
#endif
#ifdef OAI_EMU
vcd_signal_dumper_dump_function_by_name
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PDCP_DATA_IND
,
VCD_FUNCTION_IN
);
#ifdef OAI_EMU
if
(
enb_flagP
)
{
AssertFatal
((
enb_mod_idP
>=
oai_emulation
.
info
.
first_enb_local
)
&&
(
oai_emulation
.
info
.
nb_enb_local
>
0
),
"eNB module id is too low (%u/%d)!
\n
"
,
...
...
@@ -511,7 +513,6 @@ boolean_t pdcp_data_ind(
start_meas
(
&
eNB_pdcp_stats
[
enb_mod_idP
].
data_ind
);
else
start_meas
(
&
UE_pdcp_stats
[
ue_mod_idP
].
data_ind
);
vcd_signal_dumper_dump_function_by_name
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PDCP_DATA_IND
,
VCD_FUNCTION_IN
);
/*
* Parse the PDU placed at the beginning of SDU to check
...
...
@@ -553,7 +554,7 @@ boolean_t pdcp_data_ind(
}
if
(
pdcp_is_rx_seq_number_valid
(
sequence_number
,
pdcp_p
,
srb_flagP
)
==
TRUE
)
{
LOG_
D
(
PDCP
,
"Incoming PDU has a sequence number (%d) in accordance with RX window
\n
"
,
sequence_number
);
LOG_
T
(
PDCP
,
"Incoming PDU has a sequence number (%d) in accordance with RX window
\n
"
,
sequence_number
);
/* if (dc == PDCP_DATA_PDU )
LOG_D(PDCP, "Passing piggybacked SDU to NAS driver...\n");
else
...
...
@@ -697,7 +698,7 @@ boolean_t pdcp_data_ind(
*/
#if defined(LINK_PDCP_TO_GTPV1U)
if
((
TRUE
==
enb_flagP
)
&&
(
FALSE
==
srb_flagP
))
{
LOG_I
(
PDCP
,
"Sending to GTPV1U %d bytes
\n
"
,
sdu_buffer_sizeP
-
payload_offset
);
//LOG_T
(PDCP,"Sending to GTPV1U %d bytes\n", sdu_buffer_sizeP - payload_offset);
gtpu_buffer_p
=
itti_malloc
(
TASK_PDCP_ENB
,
TASK_GTPV1_U
,
sdu_buffer_sizeP
-
payload_offset
+
GTPU_HEADER_OVERHEAD_MAX
);
AssertFatal
(
gtpu_buffer_p
!=
NULL
,
"OUT OF MEMORY"
);
...
...
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