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{
// values of subcarrier offset larger than the limit only indicates CORESET for Type0-PDCCH CSS set is not present
uint8_tssb_SubcarrierOffset_limit=0;
if(frequency_range==FR1){
AssertFatal(ssb_SubcarrierOffset>=24,"ssb_SubcarrierOffset must be equal or higher than 24\n");
ssb_SubcarrierOffset_limit=24;
}else{
AssertFatal(ssb_SubcarrierOffset>=12,"ssb_SubcarrierOffset must be equal or higher than 12\n");
AssertFatal(sco==(scs_scaling*ssb_SubcarrierOffset),"absoluteFrequencySSB has a subcarrier offset of %d while it should be %d\n",sco/scs_scaling,ssb_SubcarrierOffset);
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