discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Question about packet sequence


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Question about packet sequence
Date: Thu, 14 Apr 2016 16:51:02 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

On 04/14/2016 01:20 AM, Laur Joost wrote:
> 1. The sequence of the packets is important. It would be rather bad if
> two bunches of samples in your IQ stream suddenly switched places.
> 2. The host PC network stack does no reordering. It can't, by definition
> of UDP, as there's nothing to reorder by.
> 3. AFAIK, the UHD also does no reordering. However, the packets arriving
> from the USRP __are__ numbered. If UHD detects a missing packet, it*
> prints a D (to signify a Dropped packet) to stdout, and emits a new
> rx_time tag for the next packet.
> 
> * Actually, I don't know whether that's UHD or gr-uhd that does this.

It's UHD. For swapped packets, it would actually print 3 D's:

Packet sequence:   1 3 2 4

- receives 1 => OK
- receives 3 => Assumes packet was dropped, expected 2. Print D
- receives 2 => Whaaa...? Expected 4. Prints D.
- receives 4 => looks like packet 3 was dropped. Print D.

M





reply via email to

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