From ca217f8f5b406521de0252a53b0a128bb9d381e3 Mon Sep 17 00:00:00 2001 From: Bartosz Podrygajlo Date: Mon, 2 Sep 2024 10:13:37 +0200 Subject: [PATCH] Workaround for PUSCH TX power not applied in PHY This is a temporary workaround for issue with UE PHY not applying TX power instructions from MAC. To be reverted once implementation of TX gain control is finished. --- openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c b/openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c index 557a393ce2..2b54f45add 100644 --- a/openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c +++ b/openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c @@ -944,6 +944,7 @@ int nr_config_pusch_pdu(NR_UE_MAC_INST_t *mac, delta_pusch = table_38_213_7_1_1_1[0][dci->tpc]; } } + delta_pusch = 0; // set to 0 as a workaround for PHY not applying PUSCH tx power bool is_rar_tx_retx = rnti_type == TYPE_TC_RNTI_;