trxcon/l1ctl.c: print timeslot number from L1CTL_DM_EST_REQ

Change-Id: If092743c32b7a6f5da7c8339b0f7b92ccf8a7a8b
This commit is contained in:
Vadim Yanitskiy 2018-09-06 01:15:26 +07:00
parent 535a093726
commit 236dfd506d
1 changed files with 4 additions and 5 deletions

View File

@ -541,10 +541,12 @@ static int l1ctl_rx_dm_est_req(struct l1ctl_link *l1l, struct msgb *msg)
band_arfcn = ntohs(est_req->h0.band_arfcn);
chan_nr = ul->chan_nr;
tn = chan_nr & 0x07;
LOGP(DL1C, LOGL_NOTICE, "Received L1CTL_DM_EST_REQ (arfcn=%u, "
"chan_nr=0x%02x, tsc=%u, tch_mode=0x%02x)\n", (band_arfcn &~ ARFCN_FLAG_MASK),
chan_nr, est_req->tsc, est_req->tch_mode);
"tn=%u, chan_nr=0x%02x, tsc=%u, tch_mode=0x%02x)\n",
(band_arfcn &~ ARFCN_FLAG_MASK), tn, chan_nr,
est_req->tsc, est_req->tch_mode);
if (est_req->h) {
LOGP(DL1C, LOGL_ERROR, "FHSS is not supported\n");
@ -563,9 +565,6 @@ static int l1ctl_rx_dm_est_req(struct l1ctl_link *l1l, struct msgb *msg)
goto exit;
}
/* Determine TS index */
tn = chan_nr & 0x7;
/* Configure requested TS */
rc = sched_trx_configure_ts(l1l->trx, tn, config);
ts = l1l->trx->ts_list[tn];