aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/gen_vrt_if_packet.py
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-09 17:35:15 -0700
committerJosh Blum <josh@joshknows.com>2010-07-09 17:35:15 -0700
commitbf77d1f6e38e1cb561520408ecff8f633f5cefc7 (patch)
treebdf9efe00dd25f542d5ca301136fe64c2108149b /host/lib/transport/gen_vrt_if_packet.py
parentecd7308793ad639880faf2a44f3b8b603d87c7fd (diff)
downloaduhd-bf77d1f6e38e1cb561520408ecff8f633f5cefc7.tar.gz
uhd-bf77d1f6e38e1cb561520408ecff8f633f5cefc7.tar.bz2
uhd-bf77d1f6e38e1cb561520408ecff8f633f5cefc7.zip
uhd: added error codes to rx metadata, switched examples to use
vrt packet handler fills in error codes and inspects non-data packet
Diffstat (limited to 'host/lib/transport/gen_vrt_if_packet.py')
-rwxr-xr-xhost/lib/transport/gen_vrt_if_packet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/transport/gen_vrt_if_packet.py b/host/lib/transport/gen_vrt_if_packet.py
index 07ce391ee..7438f5ff4 100755
--- a/host/lib/transport/gen_vrt_if_packet.py
+++ b/host/lib/transport/gen_vrt_if_packet.py
@@ -150,8 +150,8 @@ void vrt::if_hdr_unpack_$(suffix)(
//extract fields from the header
if_packet_info.packet_type = if_packet_info_t::packet_type_t(vrt_hdr_word >> 29);
if_packet_info.packet_count = (vrt_hdr_word >> 16) & 0xf;
- if_packet_info.sob = bool(vrt_hdr_word & $hex(0x1 << 25));
- if_packet_info.eob = bool(vrt_hdr_word & $hex(0x1 << 24));
+ //if_packet_info.sob = bool(vrt_hdr_word & $hex(0x1 << 25)); //not implemented
+ //if_packet_info.eob = bool(vrt_hdr_word & $hex(0x1 << 24)); //not implemented
boost::uint8_t pred = 0;
if(vrt_hdr_word & $hex(0x1 << 28)) pred |= $hex($sid_p);