fix ont bug in DFT and some performance improvements
This commit is contained in:
@@ -840,7 +840,6 @@ static void *ru_thread( void *param ) {
|
|||||||
proc->timestamp_rx=nextRxTSlogical;
|
proc->timestamp_rx=nextRxTSlogical;
|
||||||
nextRxTSlogical+=samples_per_slot;
|
nextRxTSlogical+=samples_per_slot;
|
||||||
int64_t HW_to_logical_RxTSoffset=(int64_t)HWtimeStamp-(int64_t)proc->timestamp_rx;
|
int64_t HW_to_logical_RxTSoffset=(int64_t)HWtimeStamp-(int64_t)proc->timestamp_rx;
|
||||||
printf("%lu, %lu\n",HWtimeStamp, (slot+1)*fp->samples_per_subframe);
|
|
||||||
proc->frame_rx = (proc->timestamp_rx / (fp->samples_per_subframe*10))&1023;
|
proc->frame_rx = (proc->timestamp_rx / (fp->samples_per_subframe*10))&1023;
|
||||||
uint32_t idx_sf = proc->timestamp_rx / fp->samples_per_subframe;
|
uint32_t idx_sf = proc->timestamp_rx / fp->samples_per_subframe;
|
||||||
float offsetInSubframe=proc->timestamp_rx % fp->samples_per_subframe;
|
float offsetInSubframe=proc->timestamp_rx % fp->samples_per_subframe;
|
||||||
@@ -869,6 +868,7 @@ static void *ru_thread( void *param ) {
|
|||||||
if (rxtx(&RC.gNB[0][0],L1_proc) < 0)
|
if (rxtx(&RC.gNB[0][0],L1_proc) < 0)
|
||||||
LOG_E(PHY,"gNB %d CC_id %d failed during execution\n",RC.gNB[0][0].Mod_id,RC.gNB[0][0].CC_id);
|
LOG_E(PHY,"gNB %d CC_id %d failed during execution\n",RC.gNB[0][0].Mod_id,RC.gNB[0][0].CC_id);
|
||||||
|
|
||||||
|
|
||||||
// do TX front-end processing if needed (precoding and/or IDFTs)
|
// do TX front-end processing if needed (precoding and/or IDFTs)
|
||||||
//ru->feptx_prec(ru,proc->frame_tx,proc->tti_tx);
|
//ru->feptx_prec(ru,proc->frame_tx,proc->tti_tx);
|
||||||
nr_feptx_prec(ru,proc->frame_tx,proc->tti_tx);
|
nr_feptx_prec(ru,proc->frame_tx,proc->tti_tx);
|
||||||
|
|||||||
+548
-1463
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user