Add metadata to gNbTimeDomainSamples sink
Added slot and frame to gNbTimeDomainSamples in imscope
This commit is contained in:
+5
-1
@@ -621,7 +621,6 @@ static void rx_rf(RU_t *ru, int *frame, int *slot)
|
|||||||
rxp,
|
rxp,
|
||||||
samples_per_slot,
|
samples_per_slot,
|
||||||
ru->nb_rx);
|
ru->nb_rx);
|
||||||
gNBscopeCopy(ru, gNbTimeDomainSamples, rxp[0], sizeof(c16_t), 1, samples_per_slot, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_TRX_READ, 0 );
|
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_TRX_READ, 0 );
|
||||||
@@ -692,6 +691,11 @@ static void rx_rf(RU_t *ru, int *frame, int *slot)
|
|||||||
*slot = proc->tti_rx;
|
*slot = proc->tti_rx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!emulate_rf) {
|
||||||
|
metadata mt = {.slot = *slot, .frame = *frame};
|
||||||
|
gNBscopeCopyWithMetadata(ru, gNbTimeDomainSamples, rxp[0], sizeof(c16_t), 1, samples_per_slot, 0, &mt);
|
||||||
|
}
|
||||||
|
|
||||||
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME( VCD_SIGNAL_DUMPER_VARIABLES_TRX_TS, (proc->timestamp_rx+ru->ts_offset)&0xffffffff );
|
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME( VCD_SIGNAL_DUMPER_VARIABLES_TRX_TS, (proc->timestamp_rx+ru->ts_offset)&0xffffffff );
|
||||||
|
|
||||||
if (rxs != samples_per_slot) {
|
if (rxs != samples_per_slot) {
|
||||||
|
|||||||
Reference in New Issue
Block a user