[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] USRP packet parsing

From: Thibaud Hottelier
Subject: Re: [Discuss-gnuradio] USRP packet parsing
Date: Tue, 20 Mar 2007 14:53:50 -0400
User-agent: Thunderbird 2.0b2 (X11/20070319)

About the pulling/pushing thing: I though that I would have one process in the usb block writing the usb_fifo data on the bus and one other process in the channel block that would read them from the bus and store them. This is neither pulling nor pushing right ? Can I do this with one single process ?


Brian Padalino wrote:
On 3/19/07, Thibaud Hottelier <address@hidden> wrote:
Ok, I will modify it for pushing instead of pulling packets.

Can I assume that the data will arrive ordered by timestamps ? If not
then I have to use one data_queue and one samples_fifo per channel,
isn't that too much?

I am pretty positive you can assume that the packets will arrive
ordered by timestamp.  The host can easily pre-order the packets and
send them sequentially.  If any packet is out of order, I would assume
it should be evicted and dropped immediately.

Now, since the 32-bit number can only have a finite amount of time
before it rolls over, there should be a well defined way of defining
the beginning of an epoch or invalidating the "previous timestamp"
register that may be used to ensure time continuity.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]