diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-09 23:24:41 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-09 23:24:41 -0700 |
commit | 5e7af879c890c1168ba957ca9158428eeb387c94 (patch) | |
tree | 8009e94fac39527217e9c571da12f87a687b9903 /host/lib/transport | |
parent | 09af5cbf7e8518b5e664ecc5138e83a884de6eff (diff) | |
download | uhd-5e7af879c890c1168ba957ca9158428eeb387c94.tar.gz uhd-5e7af879c890c1168ba957ca9158428eeb387c94.tar.bz2 uhd-5e7af879c890c1168ba957ca9158428eeb387c94.zip |
usrp2: removed SX packet count stuff from vrt packet handler, moved to usrp2 io impl and replaced with Os
Diffstat (limited to 'host/lib/transport')
-rw-r--r-- | host/lib/transport/vrt_packet_handler.hpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/host/lib/transport/vrt_packet_handler.hpp b/host/lib/transport/vrt_packet_handler.hpp index 702d3bfb9..c5c63b089 100644 --- a/host/lib/transport/vrt_packet_handler.hpp +++ b/host/lib/transport/vrt_packet_handler.hpp @@ -48,9 +48,6 @@ namespace vrt_packet_handler{ //width of the receiver in channels size_t width; - //init the expected seq number - std::vector<size_t> next_packet_seq; - //state variables to handle fragments managed_recv_buffs_t managed_buffs; std::vector<const boost::uint8_t *> copy_buffs; @@ -59,7 +56,6 @@ namespace vrt_packet_handler{ recv_state(size_t width = 1): width(width), - next_packet_seq(width, 0), managed_buffs(width), copy_buffs(width, NULL), size_of_copy_buffs(0), @@ -98,12 +94,6 @@ namespace vrt_packet_handler{ vrt_unpacker(vrt_hdr, if_packet_info); const boost::uint32_t *vrt_data = vrt_hdr + if_packet_info.num_header_words32; - //handle the packet count / sequence number - if (if_packet_info.packet_count != state.next_packet_seq[i]){ - std::cerr << "S" << (if_packet_info.packet_count - state.next_packet_seq[i])%16; - } - state.next_packet_seq[i] = (if_packet_info.packet_count+1)%16; - //handle the non-data packet case and parse its contents if (if_packet_info.packet_type != uhd::transport::vrt::if_packet_info_t::PACKET_TYPE_DATA){ |