nr_pdc/sch_dmrs_rx(): make non-changing input parameter const ptr
This commit is contained in:
@@ -120,9 +120,9 @@ int nr_pusch_dmrs_rx(PHY_VARS_gNB *gNB,
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int nr_pdsch_dmrs_rx(PHY_VARS_NR_UE *ue,
|
int nr_pdsch_dmrs_rx(const PHY_VARS_NR_UE *ue,
|
||||||
unsigned int Ns,
|
unsigned int Ns,
|
||||||
unsigned int *nr_gold_pdsch,
|
const unsigned int *nr_gold_pdsch,
|
||||||
c16_t *output,
|
c16_t *output,
|
||||||
unsigned short p,
|
unsigned short p,
|
||||||
unsigned char lp,
|
unsigned char lp,
|
||||||
@@ -170,9 +170,9 @@ int nr_pdsch_dmrs_rx(PHY_VARS_NR_UE *ue,
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int nr_pdcch_dmrs_rx(PHY_VARS_NR_UE *ue,
|
int nr_pdcch_dmrs_rx(const PHY_VARS_NR_UE *ue,
|
||||||
unsigned int Ns,
|
unsigned int Ns,
|
||||||
unsigned int *nr_gold_pdcch,
|
const unsigned int *nr_gold_pdcch,
|
||||||
c16_t *output,
|
c16_t *output,
|
||||||
unsigned short p,
|
unsigned short p,
|
||||||
unsigned short nb_rb_coreset)
|
unsigned short nb_rb_coreset)
|
||||||
|
|||||||
@@ -35,16 +35,16 @@ void nr_pbch_dmrs_rx(int dmrss, const unsigned int *nr_gold_pbch, c16_t *output,
|
|||||||
/*!\brief This function generates the NR Gold sequence (38-211, Sec 5.2.1) for the PDCCH DMRS.
|
/*!\brief This function generates the NR Gold sequence (38-211, Sec 5.2.1) for the PDCCH DMRS.
|
||||||
@param PHY_VARS_NR_UE* ue structure provides configuration, frame parameters and the pointers to the 32 bits sequence storage tables
|
@param PHY_VARS_NR_UE* ue structure provides configuration, frame parameters and the pointers to the 32 bits sequence storage tables
|
||||||
*/
|
*/
|
||||||
int nr_pdcch_dmrs_rx(PHY_VARS_NR_UE *ue,
|
int nr_pdcch_dmrs_rx(const PHY_VARS_NR_UE *ue,
|
||||||
unsigned int Ns,
|
unsigned int Ns,
|
||||||
unsigned int *nr_gold_pdcch,
|
const unsigned int *nr_gold_pdcch,
|
||||||
c16_t *output,
|
c16_t *output,
|
||||||
unsigned short p,
|
unsigned short p,
|
||||||
unsigned short nb_rb_corset);
|
unsigned short nb_rb_corset);
|
||||||
|
|
||||||
int nr_pdsch_dmrs_rx(PHY_VARS_NR_UE *ue,
|
int nr_pdsch_dmrs_rx(const PHY_VARS_NR_UE *ue,
|
||||||
unsigned int Ns,
|
unsigned int Ns,
|
||||||
unsigned int *nr_gold_pdsch,
|
const unsigned int *nr_gold_pdsch,
|
||||||
c16_t *output,
|
c16_t *output,
|
||||||
unsigned short p,
|
unsigned short p,
|
||||||
unsigned char lp,
|
unsigned char lp,
|
||||||
|
|||||||
Reference in New Issue
Block a user