// setting identity matrix as first step for beam weights
if(p==j){
for(re=0;re<fp->ofdm_symbol_size;re++)
ru->beam_weights[i][p][j][re]=0x00007fff;
}
else{
for(re=0;re<fp->ofdm_symbol_size;re++)
ru->beam_weights[i][p][j][re]=0x00000000;
}
}// for j
}// for p
if((fp->L_ssb>>p)&0x01)
beam_count++;
}
}//for i
AssertFatal(ru->nb_bfw==(beam_count*ru->nb_tx),"Number of beam weights from config file is %d while the expected number is %d",ru->nb_bfw,(beam_count*ru->nb_tx));