From de7ed3081b6b9746c320669d87d318e82e4af7f4 Mon Sep 17 00:00:00 2001 From: Trung N Tran Date: Wed, 29 Nov 2017 17:47:10 -0800 Subject: mg: Fix TX power issues - Fixed incorrect register address for channel 1 lowband mixer select - Fixed enabling of bypass path --- host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp/dboard') 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] = -- cgit v1.2.3