if((is_dmrs_symbol&&((re&1)!=frame_parms->nushift))||(is_dmrs_symbol==0)){// [hna] (re&1) != frame_parms->nushift) assuming only dmrs type 1 and mapping type A
...
...
@@ -44,6 +42,56 @@ unsigned short nr_ulsch_extract_rbs_single(int **rxdataF,
// [hna] doesn't work with noise in case of mod_order = 6
((short*)gNB->common_vars.rxdata[ap])[2*i]=(((int16_t*)UE->common_vars.txdata[ap])[(i<<1)]);// + (int16_t)(sqrt(sigma/2)*gaussdouble(0.0,1.0)*(double)AMP)); // convert to fixed point