mirror of https://github.com/PentHertz/srsLTE.git
SRSUE: Enable Asynchronous SCell Receiver AGC
This commit is contained in:
parent
1d83bb08e2
commit
a9dae4c29c
|
@ -93,9 +93,16 @@ void sync::init(srslte::radio_interface_phy* _radio,
|
|||
reset();
|
||||
running = true;
|
||||
|
||||
// Enable AGC
|
||||
// Enable AGC for primary cell receiver
|
||||
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
|
||||
if (sync_cpu_affinity < 0) {
|
||||
start(prio);
|
||||
|
|
Loading…
Reference in New Issue