From e26b5ae026e1b83dbd2de36febf9adfd32d12226 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 26 Feb 2019 15:12:51 -0800 Subject: 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. --- host/lib/usrp/x300/x300_defaults.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host') 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 CLOCK_SOURCE_OPTIONS{ "internal", "external", "gpsdo"}; static const std::vector TIME_SOURCE_OPTIONS{ "internal", "external", "gpsdo"}; -static const std::vector EXTERNAL_FREQ_OPTIONS{10e6, 30.72e6, 200e6}; +static const std::vector 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 -- cgit v1.2.3