diff --git a/openair1/PHY/INIT/nr_init_ue.c b/openair1/PHY/INIT/nr_init_ue.c index 734a3500f8..cb4f5d8903 100644 --- a/openair1/PHY/INIT/nr_init_ue.c +++ b/openair1/PHY/INIT/nr_init_ue.c @@ -36,7 +36,8 @@ #include "PHY/CODING/nrPolar_tools/nr_polar_pbch_defs.h" #include "PHY/INIT/phy_init.h" #include "PHY/NR_REFSIG/pss_nr.h" -#include "openair1/PHY/NR_REFSIG/ul_ref_seq_nr.h" +#include "PHY/NR_REFSIG/ul_ref_seq_nr.h" +#include "PHY/NR_REFSIG/refsig_defs_ue.h" //uint8_t dmrs1_tab_ue[8] = {0,2,3,4,6,8,9,10}; diff --git a/openair1/PHY/NR_REFSIG/nr_gold.c b/openair1/PHY/NR_REFSIG/nr_gold.c index bd2df98ed6..1492d7f03f 100644 --- a/openair1/PHY/NR_REFSIG/nr_gold.c +++ b/openair1/PHY/NR_REFSIG/nr_gold.c @@ -101,29 +101,3 @@ void nr_init_pdsch_dmrs(PHY_VARS_gNB* gNB, uint32_t Nid) } } } - -void nr_init_pusch_dmrs(PHY_VARS_NR_UE* ue, uint16_t *N_n_scid, uint8_t n_scid) -{ - - uint32_t x1, x2, n; - uint8_t reset, slot, symb, q; - NR_DL_FRAME_PARMS *fp = &ue->frame_parms; - uint32_t ****pusch_dmrs = ue->nr_gold_pusch_dmrs; - - for (slot=0; slotslots_per_frame; slot++) { - - for (symb=0; symbsymbols_per_slot; symb++) { - - reset = 1; - x2 = ((1<<17) * (fp->symbols_per_slot*slot+symb+1) * ((N_n_scid[n_scid]<<1)+1) +((N_n_scid[n_scid]<<1)+n_scid)); - - for (n=0; nframe_parms; + uint32_t ****pusch_dmrs = ue->nr_gold_pusch_dmrs; + + for (slot=0; slotslots_per_frame; slot++) { + + for (symb=0; symbsymbols_per_slot; symb++) { + + reset = 1; + x2 = ((1<<17) * (fp->symbols_per_slot*slot+symb+1) * ((N_n_scid[n_scid]<<1)+1) +((N_n_scid[n_scid]<<1)+n_scid)); + + for (n=0; n