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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG-RAN
Commits
cfb654e7
Commit
cfb654e7
authored
Sep 01, 2025
by
Guido Casati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HO Preparation: add alloc_ho_ctx to rrc_gNB_mobility lib
parent
ff5b2bc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
openair2/RRC/NR/rrc_gNB_mobility.c
openair2/RRC/NR/rrc_gNB_mobility.c
+1
-2
openair2/RRC/NR/rrc_gNB_mobility.h
openair2/RRC/NR/rrc_gNB_mobility.h
+3
-0
No files found.
openair2/RRC/NR/rrc_gNB_mobility.c
View file @
cfb654e7
...
@@ -42,8 +42,7 @@
...
@@ -42,8 +42,7 @@
#include "openair2/E2AP/RAN_FUNCTION/O-RAN/ran_func_rc_extern.h"
#include "openair2/E2AP/RAN_FUNCTION/O-RAN/ran_func_rc_extern.h"
#endif
#endif
typedef
enum
{
HO_CTX_BOTH
,
HO_CTX_SOURCE
,
HO_CTX_TARGET
}
ho_ctx_type_t
;
nr_handover_context_t
*
alloc_ho_ctx
(
ho_ctx_type_t
type
)
static
nr_handover_context_t
*
alloc_ho_ctx
(
ho_ctx_type_t
type
)
{
{
nr_handover_context_t
*
ho_ctx
=
calloc_or_fail
(
1
,
sizeof
(
*
ho_ctx
));
nr_handover_context_t
*
ho_ctx
=
calloc_or_fail
(
1
,
sizeof
(
*
ho_ctx
));
if
(
type
==
HO_CTX_SOURCE
||
type
==
HO_CTX_BOTH
)
{
if
(
type
==
HO_CTX_SOURCE
||
type
==
HO_CTX_BOTH
)
{
...
...
openair2/RRC/NR/rrc_gNB_mobility.h
View file @
cfb654e7
...
@@ -72,6 +72,9 @@ typedef struct nr_handover_context_s {
...
@@ -72,6 +72,9 @@ typedef struct nr_handover_context_s {
nr_ho_target_cu_t
*
target
;
nr_ho_target_cu_t
*
target
;
}
nr_handover_context_t
;
}
nr_handover_context_t
;
typedef
enum
{
HO_CTX_BOTH
,
HO_CTX_SOURCE
,
HO_CTX_TARGET
}
ho_ctx_type_t
;
nr_handover_context_t
*
alloc_ho_ctx
(
ho_ctx_type_t
type
);
void
nr_rrc_trigger_f1_ho
(
gNB_RRC_INST
*
rrc
,
gNB_RRC_UE_t
*
ue
,
nr_rrc_du_container_t
*
source_du
,
nr_rrc_du_container_t
*
target_du
);
void
nr_rrc_trigger_f1_ho
(
gNB_RRC_INST
*
rrc
,
gNB_RRC_UE_t
*
ue
,
nr_rrc_du_container_t
*
source_du
,
nr_rrc_du_container_t
*
target_du
);
void
nr_rrc_finalize_ho
(
gNB_RRC_UE_t
*
ue
);
void
nr_rrc_finalize_ho
(
gNB_RRC_UE_t
*
ue
);
...
...
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