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
3b87dd30
Commit
3b87dd30
authored
Jun 15, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement ue_context_modification_required_direct()
parent
d40db13e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
openair2/LAYER2/NR_MAC_gNB/mac_rrc_ul_direct.c
openair2/LAYER2/NR_MAC_gNB/mac_rrc_ul_direct.c
+21
-1
No files found.
openair2/LAYER2/NR_MAC_gNB/mac_rrc_ul_direct.c
View file @
3b87dd30
...
@@ -113,7 +113,27 @@ static void ue_context_modification_response_direct(const f1ap_ue_context_modif_
...
@@ -113,7 +113,27 @@ static void ue_context_modification_response_direct(const f1ap_ue_context_modif_
static
void
ue_context_modification_required_direct
(
const
f1ap_ue_context_modif_required_t
*
required
)
static
void
ue_context_modification_required_direct
(
const
f1ap_ue_context_modif_required_t
*
required
)
{
{
AssertFatal
(
false
,
"%s() not implemented yet
\n
"
,
__func__
);
MessageDef
*
msg
=
itti_alloc_new_message
(
TASK_MAC_GNB
,
0
,
F1AP_UE_CONTEXT_MODIFICATION_REQUIRED
);
f1ap_ue_context_modif_required_t
*
f1ap_msg
=
&
F1AP_UE_CONTEXT_MODIFICATION_REQUIRED
(
msg
);
f1ap_msg
->
gNB_CU_ue_id
=
required
->
gNB_CU_ue_id
;
f1ap_msg
->
gNB_DU_ue_id
=
required
->
gNB_DU_ue_id
;
f1ap_msg
->
du_to_cu_rrc_information
=
NULL
;
if
(
required
->
du_to_cu_rrc_information
!=
NULL
)
{
f1ap_msg
->
du_to_cu_rrc_information
=
calloc
(
1
,
sizeof
(
*
f1ap_msg
->
du_to_cu_rrc_information
));
AssertFatal
(
f1ap_msg
->
du_to_cu_rrc_information
!=
NULL
,
"out of memory
\n
"
);
du_to_cu_rrc_information_t
*
du2cu
=
f1ap_msg
->
du_to_cu_rrc_information
;
AssertFatal
(
required
->
du_to_cu_rrc_information
->
cellGroupConfig
!=
NULL
&&
required
->
du_to_cu_rrc_information
->
cellGroupConfig_length
>
0
,
"cellGroupConfig is mandatory
\n
"
);
du2cu
->
cellGroupConfig_length
=
required
->
du_to_cu_rrc_information
->
cellGroupConfig_length
;
du2cu
->
cellGroupConfig
=
malloc
(
du2cu
->
cellGroupConfig_length
*
sizeof
(
*
du2cu
->
cellGroupConfig
));
AssertFatal
(
du2cu
->
cellGroupConfig
!=
NULL
,
"out of memory
\n
"
);
memcpy
(
du2cu
->
cellGroupConfig
,
required
->
du_to_cu_rrc_information
->
cellGroupConfig
,
du2cu
->
cellGroupConfig_length
);
AssertFatal
(
required
->
du_to_cu_rrc_information
->
measGapConfig
==
NULL
&&
required
->
du_to_cu_rrc_information
->
measGapConfig_length
==
0
,
"not handled yet
\n
"
);
AssertFatal
(
required
->
du_to_cu_rrc_information
->
requestedP_MaxFR1
==
NULL
&&
required
->
du_to_cu_rrc_information
->
requestedP_MaxFR1_length
==
0
,
"not handled yet
\n
"
);
}
f1ap_msg
->
cause
=
required
->
cause
;
f1ap_msg
->
cause_value
=
required
->
cause_value
;
itti_send_msg_to_task
(
TASK_RRC_GNB
,
0
,
msg
);
}
}
static
void
ue_context_release_request_direct
(
const
f1ap_ue_context_release_req_t
*
req
)
static
void
ue_context_release_request_direct
(
const
f1ap_ue_context_release_req_t
*
req
)
...
...
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