diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/host/trxcon/l1ctl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/host/trxcon/l1ctl.c b/src/host/trxcon/l1ctl.c index 49d6a127..b0a4c6dd 100644 --- a/src/host/trxcon/l1ctl.c +++ b/src/host/trxcon/l1ctl.c @@ -554,6 +554,16 @@ static int l1ctl_rx_dm_est_req(struct l1ctl_link *l1l, struct msgb *msg) goto exit; } + /* Only if the current ARFCN differs */ + if (l1l->trx->band_arfcn != band_arfcn) { + /* Update current ARFCN */ + l1l->trx->band_arfcn = band_arfcn; + + /* Tune transceiver to required ARFCN */ + trx_if_cmd_rxtune(l1l->trx, band_arfcn); + trx_if_cmd_txtune(l1l->trx, band_arfcn); + } + /* Update TSC (Training Sequence Code) */ l1l->trx->tsc = est_req->tsc; |