Expand chan allocation logging
Log more data related to channel allocation:
- channel type
- number of paging attempts
- timers fired
Change-Id: Ib417a9c942c17b902dd80ff555cd9da5f91bff48
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index 8a6b111..cc190eb 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -1659,7 +1659,9 @@
static void t3101_expired(void *data)
{
struct gsm_lchan *lchan = data;
-
+ LOGP(DRSL, LOGL_NOTICE,
+ "%s T3101 expired: no response to IMMEDIATE ASSIGN\n",
+ gsm_lchan_name(lchan));
rsl_rf_chan_release(lchan, 1, SACCH_DEACTIVATE);
}
@@ -1667,7 +1669,9 @@
static void t3111_expired(void *data)
{
struct gsm_lchan *lchan = data;
-
+ LOGP(DRSL, LOGL_NOTICE,
+ "%s T3111 expired: releasing RF Channel\n",
+ gsm_lchan_name(lchan));
rsl_rf_chan_release(lchan, 0, SACCH_NONE);
}