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
canghaiwuhen
OpenXG-RAN
Commits
8402a1a3
Commit
8402a1a3
authored
Jan 28, 2016
by
gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lte_eNB_measurements
parent
eb03e01f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair1/PHY/LTE_ESTIMATION/lte_eNB_measurements.c
openair1/PHY/LTE_ESTIMATION/lte_eNB_measurements.c
+2
-2
No files found.
openair1/PHY/LTE_ESTIMATION/lte_eNB_measurements.c
View file @
8402a1a3
...
@@ -68,8 +68,8 @@ void lte_eNB_I0_measurements(PHY_VARS_eNB *phy_vars_eNB,
...
@@ -68,8 +68,8 @@ void lte_eNB_I0_measurements(PHY_VARS_eNB *phy_vars_eNB,
phy_measurements
->
n0_power
[
aarx
]
=
((
k1
*
signal_energy
(
&
eNB_common_vars
->
rxdata
[
eNB_id
][
aarx
][(
frame_parms
->
samples_per_tti
<<
1
)
-
frame_parms
->
ofdm_symbol_size
],
phy_measurements
->
n0_power
[
aarx
]
=
((
k1
*
signal_energy
(
&
eNB_common_vars
->
rxdata
[
eNB_id
][
aarx
][(
frame_parms
->
samples_per_tti
<<
1
)
-
frame_parms
->
ofdm_symbol_size
],
frame_parms
->
ofdm_symbol_size
))
+
k2
*
phy_measurements
->
n0_power
[
aarx
])
>>
10
;
frame_parms
->
ofdm_symbol_size
))
+
k2
*
phy_measurements
->
n0_power
[
aarx
])
>>
10
;
phy_measurements
->
n0_power
[
aarx
]
=
(
phy_measurements
->
n0_power
[
aarx
]
*
12
*
frame_parms
->
N_RB_DL
)
/
(
frame_parms
->
ofdm_symbol_size
);
//phy_measurements->n0_power[aarx] = (phy_measurements->n0_power[aarx])
* 12*frame_parms->N_RB_DL)/(frame_parms->ofdm_symbol_size);
phy_measurements
->
n0_power_dB
[
aarx
]
=
(
unsigned
short
)
dB_fixed
(
phy_measurements
->
n0_power
[
aarx
]);
phy_measurements
->
n0_power_dB
[
aarx
]
=
(
unsigned
short
)
dB_fixed
(
phy_measurements
->
n0_power
[
aarx
]);
phy_measurements
->
n0_power_tot
+=
phy_measurements
->
n0_power
[
aarx
];
phy_measurements
->
n0_power_tot
+=
phy_measurements
->
n0_power
[
aarx
];
}
}
...
...
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