<p dir="ltr">On Mon, Jul 15, 2013 at 1:19 PM, Alexander Chemeris <<a href="mailto:alexander.chemeris@gmail.com">alexander.chemeris@gmail.com</a>> wrote:<br>
> On Mon, Jul 15, 2013 at 2:35 PM, Thomas Tsou <<a href="mailto:ttsou@vt.edu">ttsou@vt.edu</a>> wrote:<br>
>> This is a very positive patch set. As you very well know, the power<br>
>> on/off handling was in a ugly state. One of the remaining issue with<br>
>> UHD start/stop is that the device clock is reset to zero at restart,<br>
>> but not all of the timestamp counters are reset in radioInterface. The<br>
>> radioInterface is not stopped at all until deallocation since<br>
>> 'POWEROFF' is an empty command.<br>
><br>
> I made an attempt to implement it in the 806a64b1 patch. If you check<br>
> out this commit, you should get the assert during TURN ON/OFF/ON<br>
> sequence. To start/stop transceiver I use scripts attached to this<br>
> e-mail.</p>
<p dir="ltr">There does seem to be something strange going on with UHD. After restart and clock reset the device is reporting time correctly, but subsequent packets do not reflect the change. We've had similar issues before due to lingering packets in the socket buffers, but the same fix (flushing buffers after issuing STREAM_MODE_STOP) doesn't fix the issue.</p>

<p dir="ltr">Rx timestamp 10.3679<br>
Rx timestamp 10.3698<br>
----POWEROFF----<br>
----POWERON----<br>
UHD device time 0.00440694<br>
Rx timestamp 10.3732</p>
<p dir="ltr">This may be a bug in UHD, or some oddity in the UHD streamer interface. I'm going to try it with an outside test case.</p>
<p dir="ltr">Thomas</p>