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
zzha zzha
OpenXG-RAN
Commits
7eb9dacd
Commit
7eb9dacd
authored
Jun 18, 2015
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@7594
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
4d4f9f35
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+2
-1
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
+1
-1
No files found.
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
7eb9dacd
...
@@ -1395,8 +1395,9 @@ pdcp_config_req_asn1 (
...
@@ -1395,8 +1395,9 @@ pdcp_config_req_asn1 (
DevAssert
(
pdcp_pP
!=
NULL
);
DevAssert
(
pdcp_pP
!=
NULL
);
if
(
ctxt_pP
->
enb_flag
==
ENB_FLAG_YES
)
{
if
(
ctxt_pP
->
enb_flag
==
ENB_FLAG_YES
)
{
pdcp_pP
->
is_ue
=
FALSE
;
pdcp_pP
->
is_ue
=
FALSE
;
//pdcp_eNB_UE_instance_to_rnti[ctxtP->module_id] = ctxt_pP->rnti;
pdcp_eNB_UE_instance_to_rnti
[
pdcp_eNB_UE_instance_to_rnti_index
]
=
ctxt_pP
->
rnti
;
pdcp_eNB_UE_instance_to_rnti
[
pdcp_eNB_UE_instance_to_rnti_index
]
=
ctxt_pP
->
rnti
;
pdcp_eNB_UE_instance_to_rnti_index
=
(
pdcp_eNB_UE_instance_to_rnti_index
+
1
)
%
NUMBER_OF_UE_MAX
;
//
pdcp_eNB_UE_instance_to_rnti_index = (pdcp_eNB_UE_instance_to_rnti_index + 1) % NUMBER_OF_UE_MAX;
}
else
{
}
else
{
pdcp_pP
->
is_ue
=
TRUE
;
pdcp_pP
->
is_ue
=
TRUE
;
pdcp_UE_UE_module_id_to_rnti
[
ctxt_pP
->
module_id
]
=
ctxt_pP
->
rnti
;
pdcp_UE_UE_module_id_to_rnti
[
ctxt_pP
->
module_id
]
=
ctxt_pP
->
rnti
;
...
...
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
View file @
7eb9dacd
...
@@ -499,7 +499,7 @@ int pdcp_fifo_read_input_sdus (const protocol_ctxt_t* const ctxt_pP)
...
@@ -499,7 +499,7 @@ int pdcp_fifo_read_input_sdus (const protocol_ctxt_t* const ctxt_pP)
if
(
ctxt_cpy
.
enb_flag
)
{
if
(
ctxt_cpy
.
enb_flag
)
{
ctxt
.
module_id
=
0
;
ctxt
.
module_id
=
0
;
rab_id
=
pdcp_read_header_g
.
rb_id
%
maxDRB
;
rab_id
=
pdcp_read_header_g
.
rb_id
%
maxDRB
;
ctxt
.
rnti
=
pdcp_eNB_UE_instance_to_rnti
[
ctxt
.
module_id
];
ctxt
.
rnti
=
pdcp_eNB_UE_instance_to_rnti
[
pdcp_eNB_UE_instance_to_rnti_index
];
}
else
{
}
else
{
ctxt
.
module_id
=
0
;
ctxt
.
module_id
=
0
;
rab_id
=
pdcp_read_header_g
.
rb_id
%
maxDRB
;
rab_id
=
pdcp_read_header_g
.
rb_id
%
maxDRB
;
...
...
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