bugfix for dci reception when sync in second frame
This commit is contained in:
@@ -498,7 +498,7 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
|
|||||||
proc,
|
proc,
|
||||||
l, // the UE PHY has no notion of the symbols to be monitored in the search space
|
l, // the UE PHY has no notion of the symbols to be monitored in the search space
|
||||||
pdcch_vars->slot,
|
pdcch_vars->slot,
|
||||||
pdcch_vars->sfn*fp->samples_per_frame+ue->rx_offset);
|
is*fp->samples_per_frame+pdcch_vars->sfn*fp->samples_per_frame+ue->rx_offset);
|
||||||
|
|
||||||
if (coreset_nb_rb > 0)
|
if (coreset_nb_rb > 0)
|
||||||
nr_pdcch_channel_estimation(ue,
|
nr_pdcch_channel_estimation(ue,
|
||||||
@@ -549,7 +549,6 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exit(1);
|
|
||||||
}
|
}
|
||||||
// exit_fun("debug exit");
|
// exit_fun("debug exit");
|
||||||
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_NR_INITIAL_UE_SYNC, VCD_FUNCTION_OUT);
|
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_NR_INITIAL_UE_SYNC, VCD_FUNCTION_OUT);
|
||||||
|
|||||||
@@ -1141,7 +1141,6 @@ void nr_ue_dlsch_procedures(PHY_VARS_NR_UE *ue,
|
|||||||
LOG_D(PHY, "harq_pid: %d, TBS expected dlsch0: %d \n",harq_pid, dlsch0->harq_processes[harq_pid]->TBS);
|
LOG_D(PHY, "harq_pid: %d, TBS expected dlsch0: %d \n",harq_pid, dlsch0->harq_processes[harq_pid]->TBS);
|
||||||
|
|
||||||
if(ret<dlsch0->max_ldpc_iterations+1){
|
if(ret<dlsch0->max_ldpc_iterations+1){
|
||||||
|
|
||||||
switch (pdsch) {
|
switch (pdsch) {
|
||||||
case RA_PDSCH:
|
case RA_PDSCH:
|
||||||
nr_fill_dl_indication(&dl_indication, NULL, &rx_ind, proc, ue, gNB_id);
|
nr_fill_dl_indication(&dl_indication, NULL, &rx_ind, proc, ue, gNB_id);
|
||||||
|
|||||||
@@ -1794,7 +1794,7 @@ void nr_ue_sib1_scheduler(module_id_t module_idP,
|
|||||||
frame_s = 0; // same frame as ssb
|
frame_s = 0; // same frame as ssb
|
||||||
slot_s = mac->type0_PDCCH_CSS_config.n_c;
|
slot_s = mac->type0_PDCCH_CSS_config.n_c;
|
||||||
}
|
}
|
||||||
LOG_I(MAC,"Calling fill_scheduled_response, type0_pdcch, num_pdus %d\n",dl_config->number_pdus);
|
LOG_D(MAC,"Calling fill_scheduled_response, type0_pdcch, num_pdus %d\n",dl_config->number_pdus);
|
||||||
fill_scheduled_response(&scheduled_response, dl_config, NULL, NULL, module_idP, cc_id, frame_s, slot_s, 0); // TODO fix thread_id, for now assumed 0
|
fill_scheduled_response(&scheduled_response, dl_config, NULL, NULL, module_idP, cc_id, frame_s, slot_s, 0); // TODO fix thread_id, for now assumed 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user