aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
diff options
context:
space:
mode:
authorLane Kolbly <lane.kolbly@ni.com>2020-06-18 17:46:06 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-01-11 12:26:00 -0600
commit12673d9290319d2453fedd806ddf248d3d5586e3 (patch)
tree811016297552c5358129aecb5953a0c143229e86 /host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
parentc9b35e3b7107ab82c0e3978b7cbfd76ba98e2407 (diff)
downloaduhd-12673d9290319d2453fedd806ddf248d3d5586e3.tar.gz
uhd-12673d9290319d2453fedd806ddf248d3d5586e3.tar.bz2
uhd-12673d9290319d2453fedd806ddf248d3d5586e3.zip
uhd: Split radio_control into rf_control interfaces
These rf_control interfaces allow easier implementation of radio controls as well as allowing easier sharing of code for implementing e.g. gain_profile.
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
index fc8c79b5a..e8c252605 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
@@ -87,8 +87,6 @@ public:
double set_rx_gain(const double gain, const std::string& name, const size_t chan);
double set_tx_bandwidth(const double bandwidth, const size_t chan);
double set_rx_bandwidth(const double bandwidth, const size_t chan);
- void set_tx_gain_profile(const std::string& profile, const size_t chan);
- void set_rx_gain_profile(const std::string& profile, const size_t chan);
// Getters
std::vector<std::string> get_tx_antennas(const size_t chan) const;
@@ -103,10 +101,6 @@ public:
uhd::gain_range_t get_tx_gain_range(const std::string&, const size_t) const;
uhd::gain_range_t get_rx_gain_range(const size_t) const;
uhd::gain_range_t get_rx_gain_range(const std::string&, const size_t) const;
- std::vector<std::string> get_tx_gain_profile_names(const size_t chan) const;
- std::vector<std::string> get_rx_gain_profile_names(const size_t chan) const;
- std::string get_tx_gain_profile(const size_t chan) const;
- std::string get_rx_gain_profile(const size_t chan) const;
uhd::meta_range_t get_tx_bandwidth_range(size_t chan) const;
uhd::meta_range_t get_rx_bandwidth_range(size_t chan) const;
@@ -351,9 +345,6 @@ private:
//! All gain
double _all_rx_gain = 0.0;
double _all_tx_gain = 0.0;
- //! Gain profile
- std::map<direction_t, std::string> _gain_profile = {
- {RX_DIRECTION, "default"}, {TX_DIRECTION, "default"}};
bool _rx_bypass_lnas = true;
bool _tx_bypass_amp = true;