diff options
author | Trung N Tran <trung.tran@ettus.com> | 2017-11-29 17:47:10 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:05:57 -0800 |
commit | de7ed3081b6b9746c320669d87d318e82e4af7f4 (patch) | |
tree | 26c926af167b62e8d66c764ffd1cee0eafd5fb49 /host/lib/usrp | |
parent | 8bccbf85643feb7e88b768e41f29cc5aa66e2aa2 (diff) | |
download | uhd-de7ed3081b6b9746c320669d87d318e82e4af7f4.tar.gz uhd-de7ed3081b6b9746c320669d87d318e82e4af7f4.tar.bz2 uhd-de7ed3081b6b9746c320669d87d318e82e4af7f4.zip |
mg: Fix TX power issues
- Fixed incorrect register address for channel 1 lowband mixer select
- Fixed enabling of bypass path
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp index c7163052b..28bc7ec35 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp @@ -240,7 +240,9 @@ void magnesium_radio_ctrl_impl::_update_tx_freq_switches( magnesium_cpld_ctrl::LOWBAND_MIXER_PATH_SEL_BYPASS; const bool enable_lowband_mixer = (freq <= MAGNESIUM_LOWBAND_FREQ); // Defaults are fine for bypassing the amp stage - if (not bypass_amp) { + if (bypass_amp) { + _sw_trx[chan_sel] = magnesium_cpld_ctrl::SW_TRX_BYPASSPATHTOTXSW3; + } else { // Set filters based on frequency if (freq < MAGNESIUM_TX_BAND1_MIN_FREQ) { _sw_trx[chan_sel] = |