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
f1cef982
Commit
f1cef982
authored
May 31, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: DL RRC Message: Allocate RRC Container buf
parent
d647a98f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
openair2/RRC/NR/mac_rrc_dl_f1ap.c
openair2/RRC/NR/mac_rrc_dl_f1ap.c
+6
-0
No files found.
openair2/RRC/NR/mac_rrc_dl_f1ap.c
View file @
f1cef982
...
...
@@ -76,6 +76,12 @@ static void ue_context_release_command_f1ap(const f1ap_ue_context_release_cmd_t
MessageDef
*
message_p
=
itti_alloc_new_message
(
TASK_RRC_GNB
,
0
,
F1AP_UE_CONTEXT_RELEASE_CMD
);
f1ap_ue_context_release_cmd_t
*
msg
=
&
F1AP_UE_CONTEXT_RELEASE_CMD
(
message_p
);
*
msg
=
*
cmd
;
if
(
cmd
->
rrc_container_length
>
0
)
{
msg
->
rrc_container
=
calloc
(
cmd
->
rrc_container_length
,
sizeof
(
*
msg
->
rrc_container
));
AssertFatal
(
msg
->
rrc_container
!=
NULL
,
"out of memory
\n
"
);
msg
->
rrc_container_length
=
cmd
->
rrc_container_length
;
memcpy
(
msg
->
rrc_container
,
cmd
->
rrc_container
,
cmd
->
rrc_container_length
);
}
itti_send_msg_to_task
(
TASK_CU_F1
,
0
,
message_p
);
}
...
...
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