aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
diff options
context:
space:
mode:
authormattprost <matt.prost@ni.com>2022-04-06 14:00:06 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2022-04-07 13:28:02 -0700
commita8ad4917d331258e163e1786c0325a4b7e7d2e3e (patch)
treeb3cd5935981721f5ad98c11dad78122d013f7573 /host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
parenteacbf15e30313793841ca6e4abd9cad02fffa5b4 (diff)
downloaduhd-a8ad4917d331258e163e1786c0325a4b7e7d2e3e.tar.gz
uhd-a8ad4917d331258e163e1786c0325a4b7e7d2e3e.tar.bz2
uhd-a8ad4917d331258e163e1786c0325a4b7e7d2e3e.zip
n310: Add frontend bandwidth control
Allow users to control the Mykonos frontend bandwidth settings for Rx and Tx. Note that this operation requires the daughterboard to re-initialize, so it may take some time. Values for frontend filter settings were derived using ADI's AD9371 Filter Wizard. This feature requires MPM version 4.1 or later on the device. Co-authored-by: bpadalino <bpadalino@gmail.com> Signed-off-by: mattprost <matt.prost@ni.com>
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
index edc417cfe..5ac1ca245 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
@@ -279,6 +279,9 @@ private:
/**************************************************************************
* Private attributes
*************************************************************************/
+ //! MPM Compatibility number {MAJOR, MINOR}
+ std::vector<size_t> _mpm_compat_num;
+
//! Locks access to setter APIs
std::recursive_mutex _set_lock;
@@ -345,6 +348,7 @@ private:
//! Low band enable
std::map<direction_t, bool> _is_low_band = {
{RX_DIRECTION, false}, {TX_DIRECTION, false}};
+
//! AD9371 gain
double _ad9371_rx_gain = 0.0;
double _ad9371_tx_gain = 0.0;