frame/subframe numbering
This commit is contained in:
@@ -288,11 +288,13 @@ unsigned int ulsch_decoding(PHY_VARS_eNB *eNB,
|
|||||||
|
|
||||||
if (harq_pid==255) {
|
if (harq_pid==255) {
|
||||||
LOG_E(PHY, "FATAL ERROR: illegal harq_pid, returning\n");
|
LOG_E(PHY, "FATAL ERROR: illegal harq_pid, returning\n");
|
||||||
|
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_ENB_ULSCH_DECODING0+harq_pid,0);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ulsch_harq->Nsymb_pusch == 0) {
|
if (ulsch_harq->Nsymb_pusch == 0) {
|
||||||
LOG_E(PHY, "FATAL ERROR: harq_pid %d, Nsymb 0!\n",harq_pid);
|
LOG_E(PHY, "FATAL ERROR: harq_pid %d, Nsymb 0!\n",harq_pid);
|
||||||
|
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_ENB_ULSCH_DECODING0+harq_pid,0);
|
||||||
return 1+ulsch->max_turbo_iterations;
|
return 1+ulsch->max_turbo_iterations;
|
||||||
}
|
}
|
||||||
if (llr8_flag == 0)
|
if (llr8_flag == 0)
|
||||||
|
|||||||
@@ -845,9 +845,9 @@ void generate_eNB_ulsch_params(PHY_VARS_eNB *eNB,DCI_ALLOC_t *dci_alloc,const in
|
|||||||
LTE_DL_FRAME_PARMS *fp=&eNB->frame_parms;
|
LTE_DL_FRAME_PARMS *fp=&eNB->frame_parms;
|
||||||
eNB_proc_t *proc = &eNB->proc;
|
eNB_proc_t *proc = &eNB->proc;
|
||||||
int frame = proc->frame_tx;
|
int frame = proc->frame_tx;
|
||||||
int subframe = proc->frame_rx;
|
int subframe = proc->subframe_tx;
|
||||||
|
|
||||||
LOG_D(PHY,
|
LOG_I(PHY,
|
||||||
"[eNB %"PRIu8"][PUSCH %"PRIu8"] Frame %d subframe %d UL Frame %"PRIu32", UL Subframe %"PRIu8", Generated ULSCH (format0) DCI (rnti %"PRIx16", dci %"PRIx8"), aggregation %d\n",
|
"[eNB %"PRIu8"][PUSCH %"PRIu8"] Frame %d subframe %d UL Frame %"PRIu32", UL Subframe %"PRIu8", Generated ULSCH (format0) DCI (rnti %"PRIx16", dci %"PRIx8"), aggregation %d\n",
|
||||||
eNB->Mod_id,
|
eNB->Mod_id,
|
||||||
subframe2harq_pid(fp,
|
subframe2harq_pid(fp,
|
||||||
|
|||||||
Reference in New Issue
Block a user