intN_TA_offset=config->carrier_config.uplink_frequency.value<6000000?400:431;// reference samples for 25600Tc @ 30.72 Ms/s for FR1, same @ 61.44 Ms/s for FR2
doublefactor=1;
switch(mu){
case0://15 kHz scs
AssertFatal(N_TA_offset==400,"scs_common 15kHz only for FR1\n");
if(N_RB<=25)factor=.25;// 7.68 Ms/s
elseif(N_RB<=50)factor=.5;// 15.36 Ms/s
elseif(N_RB<=75)factor=1.0;// 30.72 Ms/s
elseif(N_RB<=100)factor=1.0;// 30.72 Ms/s
elseAssertFatal(1==0,"Too many PRBS for mu=0\n");
break;
case1://30 kHz sc
AssertFatal(N_TA_offset==400,"scs_common 30kHz only for FR1\n");
if(N_RB<=106)factor=2.0;// 61.44 Ms/s
elseif(N_RB<=275)factor=4.0;// 122.88 Ms/s
break;
case2://60 kHz scs
AssertFatal(1==0,"scs_common should not be 60 kHz\n");
break;
case3://120 kHz scs
AssertFatal(N_TA_offset==431,"scs_common 120kHz only for FR2\n");
break;
case4://240 kHz scs
AssertFatal(1==0,"scs_common should not be 60 kHz\n");
if(N_RB<=32)factor=1.0;// 61.44 Ms/s
elseif(N_RB<=66)factor=2.0;// 122.88 Ms/s
elseAssertFatal(1==0,"N_RB %d is too big for curretn FR2 implementation\n",N_RB);