Commit 4526539e authored by Raymond Knopp's avatar Raymond Knopp

integration step

parent e8c0c024
......@@ -1026,9 +1026,9 @@ void pscch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
if (res==0) {
ue->slsch_rx.freq_hopping_flag = (sci_rx_flip>>63)&1;
ue->slsch_rx.resource_block_coding = (sci_rx_flip>>(63-1-RAbits+1))&((1<<RAbits)-1);
conv_RIV(ue->frame_parms.N_RB_DL,
ue->slsch_rx.resource_block_coding,
&ue->slsch_rx.L_CRBs,&ue->slsch_rx.RB_start);
RIV2_alloc(slsch_rx.N_RB_SL_data,
ue->slsch_rx.resource_block_coding,
&ue->slsch_rx.L_CRBs,&ue->slsch_rx.RB_start);
ue->slsch_rx.time_resource_pattern = (sci_rx_flip>>(63-1-7-RAbits+1))&127;
ue->slsch_rx.mcs = (sci_rx_flip>>(63-1-7-5-RAbits+1))&31;
ue->slsch_rx.timing_advance_indication = (sci_rx_flip>>(63-1-7-5-11-RAbits+1))&2047;
......
......@@ -3512,7 +3512,7 @@ SLSCH_t *ue_get_slsch(module_id_t module_idP,int CC_id,frame_t frameP,sub_frame_
slsch->n_pscch = ue->sourceL2Id;
slsch->format = 0;
slsch->freq_hopping_flag = 0;
slsch->resource_block_coding = computeRIV(to_prb((int)ue->SL_Preconfiguration->preconfigGeneral_r12.sl_bandwidth_r12),RB_start,L_CRBs);
slsch->resource_block_coding = computeRIV(slsch->N_SL_RB_data,RB_start,L_CRBs);
slsch->time_resource_pattern = 106; // all subframes for Nrp=8
slsch->mcs = mcs;
slsch->timing_advance_indication = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment