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
13d30c96
Commit
13d30c96
authored
Jul 29, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temporary fix for pucch tx amp
parent
5e3e4714
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+0
-1
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
+8
-11
No files found.
executables/nr-uesoftmodem.c
View file @
13d30c96
...
@@ -320,7 +320,6 @@ void set_options(int CC_id, PHY_VARS_NR_UE *UE){
...
@@ -320,7 +320,6 @@ void set_options(int CC_id, PHY_VARS_NR_UE *UE){
UE
->
rf_map
.
card
=
card_offset
;
UE
->
rf_map
.
card
=
card_offset
;
UE
->
rf_map
.
chain
=
CC_id
+
chain_offset
;
UE
->
rf_map
.
chain
=
CC_id
+
chain_offset
;
LOG_I
(
PHY
,
"Set UE mode %d, UE_fo_compensation %d, UE_scan_carrier %d, UE_no_timing_correction %d
\n
"
,
LOG_I
(
PHY
,
"Set UE mode %d, UE_fo_compensation %d, UE_scan_carrier %d, UE_no_timing_correction %d
\n
"
,
UE
->
mode
,
UE
->
UE_fo_compensation
,
UE
->
UE_scan_carrier
,
UE
->
no_timing_correction
);
UE
->
mode
,
UE
->
UE_fo_compensation
,
UE
->
UE_scan_carrier
,
UE
->
no_timing_correction
);
...
...
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
View file @
13d30c96
...
@@ -837,9 +837,9 @@ bool pucch_procedures_ue_nr(PHY_VARS_NR_UE *ue, uint8_t gNB_id, UE_nr_rxtx_proc_
...
@@ -837,9 +837,9 @@ bool pucch_procedures_ue_nr(PHY_VARS_NR_UE *ue, uint8_t gNB_id, UE_nr_rxtx_proc_
/* Generate PUCCH signal according to its format and parameters */
/* Generate PUCCH signal according to its format and parameters */
ue
->
generate_ul_signal
[
gNB_id
]
=
1
;
ue
->
generate_ul_signal
[
gNB_id
]
=
1
;
int16_t
pucch_tx_power
=
get_pucch_tx_power_ue
(
ue
,
gNB_id
,
proc
,
format
,
int16_t
pucch_tx_power
=
get_pucch_tx_power_ue
(
ue
,
gNB_id
,
proc
,
format
,
nb_of_prbs
,
N_sc_ctrl_RB
,
nb_symbols
,
N_UCI
,
O_SR
,
O_CSI
,
O_ACK
,
nb_of_prbs
,
N_sc_ctrl_RB
,
nb_symbols
,
N_UCI
,
O_SR
,
O_CSI
,
O_ACK
,
O_CRC
,
n_HARQ_ACK
);
O_CRC
,
n_HARQ_ACK
);
/* set tx power */
/* set tx power */
ue
->
tx_power_dBm
[
nr_slot_tx
]
=
pucch_tx_power
;
ue
->
tx_power_dBm
[
nr_slot_tx
]
=
pucch_tx_power
;
...
@@ -847,15 +847,12 @@ bool pucch_procedures_ue_nr(PHY_VARS_NR_UE *ue, uint8_t gNB_id, UE_nr_rxtx_proc_
...
@@ -847,15 +847,12 @@ bool pucch_procedures_ue_nr(PHY_VARS_NR_UE *ue, uint8_t gNB_id, UE_nr_rxtx_proc_
int
tx_amp
;
int
tx_amp
;
#if defined(EXMIMO) || defined(OAI_USRP) || defined(OAI_BLADERF) || defined(OAI_LMSSDR) || defined(OAI_ADRV9371_ZC706)
tx_amp
=
nr_get_tx_amp
(
pucch_tx_power
,
tx_amp
=
nr_get_tx_amp
(
pucch_tx_power
,
ue
->
tx_power_max_dBm
,
ue
->
tx_power_max_dBm
,
ue
->
frame_parms
.
N_RB_UL
,
ue
->
frame_parms
.
N_RB_UL
,
nb_of_prbs
);
nb_of_prbs
);
#else
if
(
tx_amp
==
0
)
tx_amp
=
AMP
;
tx_amp
=
AMP
;
#endif
switch
(
format
)
{
switch
(
format
)
{
case
pucch_format0_nr
:
case
pucch_format0_nr
:
...
...
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