SRSUE: Enable Asynchronous SCell Receiver AGC

master
Xavier Arteaga 5 years ago committed by Xavier Arteaga
parent 1d83bb08e2
commit a9dae4c29c

@ -93,9 +93,16 @@ void sync::init(srslte::radio_interface_phy* _radio,
reset(); reset();
running = true; running = true;
// Enable AGC // Enable AGC for primary cell receiver
set_agc_enable(worker_com->args->agc_enable); set_agc_enable(worker_com->args->agc_enable);
// Enable AGC for secondary asynchronous receiver
if (scell_sync) {
for (auto& q : *scell_sync) {
q->set_agc_enable(worker_com->args->agc_enable);
}
}
// Start main thread // Start main thread
if (sync_cpu_affinity < 0) { if (sync_cpu_affinity < 0) {
start(prio); start(prio);

Loading…
Cancel
Save