diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-07 23:48:09 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-07 23:48:09 -0700 |
commit | c72bc56ba6d5b0457f03967a8f8d8e5602fdf14d (patch) | |
tree | 13acfd23ac9906977c8364044e4cf0f90fb389a7 /host/lib/usrp/usrp2/fw_common.h | |
parent | be430761fb7e526e80b67d70e3cf488c6dd02495 (diff) | |
download | uhd-c72bc56ba6d5b0457f03967a8f8d8e5602fdf14d.tar.gz uhd-c72bc56ba6d5b0457f03967a8f8d8e5602fdf14d.tar.bz2 uhd-c72bc56ba6d5b0457f03967a8f8d8e5602fdf14d.zip |
usrp2: moved common defined for udp mtu and implemented change.
The uhp mtu is now defined in uhd_simple.hpp.
The fw common code does not need to know this information.
Fixed a calculation bug in the usrp2 impl code for max samples.
Diffstat (limited to 'host/lib/usrp/usrp2/fw_common.h')
-rw-r--r-- | host/lib/usrp/usrp2/fw_common.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/host/lib/usrp/usrp2/fw_common.h b/host/lib/usrp/usrp2/fw_common.h index 4c66aa41e..f1761c5a6 100644 --- a/host/lib/usrp/usrp2/fw_common.h +++ b/host/lib/usrp/usrp2/fw_common.h @@ -32,10 +32,6 @@ extern "C" { #define _SINS_ #endif -// define limits on bytes per udp packet -#define USRP2_MTU_BYTES 1500 -#define USRP2_UDP_BYTES ((USRP2_MTU_BYTES) - (2 + 14 + 20 + 8)) //size of headers (pad, eth, ip, udp) - //defines the protocol version in this shared header //increment this value when the protocol is changed #define USRP2_PROTO_VERSION 5 @@ -43,10 +39,6 @@ extern "C" { //used to differentiate control packets over data port #define USRP2_INVALID_VRT_HEADER 0 -// size of the vrt header and trailer to the host -#define USRP2_HOST_RX_VRT_HEADER_WORDS32 5 -#define USRP2_HOST_RX_VRT_TRAILER_WORDS32 1 //FIXME fpga sets wrong header size when no trailer present - // udp ports for the usrp2 communication // Dynamic and/or private ports: 49152-65535 #define USRP2_UDP_CTRL_PORT 49152 |