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
spbro
OpenXG-RAN
Commits
0c228ac1
Commit
0c228ac1
authored
Sep 22, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed amplitude for pucch at ue
parent
80592c71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
openair1/PHY/NR_UE_ESTIMATION/nr_ue_measurements.c
openair1/PHY/NR_UE_ESTIMATION/nr_ue_measurements.c
+1
-1
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
+4
-2
No files found.
openair1/PHY/NR_UE_ESTIMATION/nr_ue_measurements.c
View file @
0c228ac1
...
...
@@ -61,7 +61,7 @@ int16_t get_nr_PL(uint8_t Mod_id, uint8_t CC_id, uint8_t gNB_index){
long
referenceSignalPower
=
ue
->
nrUE_config
.
ssb_config
.
ss_pbch_power
;
pathloss
=
(
int16_t
)(
referenceSignalPower
-
30
+
ue
->
rx_total_gain_dB
);
pathloss
=
(
int16_t
)(
referenceSignalPower
-
ue
->
measurements
.
rsrp_dBm
[
gNB_index
]
);
LOG_D
(
MAC
,
"In %s: pathloss %d dB, UE RX total gain %d dB, referenceSignalPower %ld dBm/RE (%f mW), RSRP %d dBm (%f mW)
\n
"
,
__FUNCTION__
,
...
...
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
View file @
0c228ac1
...
...
@@ -341,12 +341,14 @@ void pucch_procedures_ue_nr(PHY_VARS_NR_UE *ue,
int
tx_amp
;
/*
tx_amp = nr_get_tx_amp(pucch_tx_power,
ue->tx_power_max_dBm,
ue->frame_parms.N_RB_UL,
nb_of_prbs);
if
(
tx_amp
==
0
)
tx_amp
=
AMP
;
if (tx_amp == 0)*/
// FIXME temporarly using fixed amplitude before pucch power control implementation revised
tx_amp
=
AMP
;
LOG_D
(
PHY
,
"Generation of PUCCH format %d at frame.slot %d.%d
\n
"
,
pucch_pdu
->
format_type
,
proc
->
frame_tx
,
nr_slot_tx
);
...
...
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