From c54a1ff8576b9415e85c652fce5143cbf377a47c Mon Sep 17 00:00:00 2001 From: francescomani Date: Thu, 1 Feb 2024 16:46:42 +0100 Subject: [PATCH] remove unused phy_config_ind queue --- executables/nr-ue.c | 1 - openair1/PHY/defs_nr_UE.h | 2 +- openair1/SCHED_NR_UE/fapi_nr_ue_l1.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/executables/nr-ue.c b/executables/nr-ue.c index 1ceb49e0d7..a4f688c765 100644 --- a/executables/nr-ue.c +++ b/executables/nr-ue.c @@ -789,7 +789,6 @@ void *UE_thread(void *arg) bool syncRunning=false; const int nb_slot_frame = UE->frame_parms.slots_per_frame; int absolute_slot=0, decoded_frame_rx=INT_MAX, trashed_frames=0; - initNotifiedFIFO(&UE->phy_config_ind); int tx_wait_for_dlsch[NR_MAX_SLOTS_PER_FRAME]; int num_ind_fifo = nb_slot_frame; diff --git a/openair1/PHY/defs_nr_UE.h b/openair1/PHY/defs_nr_UE.h index 834163d8ed..9988d05196 100644 --- a/openair1/PHY/defs_nr_UE.h +++ b/openair1/PHY/defs_nr_UE.h @@ -610,7 +610,7 @@ typedef struct PHY_VARS_NR_UE_s { void *phy_sim_pdsch_dl_ch_estimates; void *phy_sim_pdsch_dl_ch_estimates_ext; uint8_t *phy_sim_dlsch_b; - notifiedFIFO_t phy_config_ind; + notifiedFIFO_t tx_resume_ind_fifo[NR_MAX_SLOTS_PER_FRAME]; } PHY_VARS_NR_UE; diff --git a/openair1/SCHED_NR_UE/fapi_nr_ue_l1.c b/openair1/SCHED_NR_UE/fapi_nr_ue_l1.c index fbe04ffb84..81a057fd14 100644 --- a/openair1/SCHED_NR_UE/fapi_nr_ue_l1.c +++ b/openair1/SCHED_NR_UE/fapi_nr_ue_l1.c @@ -538,7 +538,6 @@ int8_t nr_ue_phy_config_request(nr_phy_config_t *phy_config) fapi_nr_config_request_t *nrUE_config = &PHY_vars_UE_g[phy_config->Mod_id][phy_config->CC_id]->nrUE_config; if(phy_config != NULL) { memcpy(nrUE_config, &phy_config->config_req, sizeof(fapi_nr_config_request_t)); - pushNotifiedFIFO(&PHY_vars_UE_g[phy_config->Mod_id][phy_config->CC_id]->phy_config_ind, newNotifiedFIFO_elt(1,0,NULL,NULL)); } return 0; }