rh: Fix auto DC-offset correction and auto-IQ balance APIs

N320 doesn't have an automatic RX IQ balance correction, so that API is
removed.
The auto-DC offset correction was calling into the manual DC offset
correction code, which means auto-DC offset correction was never enabled
for N320.
This commit is contained in:
Martin Braun 2021-08-24 20:32:29 +02:00 committed by Aaron Rossetto
parent 0f450cc774
commit ba534af868
2 changed files with 1 additions and 7 deletions

View File

@ -620,7 +620,7 @@ void rhodium_radio_control_impl::set_tx_iq_balance(
void rhodium_radio_control_impl::set_rx_dc_offset(const bool enb, size_t)
{
_rx_fe_core->set_dc_offset(enb);
_rx_fe_core->set_dc_offset_auto(enb);
}
void rhodium_radio_control_impl::set_rx_dc_offset(
@ -636,11 +636,6 @@ meta_range_t rhodium_radio_control_impl::get_rx_dc_offset_range(size_t) const
.get();
}
void rhodium_radio_control_impl::set_rx_iq_balance(const bool enb, size_t)
{
_rx_fe_core->set_iq_balance(enb);
}
void rhodium_radio_control_impl::set_rx_iq_balance(
const std::complex<double>& correction, size_t)
{

View File

@ -170,7 +170,6 @@ public:
void set_rx_dc_offset(const bool enb, size_t chan = ALL_CHANS) override;
void set_rx_dc_offset(const std::complex<double>& offset, size_t chan) override;
meta_range_t get_rx_dc_offset_range(size_t chan) const override;
void set_rx_iq_balance(const bool enb, size_t chan) override;
void set_rx_iq_balance(const std::complex<double>& correction, size_t chan) override;
/************************************************************************