aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/cores
diff options
context:
space:
mode:
authormattprost <matt.prost@ni.com>2020-03-05 10:47:59 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2020-03-23 09:33:57 -0500
commit0ac85e4d0186cb63cb98da90363f34947675b3e5 (patch)
tree0bb25db3a4812d3230866df5cab3957180e4b065 /host/lib/usrp/cores
parent5c7237fb407cfccaee205980d97e40ce10768c2a (diff)
downloaduhd-0ac85e4d0186cb63cb98da90363f34947675b3e5.tar.gz
uhd-0ac85e4d0186cb63cb98da90363f34947675b3e5.tar.bz2
uhd-0ac85e4d0186cb63cb98da90363f34947675b3e5.zip
x300: lf/basic antenna API implementation
This results in a change of operation for LF/Basic Boards on X300/X310 devices. The RX streaming mode will now be specified by the antenna rather than the subdev: (AB or BA for complex streaming, and A or B for real-mode streaming, with AB being the default antenna value). For real-mode streaming, data is collected as complex data with zeroed-out values in the quadrature domain. The subdevs for these boards have been changed to 0 and 1 for the RX channels, and 0 for the TX channel, in order to align with subdev specs of other RFNoC devices. Note: the old streaming mode paradigm is still in place for the N210.
Diffstat (limited to 'host/lib/usrp/cores')
-rw-r--r--host/lib/usrp/cores/rx_frontend_core_3000.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/cores/rx_frontend_core_3000.cpp b/host/lib/usrp/cores/rx_frontend_core_3000.cpp
index 788e222ed..1dc8be745 100644
--- a/host/lib/usrp/cores/rx_frontend_core_3000.cpp
+++ b/host/lib/usrp/cores/rx_frontend_core_3000.cpp
@@ -193,6 +193,7 @@ public:
{
switch (_fe_conn.get_sampling_mode()) {
case fe_connection_t::REAL:
+ return _adc_rate;
case fe_connection_t::HETERODYNE:
return _adc_rate / 2;
default: