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
567ab391
Commit
567ab391
authored
Aug 21, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Free RRC UE data
parent
d94a4e54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+8
-0
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
567ab391
...
...
@@ -2009,6 +2009,13 @@ static void rrc_CU_process_ue_context_release_request(MessageDef *msg_p)
NGAP_CAUSE_RADIO_NETWORK_RADIO_CONNECTION_WITH_UE_LOST
);
}
static
void
rrc_delete_ue_data
(
gNB_RRC_UE_t
*
UE
)
{
ASN_STRUCT_FREE
(
asn_DEF_NR_UE_NR_Capability
,
UE
->
UE_Capability_nr
);
ASN_STRUCT_FREE
(
asn_DEF_NR_CellGroupConfig
,
UE
->
masterCellGroup
);
ASN_STRUCT_FREE
(
asn_DEF_NR_MeasResults
,
UE
->
measResults
);
}
static
void
rrc_CU_process_ue_context_release_complete
(
MessageDef
*
msg_p
)
{
const
int
instance
=
0
;
...
...
@@ -2025,6 +2032,7 @@ static void rrc_CU_process_ue_context_release_complete(MessageDef *msg_p)
newGtpuDeleteAllTunnels
(
instance
,
UE
->
rrc_ue_id
);
rrc_gNB_send_NGAP_UE_CONTEXT_RELEASE_COMPLETE
(
instance
,
UE
->
rrc_ue_id
);
LOG_I
(
NR_RRC
,
"removed UE CU UE ID %u/RNTI %04x
\n
"
,
UE
->
rrc_ue_id
,
UE
->
rnti
);
rrc_delete_ue_data
(
UE
);
rrc_gNB_remove_ue_context
(
rrc
,
ue_context_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