if(ru->nb_tx>1){//Enable beamforming when nb_tx > 1
for(p=0;p<ru->nb_log_antennas;p++){
for(p=0;p<ru->nb_log_antennas;p++){
if((fp->L_ssb>>p)&0x01)
if((fp->L_ssb>>(63-p))&0x01)//64 bit-map with the MSB @2⁶³ corresponds to SSB ssb_index 0
beam_count++;
beam_count++;
}
}
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));
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));
...
@@ -131,7 +131,7 @@ int nr_phy_init_RU(RU_t *ru) {
...
@@ -131,7 +131,7 @@ int nr_phy_init_RU(RU_t *ru) {