AssertFatal(sco==(scs_scaling*ssb_SubcarrierOffset),"absoluteFrequencySSB has a subcarrier offset of %d while it should be %d\n",sco/scs_scaling,ssb_SubcarrierOffset);
AssertFatal(sco==(scs_scaling*ssb_SubcarrierOffset),"absoluteFrequencySSB has a subcarrier offset of %d while it should be %d\n",sco/scs_scaling,ssb_SubcarrierOffset);
}else{
if(frequency_range==FR1){
AssertFatal(ssb_SubcarrierOffset>=24,"ssb_SubcarrierOffset must be equal or higher than 24\n");
}else{
AssertFatal(ssb_SubcarrierOffset>=12,"ssb_SubcarrierOffset must be equal or higher than 12\n");
}
}
cfg->ssb_table.ssb_offset_point_a.value=absolute_diff/(12*scs_scaling)-10;//absoluteFrequencySSB is the central frequency of SSB which is made by 20RBs in total
cfg->ssb_table.ssb_offset_point_a.value=absolute_diff/(12*scs_scaling)-10;//absoluteFrequencySSB is the central frequency of SSB which is made by 20RBs in total