From 3b4f42dee4300669d58718df4b85616a85b64904 Mon Sep 17 00:00:00 2001 From: Robert Ghilduta Date: Sat, 6 Feb 2021 17:38:56 -0800 Subject: [PATCH] Revert "ad936x_params: allow CTRL_IN to control gain in MGC mode" This reverts commit a9712e73e832e94b053f1cee1ecce2e4902aeb0c. --- fpga_common/src/ad936x_params.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fpga_common/src/ad936x_params.c b/fpga_common/src/ad936x_params.c index b66207b36..aa7bebeff 100644 --- a/fpga_common/src/ad936x_params.c +++ b/fpga_common/src/ad936x_params.c @@ -93,8 +93,8 @@ AD9361_InitParam bladerf2_rfic_init_params = { /* Gain MGC Control */ 2, // N/A when mgc_rx(1,2)_ctrl_inp_enable = 0 // mgc_dec_gain_step *** adi,mgc-dec-gain-step 2, // N/A when mgc_rx(1,2)_ctrl_inp_enable = 0 // mgc_inc_gain_step *** adi,mgc-inc-gain-step - 1, // use CTRL_IN for RX1 MGC stepping // mgc_rx1_ctrl_inp_enable *** adi,mgc-rx1-ctrl-inp-enable - 1, // use CTRL_IN for RX2 MGC stepping // mgc_rx2_ctrl_inp_enable *** adi,mgc-rx2-ctrl-inp-enable + 0, // don't use CTRL_IN for RX1 MGC stepping // mgc_rx1_ctrl_inp_enable *** adi,mgc-rx1-ctrl-inp-enable + 0, // don't use CTRL_IN for RX2 MGC stepping // mgc_rx2_ctrl_inp_enable *** adi,mgc-rx2-ctrl-inp-enable 0, // N/A when mgc_rx(1,2)_ctrl_inp_enable = 0 // mgc_split_table_ctrl_inp_gain_mode *** adi,mgc-split-table-ctrl-inp-gain-mode /* Gain AGC Control */