LMSDevice: Set low-pass filters to smallest possible option
Rx 1.4 MHz, Tx 5MHz. Both massively too wide for GSM, but there's no smaller band-width available. Change-Id: I9723c9a2ea77f65bfa9d796d7c44adc2417e89cf
This commit is contained in:
parent
a5054b398b
commit
ea8be22e50
|
@ -156,6 +156,10 @@ int LMSDevice::open(const std::string &args, int ref, bool swap_channels)
|
|||
|
||||
/* Perform Rx and Tx calibration */
|
||||
for (i=0; i<chans; i++) {
|
||||
if (LMS_SetLPFBW(m_lms_dev, LMS_CH_RX, i, 1.4001e6) < 0)
|
||||
goto out_close;
|
||||
if (LMS_SetLPFBW(m_lms_dev, LMS_CH_TX, i, 5e6) < 0)
|
||||
goto out_close;
|
||||
LOG(INFO) << "Calibrating chan " << i;
|
||||
if (LMS_Calibrate(m_lms_dev, LMS_CH_RX, i, LMS_CALIBRATE_BW_HZ, 0) < 0)
|
||||
goto out_close;
|
||||
|
|
Loading…
Reference in New Issue