diff options
author | Vidush <vidush.vishwanath@ettus.com> | 2018-07-03 08:59:05 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-07-12 15:47:51 -0700 |
commit | d6f1ff717d702a0a2f7351e61a048c1c2d1ab779 (patch) | |
tree | f9313d8c139206a5758870cd6cd086b5bf4bc609 /host/lib/usrp/b200/b200_impl.hpp | |
parent | 9df9bea6c1812fdc03ef8ace29859f0c64d382d2 (diff) | |
download | uhd-d6f1ff717d702a0a2f7351e61a048c1c2d1ab779.tar.gz uhd-d6f1ff717d702a0a2f7351e61a048c1c2d1ab779.tar.bz2 uhd-d6f1ff717d702a0a2f7351e61a048c1c2d1ab779.zip |
B200: Change Recv Frame Size to 8176
The default frame size is set to 8176.
If a frame size entered is a multiple of 512, the actual frame size
is set to the next lowest multiple of 24.
Both changes are made to ensure no packet gets stuck in the fx3.
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.hpp')
-rw-r--r-- | host/lib/usrp/b200/b200_impl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/b200/b200_impl.hpp b/host/lib/usrp/b200/b200_impl.hpp index 13d282959..5b4a03694 100644 --- a/host/lib/usrp/b200/b200_impl.hpp +++ b/host/lib/usrp/b200/b200_impl.hpp @@ -80,6 +80,9 @@ static const unsigned char B200_USB_DATA_RECV_ENDPOINT = 6; static const unsigned char B200_USB_DATA_SEND_INTERFACE = 1; 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; + /* * VID/PID pairs for all B2xx products */ |