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
f85271a3
Commit
f85271a3
authored
Oct 24, 2024
by
Guido Casati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Free F1AP messages in RRC task after processing
parent
b17f1d1b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+4
-1
openair2/RRC/NR/rrc_gNB_du.c
openair2/RRC/NR/rrc_gNB_du.c
+0
-2
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
f85271a3
...
...
@@ -98,6 +98,7 @@
#include "openair2/SDAP/nr_sdap/nr_sdap_entity.h"
#include "openair2/E1AP/e1ap.h"
#include "cucp_cuup_if.h"
#include "lib/f1ap_interface_management.h"
#include "BIT_STRING.h"
#include "assertions.h"
...
...
@@ -2309,7 +2310,7 @@ void *rrc_gnb_task(void *args_p) {
/* From DU -> CU */
case
F1AP_UL_RRC_MESSAGE
:
rrc_gNB_decode_dcch
(
RC
.
nrrrc
[
instance
],
&
F1AP_UL_RRC_MESSAGE
(
msg_p
));
free
(
F1AP_UL_RRC_MESSAGE
(
msg_p
).
rrc_container
);
free
_ul_rrc_message_transfer
(
&
F1AP_UL_RRC_MESSAGE
(
msg_p
)
);
break
;
case
NGAP_DOWNLINK_NAS
:
...
...
@@ -2332,6 +2333,7 @@ void *rrc_gnb_task(void *args_p) {
case
F1AP_SETUP_REQ
:
AssertFatal
(
!
NODE_IS_DU
(
RC
.
nrrrc
[
instance
]
->
node_type
),
"should not receive F1AP_SETUP_REQUEST in DU!
\n
"
);
rrc_gNB_process_f1_setup_req
(
&
F1AP_SETUP_REQ
(
msg_p
),
msg_p
->
ittiMsgHeader
.
originInstance
);
free_f1ap_setup_request
(
&
F1AP_SETUP_REQ
(
msg_p
));
break
;
case
F1AP_UE_CONTEXT_SETUP_RESP
:
...
...
@@ -2361,6 +2363,7 @@ void *rrc_gnb_task(void *args_p) {
case
F1AP_GNB_DU_CONFIGURATION_UPDATE
:
AssertFatal
(
!
NODE_IS_DU
(
RC
.
nrrrc
[
instance
]
->
node_type
),
"should not receive F1AP_SETUP_REQUEST in DU!
\n
"
);
rrc_gNB_process_f1_du_configuration_update
(
&
F1AP_GNB_DU_CONFIGURATION_UPDATE
(
msg_p
),
msg_p
->
ittiMsgHeader
.
originInstance
);
free_f1ap_du_configuration_update
(
&
F1AP_GNB_DU_CONFIGURATION_UPDATE
(
msg_p
));
break
;
case
F1AP_GNB_CU_CONFIGURATION_UPDATE_ACKNOWLEDGE
:
...
...
openair2/RRC/NR/rrc_gNB_du.c
View file @
f85271a3
...
...
@@ -383,8 +383,6 @@ void rrc_gNB_process_f1_setup_req(f1ap_setup_req_t *req, sctp_assoc_t assoc_id)
f1ap_setup_resp_t
resp
=
{.
transaction_id
=
req
->
transaction_id
,
.
num_cells_to_activate
=
1
,
.
cells_to_activate
[
0
]
=
cell
};
// free F1AP message after use
free_f1ap_setup_request
(
req
);
int
num
=
read_version
(
TO_STRING
(
NR_RRC_VERSION
),
&
resp
.
rrc_ver
[
0
],
&
resp
.
rrc_ver
[
1
],
&
resp
.
rrc_ver
[
2
]);
AssertFatal
(
num
==
3
,
"could not read RRC version string %s
\n
"
,
TO_STRING
(
NR_RRC_VERSION
));
if
(
rrc
->
node_name
!=
NULL
)
...
...
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