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
wangwenhui
OpenXG-RAN
Commits
4f98a626
Commit
4f98a626
authored
Dec 09, 2020
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
warning fixes
parent
1b2c8b3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
openair1/PHY/NR_UE_ESTIMATION/nr_estimation.h
openair1/PHY/NR_UE_ESTIMATION/nr_estimation.h
+4
-0
openair1/PHY/NR_UE_ESTIMATION/nr_ue_measurements.c
openair1/PHY/NR_UE_ESTIMATION/nr_ue_measurements.c
+1
-1
No files found.
openair1/PHY/NR_UE_ESTIMATION/nr_estimation.h
View file @
4f98a626
...
...
@@ -93,6 +93,10 @@ void nr_ue_rsrp_measurements(PHY_VARS_NR_UE *ue,
uint8_t
slot
,
uint8_t
abstraction_flag
);
void
nr_ue_rrc_measurements
(
PHY_VARS_NR_UE
*
ue
,
UE_nr_rxtx_proc_t
*
proc
,
uint8_t
slot
);
void
phy_adjust_gain_nr
(
PHY_VARS_NR_UE
*
ue
,
uint32_t
rx_power_fil_dB
,
uint8_t
eNB_id
);
...
...
openair1/PHY/NR_UE_ESTIMATION/nr_ue_measurements.c
View file @
4f98a626
...
...
@@ -145,7 +145,7 @@ void nr_ue_measurements(PHY_VARS_NR_UE *ue,
ue
->
measurements
.
n0_power_avg
=
(
int
)(((
k1
*
((
long
long
int
)
(
ue
->
measurements
.
n0_power_avg
)))
+
(
k2
*
((
long
long
int
)
(
ue
->
measurements
.
n0_power_tot
))))
>>
10
);
LOG_D
(
PHY
,
"Noise Power Computation: k1 %
d k2 %d n0 avg %lu n0 tot %l
u
\n
"
,
k1
,
k2
,
ue
->
measurements
.
n0_power_avg
,
ue
->
measurements
.
n0_power_tot
);
LOG_D
(
PHY
,
"Noise Power Computation: k1 %
lld k2 %lld n0 avg %u n0 tot %
u
\n
"
,
k1
,
k2
,
ue
->
measurements
.
n0_power_avg
,
ue
->
measurements
.
n0_power_tot
);
}
else
{
...
...
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