diff options
author | Trung N Tran <trung.tran@ettus.com> | 2017-10-25 14:23:31 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:04:03 -0800 |
commit | 3611033e9b52a19ca8d11b8a56a075096bcfb1a4 (patch) | |
tree | 3f727d0a09cf57aeff9ab540ae82611c9cf79534 /host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp | |
parent | 479159352290aa925a7f2f5b428a0d78f150869c (diff) | |
download | uhd-3611033e9b52a19ca8d11b8a56a075096bcfb1a4.tar.gz uhd-3611033e9b52a19ca8d11b8a56a075096bcfb1a4.tar.bz2 uhd-3611033e9b52a19ca8d11b8a56a075096bcfb1a4.zip |
n3xx: Configure antenna switching
This enables the various bands for the Magnesium dboard. Note: Tx
support is not part of this commit.
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp')
-rw-r--r-- | host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp index 5bcb83024..e0031c611 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp @@ -144,6 +144,17 @@ private: const size_t chan ); + void _update_freq_switches( + const double freq, + const size_t chan, + const direction_t dir + ); + + void _update_atr_switches( + const size_t chan, + const direction_t dir, + const std::string &ant + ); //! Letter representation of the radio we're currently running std::string _radio_slot; @@ -180,7 +191,6 @@ private: // module can be the FP-GPIO master. usrp::gpio_atr::gpio_atr_3000::sptr _fp_gpio; - }; /* class radio_ctrl_impl */ }} /* namespace uhd::rfnoc */ |