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
62fd56f9
Commit
62fd56f9
authored
Aug 24, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DCCH free memory
parent
567ab391
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+6
-5
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
62fd56f9
...
...
@@ -1384,7 +1384,7 @@ static inline uint64_t bitStr_to_uint64(BIT_STRING_t *asn) {
return
result
;
}
static
void
rrc_gNB_process_MeasurementReport
(
rrc_gNB_ue_context_t
*
ue_context
,
const
NR_MeasurementReport_t
*
measurementReport
)
static
void
rrc_gNB_process_MeasurementReport
(
rrc_gNB_ue_context_t
*
ue_context
,
NR_MeasurementReport_t
*
measurementReport
)
{
if
(
LOG_DEBUGFLAG
(
DEBUG_ASN1
))
xer_fprint
(
stdout
,
&
asn_DEF_NR_MeasurementReport
,
(
void
*
)
measurementReport
);
...
...
@@ -1393,14 +1393,15 @@ static void rrc_gNB_process_MeasurementReport(rrc_gNB_ue_context_t *ue_context,
&&
measurementReport
->
criticalExtensions
.
choice
.
measurementReport
!=
NULL
);
gNB_RRC_UE_t
*
ue_ctxt
=
&
ue_context
->
ue_context
;
if
(
ue_ctxt
->
measResults
!=
NULL
)
{
ASN_STRUCT_FREE_CONTENTS_ONLY
(
asn_DEF_NR_MeasResults
,
ue_ctxt
->
measResults
);
ue_ctxt
->
measResults
=
NULL
;
}
ASN_STRUCT_FREE
(
asn_DEF_NR_MeasResults
,
ue_ctxt
->
measResults
);
ue_ctxt
->
measResults
=
NULL
;
const
NR_MeasId_t
id
=
measurementReport
->
criticalExtensions
.
choice
.
measurementReport
->
measResults
.
measId
;
AssertFatal
(
id
,
"unexpected MeasResult for MeasurementId %ld received
\n
"
,
id
);
asn1cCallocOne
(
ue_ctxt
->
measResults
,
measurementReport
->
criticalExtensions
.
choice
.
measurementReport
->
measResults
);
/* we "keep" the measurement report, so set to 0 */
free
(
measurementReport
->
criticalExtensions
.
choice
.
measurementReport
);
measurementReport
->
criticalExtensions
.
choice
.
measurementReport
=
NULL
;
}
static
int
handle_rrcReestablishmentComplete
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
...
...
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