aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-02-26 15:12:51 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-02-28 11:52:21 -0800
commit61fc14d3eb246927deac0397d12e6e87bca815fa (patch)
tree60cca32aeab99366953d436fc931e87da740698d /host/lib
parentd23df2d9411a0d80e00a6927fff946f2c5f906bc (diff)
downloaduhd-61fc14d3eb246927deac0397d12e6e87bca815fa.tar.gz
uhd-61fc14d3eb246927deac0397d12e6e87bca815fa.tar.bz2
uhd-61fc14d3eb246927deac0397d12e6e87bca815fa.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')
-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