rfsim: add a T trace to dump RX IQ data
Only for one antenna.
This commit is contained in:
@@ -1077,6 +1077,10 @@ static int rfsimulator_read(openair0_device *device, openair0_timestamp *ptimest
|
||||
*ptimestamp,
|
||||
t->nextRxTstamp,
|
||||
signal_energy(samplesVoid[0], nsamps));
|
||||
|
||||
/* trace only first antenna */
|
||||
T(T_USRP_RX_ANT0, T_INT(t->nextRxTstamp), T_BUFFER(samplesVoid[0], sampleToByte(nsamps, 1)));
|
||||
|
||||
return nsamps;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user