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
spbro
OpenXG-RAN
Commits
3bede49b
Commit
3bede49b
authored
1 year ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/fix-double-use-cudata' into integration_2023_w44
parents
8e4ff595
c36eb7c9
Branches unavailable
2024.w43
2024.w42
2024.w41
2024.w40
2024.w39
2024.w38
2024.w36
2024.w35
2024.w34
2024.w33
2024.w32
2024.w31
2024.w30
2024.w29
2024.w28
2024.w27
2024.w26
2024.w25
2024.w24
2024.w23
2024.w22
2024.w21
2024.w18
2024.w17
2024.w16
2024.w15
2024.w14
2024.w13
2024.w12
2024.w11
2024.w10
2024.w09
2024.w08
2024.w06
2024.w05
2024.w04
2024.w03
2024.w02
2024.w01
2023.w51
2023.w50
2023.w49
2023.w48
2023.w47
2023.w45
v2.1.0
ARC_1.3
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
3 deletions
+20
-3
openair2/LAYER2/nr_pdcp/cucp_cuup_handler.c
openair2/LAYER2/nr_pdcp/cucp_cuup_handler.c
+11
-3
openair2/LAYER2/nr_pdcp/cuup_cucp_if.c
openair2/LAYER2/nr_pdcp/cuup_cucp_if.c
+8
-0
openair2/LAYER2/nr_pdcp/cuup_cucp_if.h
openair2/LAYER2/nr_pdcp/cuup_cucp_if.h
+1
-0
No files found.
openair2/LAYER2/nr_pdcp/cucp_cuup_handler.c
View file @
3bede49b
...
...
@@ -134,11 +134,15 @@ static instance_t get_f1_gtp_instance(void)
void
e1_bearer_context_setup
(
const
e1ap_bearer_setup_req_t
*
req
)
{
bool
need_ue_id_mgmt
=
e1_used
();
/* mirror the CU-CP UE ID for CU-UP */
uint32_t
cu_up_ue_id
=
req
->
gNB_cu_cp_ue_id
;
f1_ue_data_t
ued
=
{.
secondary_ue
=
req
->
gNB_cu_cp_ue_id
};
if
(
need_ue_id_mgmt
)
{
cu_add_f1_ue_data
(
cu_up_ue_id
,
&
ued
);
LOG_I
(
E1AP
,
"adding UE with CU-CP UE ID %d and CU-UP UE ID %d
\n
"
,
req
->
gNB_cu_cp_ue_id
,
cu_up_ue_id
);
}
instance_t
n3inst
=
get_n3_gtp_instance
();
instance_t
f1inst
=
get_f1_gtp_instance
();
...
...
@@ -260,6 +264,8 @@ void e1_bearer_context_modif(const e1ap_bearer_setup_req_t *req)
void
e1_bearer_release_cmd
(
const
e1ap_bearer_release_cmd_t
*
cmd
)
{
bool
need_ue_id_mgmt
=
e1_used
();
instance_t
n3inst
=
get_n3_gtp_instance
();
instance_t
f1inst
=
get_f1_gtp_instance
();
...
...
@@ -269,7 +275,9 @@ void e1_bearer_release_cmd(const e1ap_bearer_release_cmd_t *cmd)
if
(
f1inst
>=
0
)
// is there F1-U?
newGtpuDeleteAllTunnels
(
f1inst
,
cmd
->
gNB_cu_up_ue_id
);
nr_pdcp_remove_UE
(
cmd
->
gNB_cu_up_ue_id
);
if
(
need_ue_id_mgmt
)
{
cu_remove_f1_ue_data
(
cmd
->
gNB_cu_up_ue_id
);
}
e1ap_bearer_release_cplt_t
cplt
=
{
.
gNB_cu_cp_ue_id
=
cmd
->
gNB_cu_cp_ue_id
,
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/nr_pdcp/cuup_cucp_if.c
View file @
3bede49b
...
...
@@ -22,14 +22,22 @@
#include "cuup_cucp_if.h"
static
e1_if_t
e1_if
;
static
bool
g_uses_e1
;
e1_if_t
*
get_e1_if
(
void
)
{
return
&
e1_if
;
}
bool
e1_used
(
void
)
{
return
g_uses_e1
;
}
void
nr_pdcp_e1_if_init
(
bool
uses_e1
)
{
g_uses_e1
=
uses_e1
;
if
(
uses_e1
)
cuup_cucp_init_e1ap
(
&
e1_if
);
else
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/nr_pdcp/cuup_cucp_if.h
View file @
3bede49b
...
...
@@ -38,6 +38,7 @@ typedef struct e1_if_t {
}
e1_if_t
;
e1_if_t
*
get_e1_if
(
void
);
bool
e1_used
(
void
);
void
nr_pdcp_e1_if_init
(
bool
uses_e1
);
void
cuup_cucp_init_direct
(
e1_if_t
*
iface
);
...
...
This diff is collapsed.
Click to expand it.
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