This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Vadim Yanitskiy gerrit-no-reply at lists.osmocom.orgVadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/10777
Change subject: trxcon/l1ctl.c: print timeslot number from L1CTL_DM_EST_REQ
......................................................................
trxcon/l1ctl.c: print timeslot number from L1CTL_DM_EST_REQ
Change-Id: If092743c32b7a6f5da7c8339b0f7b92ccf8a7a8b
---
M src/host/trxcon/l1ctl.c
1 file changed, 4 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/77/10777/1
diff --git a/src/host/trxcon/l1ctl.c b/src/host/trxcon/l1ctl.c
index ec8b4c7..9d6871e 100644
--- a/src/host/trxcon/l1ctl.c
+++ b/src/host/trxcon/l1ctl.c
@@ -541,10 +541,12 @@
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 @@
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];
--
To view, visit https://gerrit.osmocom.org/10777
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If092743c32b7a6f5da7c8339b0f7b92ccf8a7a8b
Gerrit-Change-Number: 10777
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180905/cf112d47/attachment.htm>