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
alex037yang
OpenXG-RAN
Commits
ee1d0d56
Commit
ee1d0d56
authored
Jan 07, 2016
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added noise-figure trace in stats.
parent
3007400b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
openair1/PHY/LTE_TRANSPORT/print_stats.c
openair1/PHY/LTE_TRANSPORT/print_stats.c
+3
-2
No files found.
openair1/PHY/LTE_TRANSPORT/print_stats.c
View file @
ee1d0d56
...
@@ -67,11 +67,12 @@ int dump_ue_stats(PHY_VARS_UE *phy_vars_ue, char* buffer, int length, runmode_t
...
@@ -67,11 +67,12 @@ int dump_ue_stats(PHY_VARS_UE *phy_vars_ue, char* buffer, int length, runmode_t
if
((
mode
==
normal_txrx
)
||
(
mode
==
no_L2_connect
))
{
if
((
mode
==
normal_txrx
)
||
(
mode
==
no_L2_connect
))
{
len
+=
sprintf
(
&
buffer
[
len
],
"[UE_PROC] UE %d, RNTI %x
\n
"
,
phy_vars_ue
->
Mod_id
,
phy_vars_ue
->
lte_ue_pdcch_vars
[
0
]
->
crnti
);
len
+=
sprintf
(
&
buffer
[
len
],
"[UE_PROC] UE %d, RNTI %x
\n
"
,
phy_vars_ue
->
Mod_id
,
phy_vars_ue
->
lte_ue_pdcch_vars
[
0
]
->
crnti
);
len
+=
sprintf
(
&
buffer
[
len
],
"[UE PROC] RSRP[0] %.2f dBm/RE, RSSI %.2f dBm, RSRQ[0] %.2f dB, N0 %d dBm/RE
\n
"
,
len
+=
sprintf
(
&
buffer
[
len
],
"[UE PROC] RSRP[0] %.2f dBm/RE, RSSI %.2f dBm, RSRQ[0] %.2f dB, N0 %d dBm/RE
(NF %.1f dB)
\n
"
,
10
*
log10
(
phy_vars_ue
->
PHY_measurements
.
rsrp
[
0
])
-
phy_vars_ue
->
rx_total_gain_dB
,
10
*
log10
(
phy_vars_ue
->
PHY_measurements
.
rsrp
[
0
])
-
phy_vars_ue
->
rx_total_gain_dB
,
10
*
log10
(
phy_vars_ue
->
PHY_measurements
.
rssi
)
-
phy_vars_ue
->
rx_total_gain_dB
,
10
*
log10
(
phy_vars_ue
->
PHY_measurements
.
rssi
)
-
phy_vars_ue
->
rx_total_gain_dB
,
10
*
log10
(
phy_vars_ue
->
PHY_measurements
.
rsrq
[
0
]),
10
*
log10
(
phy_vars_ue
->
PHY_measurements
.
rsrq
[
0
]),
phy_vars_ue
->
PHY_measurements
.
n0_power_tot_dBm
);
phy_vars_ue
->
PHY_measurements
.
n0_power_tot_dBm
,
(
double
)
phy_vars_ue
->
PHY_measurements
.
n0_power_tot_dBm
+
132
.
24
);
/*
/*
len += sprintf(&buffer[len],
len += sprintf(&buffer[len],
...
...
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