@param symbol Symbol on which to act (within-in nr_TTI_rx)
@param symbol Symbol on which to act (within-in nr_TTI_rx)
@param harq_pid HARQ process ID
@param harq_pid HARQ process ID
*/
*/
voidnr_rx_pusch(PHY_VARS_gNB*gNB,
intnr_rx_pusch(PHY_VARS_gNB*gNB,
uint8_tUE_id,
uint8_tUE_id,
uint32_tframe,
uint32_tframe,
uint8_tnr_tti_rx,
uint8_tnr_tti_rx,
unsignedcharsymbol,
unsignedcharsymbol,
unsignedcharharq_pid);
unsignedcharharq_pid);
/** \brief This function performs RB extraction (signal and channel estimates) (currently signal only until channel estimation and compensation are implemented)
/** \brief This function performs RB extraction (signal and channel estimates) (currently signal only until channel estimation and compensation are implemented)
((short*)gNB->common_vars.rxdata[ap])[(2*i)+(delay*2)]=(((int16_t*)UE->common_vars.txdata[ap])[(i<<1)])+(int16_t)(sqrt(sigma/2)*gaussdouble(0.0,1.0));// convert to fixed point
((short*)gNB->common_vars.rxdata[ap])[(2*i)+(delay*2)]=(((int16_t*)UE->common_vars.txdata[ap])[(i<<1)])+(int16_t)(sqrt(sigma/2)*gaussdouble(0.0,1.0));// convert to fixed point