aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b200/b200_impl.hpp
diff options
context:
space:
mode:
authorVidush <vidush.vishwanath@ettus.com>2018-07-09 10:36:19 -0700
committerMartin Braun <martin.braun@ettus.com>2018-07-12 15:48:22 -0700
commitdcd76b9e20b900d2da3ca8d6f32ad99c69e4e40f (patch)
treed2f63044c876e94df424171af95c1f0ca3562e37 /host/lib/usrp/b200/b200_impl.hpp
parentd6f1ff717d702a0a2f7351e61a048c1c2d1ab779 (diff)
downloaduhd-dcd76b9e20b900d2da3ca8d6f32ad99c69e4e40f.tar.gz
uhd-dcd76b9e20b900d2da3ca8d6f32ad99c69e4e40f.tar.bz2
uhd-dcd76b9e20b900d2da3ca8d6f32ad99c69e4e40f.zip
B200: Check if recv_frame_size is larger than minimum value
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.hpp')
-rw-r--r--host/lib/usrp/b200/b200_impl.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/b200/b200_impl.hpp b/host/lib/usrp/b200/b200_impl.hpp
index 5b4a03694..2e7ab176f 100644
--- a/host/lib/usrp/b200/b200_impl.hpp
+++ b/host/lib/usrp/b200/b200_impl.hpp
@@ -82,6 +82,8 @@ static const unsigned char B200_USB_DATA_SEND_ENDPOINT = 2;
// Default recv_frame_size. Must not be a multiple of 512.
static const int B200_USB_DATA_DEFAULT_FRAME_SIZE = 8176;
+// recv_frame_size values below this will be upped to this value
+static const int B200_USB_DATA_MIN_RECV_FRAME_SIZE = 40;
/*
* VID/PID pairs for all B2xx products