aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_gain_table.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_gain_table.hpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_gain_table.hpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_gain_table.hpp b/host/lib/usrp/dboard/magnesium/magnesium_gain_table.hpp
index e3af493b1..28a75ef5b 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_gain_table.hpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_gain_table.hpp
@@ -7,6 +7,7 @@
#ifndef INCLUDED_LIBUHD_MAGNESIUM_GAIN_TABLE_HPP
#define INCLUDED_LIBUHD_MAGNESIUM_GAIN_TABLE_HPP
+#include "magnesium_radio_ctrl_impl.hpp"
#include <uhd/types/direction.hpp>
namespace magnesium {
@@ -27,12 +28,18 @@ struct gain_tuple_t
};
-/*! Given a gain index, return a tuple of gain-related settings
+/*! Given a gain index, return a tuple of gain-related settings (Rx)
*/
-gain_tuple_t get_gain_tuple(
+gain_tuple_t get_rx_gain_tuple(
const double gain_index,
- const double freq,
- const uhd::direction_t dir
+ const uhd::rfnoc::magnesium_radio_ctrl_impl::rx_band band_
+);
+
+/*! Given a gain index, return a tuple of gain-related settings (Tx)
+ */
+gain_tuple_t get_tx_gain_tuple(
+ const double gain_index,
+ const uhd::rfnoc::magnesium_radio_ctrl_impl::tx_band band_
);
} /* namespace magnesium */