diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-04-15 15:08:50 -0700 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-06-03 15:14:01 -0500 |
commit | ae426043df93c4c0255ae05419953645214ff198 (patch) | |
tree | 9ac3abcff1797fbbf32e47c617c3ca810b998d2d /host/lib/usrp/b200/b200_impl.hpp | |
parent | d4e62f0d9d26107c0b6677308ea83b2f2dfe7da4 (diff) | |
download | uhd-ae426043df93c4c0255ae05419953645214ff198.tar.gz uhd-ae426043df93c4c0255ae05419953645214ff198.tar.bz2 uhd-ae426043df93c4c0255ae05419953645214ff198.zip |
b200: Enable power calibration API
This lets the B200 transmit and/or receive at given reference power
levels. Requirement is that the devices have been separately calibrated
with an external calibration device.
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.hpp')
-rw-r--r-- | host/lib/usrp/b200/b200_impl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/b200/b200_impl.hpp b/host/lib/usrp/b200/b200_impl.hpp index d151bc59d..cb2edea80 100644 --- a/host/lib/usrp/b200/b200_impl.hpp +++ b/host/lib/usrp/b200/b200_impl.hpp @@ -35,9 +35,11 @@ #include <uhdlib/usrp/cores/tx_dsp_core_3000.hpp> #include <uhdlib/usrp/cores/tx_vita_core_3000.hpp> #include <uhdlib/usrp/cores/user_settings_core_3000.hpp> +#include <uhdlib/usrp/common/pwr_cal_mgr.hpp> #include <boost/assign.hpp> #include <memory> #include <mutex> +#include <unordered_map> static const uint8_t B200_FW_COMPAT_NUM_MAJOR = 8; static const uint8_t B200_FW_COMPAT_NUM_MINOR = 0; @@ -203,6 +205,7 @@ private: std::weak_ptr<uhd::tx_streamer> tx_streamer; user_settings_core_3000::sptr user_settings; bool ant_rx2; + std::unordered_map<std::string, uhd::usrp::pwr_cal_mgr::sptr> pwr_mgr; }; std::vector<radio_perifs_t> _radio_perifs; |