Commit 527b0b89 authored by Raymond Knopp's avatar Raymond Knopp

Additional bug fix

parent c06c4716
......@@ -760,7 +760,7 @@ void ulsch_extract_rbs_single(int32_t **rxdataF,
rxF = &rxdataF[aarx][(6*(2*first_rb - frame_parms->N_RB_UL) + symbol*frame_parms->ofdm_symbol_size)];
#ifdef DEBUG_ULSCH
printf("copying %d REs from %p to %p\n",nb_rb2*6,rxF,rxF_ext);
LOG_D(PHY,"copying %d REs from %p to %p\n",nb_rb2*6,rxF,rxF_ext);
#endif
memcpy(rxF_ext, rxF, nb_rb2*6*sizeof(int));
rxF_ext += nb_rb2*6;
......
......@@ -110,7 +110,7 @@ LTE_UE_DLSCH_t *new_ue_dlsch(uint8_t Kmimo,uint8_t Mdlharq,uint32_t Nsoft,int nh
dlsch->max_turbo_iterations = max_turbo_iterations;
for (i=0; i<nharq; i++) {
printf("new_ue_dlsch: Harq process %d\n",i);
//printf("new_ue_dlsch: Harq process %d\n",i);
dlsch->harq_processes[i] = (LTE_DL_UE_HARQ_t *)malloc16(sizeof(LTE_DL_UE_HARQ_t));
if (dlsch->harq_processes[i]) {
......
......@@ -1024,7 +1024,10 @@ void pscch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
uint64_t sci_rx=0,sci_rx_flip=0;
//decoding
int length = log2_approx(slsch->N_SL_RB_data*(slsch->N_SL_RB_data+1)>>1)+32;
dci_decoding(length,E,f,(uint8_t*)&sci_rx);
//Panos: Modification here to comply with the new definition of dci_decoding()
dci_decoding(length,2,f,(uint8_t*)&sci_rx);
//dci_decoding(length,E,f,(uint8_t*)&sci_rx);
((uint8_t *)&sci_rx_flip)[0] = ((uint8_t *)&sci_rx)[7];
((uint8_t *)&sci_rx_flip)[1] = ((uint8_t *)&sci_rx)[6];
((uint8_t *)&sci_rx_flip)[2] = ((uint8_t *)&sci_rx)[5];
......
......@@ -65,7 +65,7 @@ mac_rrc_data_req_ue(
#ifdef DEBUG_RRC
int i;
LOG_I(RRC,"[eNB %d] mac_rrc_data_req to SRB ID=%d\n",Mod_idP,Srb_idP);
LOG_D(RRC,"[eNB %d] mac_rrc_data_req to SRB ID=%d\n",Mod_idP,Srb_idP);
#endif
LOG_D(RRC,"[UE %d] Frame %d Filling CCCH SRB_ID %d\n",Mod_idP,frameP,Srb_idP);
......
......@@ -171,7 +171,7 @@ uint8_t rrc_ue_generate_SidelinkUEInformation( const protocol_ctxt_t* const ctxt
#if defined(ENABLE_USE_MME) || ENABLE_RAL
static Rrc_State_t rrc_get_state (module_id_t ue_mod_idP)
{
LOG_I(RRC, "In rrc_get_state \n");
//LOG_I(RRC, "In rrc_get_state, %d \n", (int)UE_rrc_inst[ue_mod_idP].RrcState );
return UE_rrc_inst[ue_mod_idP].RrcState;
}
#endif
......
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