aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-02-26 15:12:51 -0800
committerMichael West <michael.west@ettus.com>2019-03-05 10:32:36 -0800
commite26b5ae026e1b83dbd2de36febf9adfd32d12226 (patch)
tree49c28a79a6c51466f3511f810cd7aa3ce6ed0f17 /host/lib/usrp
parent91d2ef67d218d6c88ae690e75d4ab2e65b24fe54 (diff)
downloaduhd-e26b5ae026e1b83dbd2de36febf9adfd32d12226.tar.gz
uhd-e26b5ae026e1b83dbd2de36febf9adfd32d12226.tar.bz2
uhd-e26b5ae026e1b83dbd2de36febf9adfd32d12226.zip
x300: Enable 11.52 MHz and 23.04 MHz system ref rates
The addition of the constrained device args didn't account for those rates, and thus, they were effectively unusuable ever since. This adds those rates back as valid system ref rates. This does not touch the actual clocking code in any way, x300_clock_control has supported those rates for a while now.
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/x300/x300_defaults.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_defaults.hpp b/host/lib/usrp/x300/x300_defaults.hpp
index 2e242f24f..5956686d0 100644
--- a/host/lib/usrp/x300/x300_defaults.hpp
+++ b/host/lib/usrp/x300/x300_defaults.hpp
@@ -44,7 +44,8 @@ static const std::vector<std::string> CLOCK_SOURCE_OPTIONS{
"internal", "external", "gpsdo"};
static const std::vector<std::string> TIME_SOURCE_OPTIONS{
"internal", "external", "gpsdo"};
-static const std::vector<double> EXTERNAL_FREQ_OPTIONS{10e6, 30.72e6, 200e6};
+static const std::vector<double> EXTERNAL_FREQ_OPTIONS{
+ 10e6, 11.52e6, 23.04e6, 30.72e6, 200e6};
static constexpr size_t RX_SW_BUFF_SIZE_ETH =
0x2000000; // 32MiB For an ~8k frame size any size >32MiB is just wasted buffer