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
1f1b7564
Commit
1f1b7564
authored
May 30, 2024
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use UE->rx_total_gain_dB and remove rx_gain_offset in csi_rx.c
measurement computations
parent
50c9b1a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
+1
-1
No files found.
openair1/PHY/NR_UE_TRANSPORT/csi_rx.c
View file @
1f1b7564
...
@@ -255,7 +255,7 @@ int nr_get_csi_rs_signal(const PHY_VARS_NR_UE *ue,
...
@@ -255,7 +255,7 @@ int nr_get_csi_rs_signal(const PHY_VARS_NR_UE *ue,
*
rsrp
=
rsrp_sum
/
meas_count
;
*
rsrp
=
rsrp_sum
/
meas_count
;
*
rsrp_dBm
=
dB_fixed
(
*
rsrp
)
+
30
-
pow_2_30_dB
*
rsrp_dBm
=
dB_fixed
(
*
rsrp
)
+
30
-
pow_2_30_dB
-
((
int
)
openair0_cfg
[
0
].
rx_gain
[
0
]
-
(
int
)
openair0_cfg
[
0
].
rx_gain_offset
[
0
]
)
-
dB_fixed
(
ue
->
frame_parms
.
ofdm_symbol_size
);
-
((
int
)
ue
->
rx_total_gain_dB
)
-
dB_fixed
(
ue
->
frame_parms
.
ofdm_symbol_size
);
#ifdef NR_CSIRS_DEBUG
#ifdef NR_CSIRS_DEBUG
LOG_I
(
NR_PHY
,
"RSRP = %i (%i dBm)
\n
"
,
*
rsrp
,
*
rsrp_dBm
);
LOG_I
(
NR_PHY
,
"RSRP = %i (%i dBm)
\n
"
,
*
rsrp
,
*
rsrp_dBm
);
...
...
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