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
67eb94db
Commit
67eb94db
authored
Sep 02, 2024
by
Roberto Magueta
Committed by
Robert Schmidt
Oct 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print RRC neighbor cell measurements, if present
Co-authored-by:
Luis Pereira
<
lpereira@allbesmart.pt
>
parent
c3ef6df4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+18
-0
No files found.
openair2/RRC/NR/rrc_gNB.c
View file @
67eb94db
...
@@ -2194,6 +2194,24 @@ static void print_rrc_meas(FILE *f, const NR_MeasResults_t *measresults)
...
@@ -2194,6 +2194,24 @@ static void print_rrc_meas(FILE *f, const NR_MeasResults_t *measresults)
}
else
{
}
else
{
fprintf
(
f
,
"NOT PROVIDED
\n
"
);
fprintf
(
f
,
"NOT PROVIDED
\n
"
);
}
}
if
(
measresults
->
measResultNeighCells
&&
measresults
->
measResultNeighCells
->
present
==
NR_MeasResults__measResultNeighCells_PR_measResultListNR
)
{
NR_MeasResultListNR_t
*
meas_neigh
=
measresults
->
measResultNeighCells
->
choice
.
measResultListNR
;
for
(
int
i
=
0
;
i
<
meas_neigh
->
list
.
count
;
++
i
)
{
NR_MeasResultNR_t
*
measresultneigh
=
meas_neigh
->
list
.
array
[
i
];
NR_MeasQuantityResults_t
*
neigh_mqr
=
measresultneigh
->
measResult
.
cellResults
.
resultsSSB_Cell
;
fprintf
(
f
,
" neighboring cell for phyCellId %ld:
\n
resultSSB:"
,
*
measresultneigh
->
physCellId
);
if
(
mqr
!=
NULL
)
{
const
long
rrsrp
=
*
neigh_mqr
->
rsrp
-
156
;
const
float
rrsrq
=
(
float
)(
*
neigh_mqr
->
rsrq
-
87
)
/
2
.
0
f
;
const
float
rsinr
=
(
float
)(
*
neigh_mqr
->
sinr
-
46
)
/
2
.
0
f
;
fprintf
(
f
,
"RSRP %ld dBm RSRQ %.1f dB SINR %.1f dB
\n
"
,
rrsrp
,
rrsrq
,
rsinr
);
}
else
{
fprintf
(
f
,
"NOT PROVIDED
\n
"
);
}
}
}
}
}
static
const
char
*
get_pdusession_status_text
(
pdu_session_status_t
status
)
static
const
char
*
get_pdusession_status_text
(
pdu_session_status_t
status
)
...
...
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