diff options
| author | Martin Braun <martin.braun@ettus.com> | 2017-11-07 15:41:46 -0800 | 
|---|---|---|
| committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:05:05 -0800 | 
| commit | db6264c28e2f460e605fd5781f5188067ab4743b (patch) | |
| tree | d906ac50633b197a18655523e47e61afae214815 /host/lib/usrp/dboard/magnesium/magnesium_constants.hpp | |
| parent | 298304b1192ac44d5732d16439ff9c84e09922ef (diff) | |
| download | uhd-db6264c28e2f460e605fd5781f5188067ab4743b.tar.gz uhd-db6264c28e2f460e605fd5781f5188067ab4743b.tar.bz2 uhd-db6264c28e2f460e605fd5781f5188067ab4743b.zip | |
mg: Add static gain tables and -support
- Adds two new compilation units (magnesium_gain_table.* and
  magnesium_radio_ctrl_gain.cpp)
- Static gain tables are hard-coded in that file, includes method to
  look up gain table entries for a given frequency and gain
- DSA code moved back to accept attenuation
- TX/RX switch code needed update to enable bypass for certain gains
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_constants.hpp')
| -rw-r--r-- | host/lib/usrp/dboard/magnesium/magnesium_constants.hpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp b/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp index f66d9ab8e..ec7595d98 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp @@ -42,10 +42,10 @@ static const double AD9371_MIN_TX_GAIN = 0.0; // dB  static const double AD9371_MAX_TX_GAIN = 41.95; // dB  static const double AD9371_TX_GAIN_STEP = 0.05;  static const double ALL_RX_MIN_GAIN = 0.0; -static const double ALL_RX_MAX_GAIN = 61.5; +static const double ALL_RX_MAX_GAIN = 75.0;  static const double ALL_RX_GAIN_STEP = 0.5;  static const double ALL_TX_MIN_GAIN = 0.0; -static const double ALL_TX_MAX_GAIN = 73.45; +static const double ALL_TX_MAX_GAIN = 65.0;  static const double ALL_TX_GAIN_STEP = 0.5;  static const double MAGNESIUM_CENTER_FREQ = 2.5e9; // Hz  static const std::vector<std::string> MAGNESIUM_RX_ANTENNAS = { | 
