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
zzha zzha
OpenXG-RAN
Commits
838b284a
Commit
838b284a
authored
Oct 10, 2023
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove-global-rx_spatial_power_in_gnb
parent
bba14188
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
openair1/PHY/NR_ESTIMATION/nr_measurements_gNB.c
openair1/PHY/NR_ESTIMATION/nr_measurements_gNB.c
+1
-3
openair1/PHY/defs_gNB.h
openair1/PHY/defs_gNB.h
+0
-4
No files found.
openair1/PHY/NR_ESTIMATION/nr_measurements_gNB.c
View file @
838b284a
...
...
@@ -216,8 +216,7 @@ void nr_gnb_measurements(PHY_VARS_gNB *gNB,
ulsch_measurements_gNB
*
ulsch_measurements
=
&
ulsch
->
ulsch_measurements
;
int
rx_power
[
fp
->
nb_antennas_rx
];
allocCast2D
(
rx_spatial_power
,
int
,
ulsch_measurements
->
rx_spatial_power
,
nrOfLayers
,
fp
->
nb_antennas_rx
,
true
);
allocCast2D
(
rx_spatial_power_dB
,
unsigned
short
,
ulsch_measurements
->
rx_spatial_power_dB
,
nrOfLayers
,
fp
->
nb_antennas_rx
,
true
);
int
rx_spatial_power
[
nrOfLayers
][
fp
->
nb_antennas_rx
];
for
(
int
aarx
=
0
;
aarx
<
fp
->
nb_antennas_rx
;
aarx
++
){
rx_power
[
aarx
]
=
0
;
...
...
@@ -230,7 +229,6 @@ void nr_gnb_measurements(PHY_VARS_gNB *gNB,
rx_spatial_power
[
aatx
][
aarx
]
=
0
;
}
rx_spatial_power_dB
[
aatx
][
aarx
]
=
(
unsigned
short
)
dB_fixed
(
rx_spatial_power
[
aatx
][
aarx
]);
rx_power
[
aarx
]
+=
rx_spatial_power
[
aatx
][
aarx
];
}
LOG_D
(
PHY
,
"[RNTI %04x] RX power in antenna %d = %d
\n
"
,
ulsch
->
rnti
,
aarx
,
rx_power
[
aarx
]);
...
...
openair1/PHY/defs_gNB.h
View file @
838b284a
...
...
@@ -237,10 +237,6 @@ static inline int crcType(int nbSeg, int len)
}
typedef
struct
{
//! estimated received spatial signal power (linear)
fourDimArray_t
*
rx_spatial_power
;
//! estimated received spatial signal power (dB)
fourDimArray_t
*
rx_spatial_power_dB
;
//! estimated rssi (dBm)
int
rx_rssi_dBm
;
//! estimated correlation (wideband linear) between spatial channels (computed in dlsch_demodulation)
...
...
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