printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",0,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);
printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",1,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);
printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",2,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);
printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",pIdx,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);
printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",pIdx+1,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);
printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",1,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);
printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",prs_cfg->NumRB*(12/prs_cfg->CombSize)-2,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);
printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",prs_cfg->NumRB*(12/prs_cfg->CombSize)-1,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);
#endif
multadd_real_vector_complex_scalar(fr,
ch,
prs_chest,
8);
}
elseif(prs_cfg->CombSize==4)
{
// Choose the interpolation filters
switch(k_prime){
case0:
fl=filt16a_l0;
...
...
@@ -116,23 +288,6 @@ int nr_prs_channel_estimation(PHY_VARS_NR_UE *ue,
printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",0,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);
printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",prs_cfg->NumRB*(12/prs_cfg->CombSize)-2,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);
#endif
multadd_real_vector_complex_scalar(fm,
...
...
@@ -204,13 +359,14 @@ int nr_prs_channel_estimation(PHY_VARS_NR_UE *ue,
printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",1,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);
printf("pilIdx %d at k %d of l %d reIdx %d rxF %p %d %d ch[0] %d ch[1] %d\n",prs_cfg->NumRB*(12/prs_cfg->CombSize)-1,k,l,(l*frame_params->ofdm_symbol_size+k),rxF,rxF[0],rxF[1],ch[0],ch[1]);