nr_init_frame_parms_ue(frame_parms[CC_id],3,NORMAL,frame_parms[CC_id]->N_RB_DL,(frame_parms[CC_id]->N_RB_DL-20)>>1,0);//I dont understand why the numerology is still 1?
uint16_t*current_band,///// ----src572 changed from 8 to 16 bit to hold 257 band
voidget_band(uint64_tdownlink_frequency,
uint16_t*current_band,
int32_t*current_offset,
lte_frame_type_t*current_type)
{
intind;
uint64_tcenter_frequency_khz;
uint64_tcenter_freq_diff_khz;
uint64_tdl_freq_khz=downlink_frequency/1000;
fprintf(stderr,"The value of dl_freq_khz in get_band() is %llu size of nr_bandtable = %d \n",(longlongunsignedint)dl_freq_khz,sizeof(nr_bandtable)/sizeof(nr_bandtable[0]));
center_freq_diff_khz=999999999999999999;// 2^64
*current_band=0;
for(ind=0;
ind<sizeof(nr_bandtable)/sizeof(nr_bandtable[0]);
ind++)
{
*current_band=nr_bandtable[ind].band;
LOG_I(PHY,"Scanning band %d,current_band %d, dl_min %"PRIu64", ul_max %"PRIu64"\n",*current_band,nr_bandtable[ind].band,nr_bandtable[ind].dl_min,nr_bandtable[ind].dl_max);