summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2019-03-21 15:57:54 +0100
committerMax <msuraev@sysmocom.de>2019-03-21 16:58:56 +0100
commit25e17a9c7f07b7067f3c34da428db9250fd2abcc (patch)
treefe263fd7eef207a08e2833f6af7afead890459bd
parent7f024a30a47fe1d647d5d4f8b0135d8e00753ad1 (diff)
trxcon: log FBSB timer events
-rw-r--r--src/host/trxcon/l1ctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/trxcon/l1ctl.c b/src/host/trxcon/l1ctl.c
index b37082e..8145936 100644
--- a/src/host/trxcon/l1ctl.c
+++ b/src/host/trxcon/l1ctl.c
@@ -295,7 +295,7 @@ static void fbsb_timer_cb(void *data)
if (msg == NULL)
return;
- LOGP(DL1C, LOGL_DEBUG, "Send FBSB Conf (result=255, bsic=0)\n");
+ LOGP(DL1C, LOGL_NOTICE, "FBSB timer fired for ARFCN %u\n", l1l->trx->band_arfcn &~ ARFCN_FLAG_MASK);
dl = put_dl_info_hdr(msg, NULL);
@@ -361,6 +361,7 @@ static int l1ctl_rx_fbsb_req(struct l1ctl_link *l1l, struct msgb *msg)
/* Start FBSB expire timer */
l1l->fbsb_timer.data = l1l;
l1l->fbsb_timer.cb = fbsb_timer_cb;
+ LOGP(DL1C, LOGL_INFO, "Starting FBSB timer %u ms\n", timeout * FRAME_DURATION_uS / 1000);
osmo_timer_schedule(&l1l->fbsb_timer, 0,
timeout * FRAME_DURATION_uS);