LimeSuiteNG : Setting RX gain with non legacy code

Hello,

Following is my configuration:

// RF parameters
config.channel[0].rx.enabled = true;
config.channel[0].rx.gain[eGainTypes::GENERIC] = Gain;
config.channel[0].rx.centerFrequency = CenterFreq;
config.channel[0].rx.sampleRate = SampleFreq;
config.channel[0].rx.oversample = OverSample;
config.channel[0].rx.lpf = BandWidth; 
config.channel[0].rx.path = Antenna;
config.channel[0].rx.calibrate = Calibrate; 
config.channel[0].rx.testSignal.enabled = true;

Regarding gain - What gain type should I use ?
Is there more that one gain type that I should set ?

Thank you,

Zvi

Hi,

Generic gain should be enough.

More about setting different gain types - Common control and configuration options — Lime Suite NG latest documentation