trxcon/l1ctl.c: fix: handle ARFCN from L1CTL_DM_EST_REQ
A BSC may allocate a dedicated channel on any ARFCN, not necessary on the same one where a mobile station has requested this channel. For some reason, the ARFCN info of L1CTL_DM_EST_REQ message was not handled by trxcon. Let's fix this. Related: OS#3526 Change-Id: I16ed5c64236c159bfa39002b05094c1f6c171f6b
This commit is contained in:
parent
fcfe20d3e0
commit
4736561b22
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue