aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-01-09 13:37:02 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-10 23:29:06 +0000
commitdf75195666526d4ccd7e2e05c59db47fd02f9692 (patch)
tree524fb03f332483005a59d3a9db7b76be859c6730 /include
parentb76043e6f467bfba62c2c24a8d8553938d9205c1 (diff)
scheduler: log lchan on which prim error occured
Log both lchan and trx_chan_type (using introduced value_string). Change-Id: I80c581b54eeee371ee524a75a400d1e9ece16c68
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/scheduler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmo-bts/scheduler.h b/include/osmo-bts/scheduler.h
index b0387dbc..33a99bbe 100644
--- a/include/osmo-bts/scheduler.h
+++ b/include/osmo-bts/scheduler.h
@@ -1,6 +1,8 @@
#ifndef TRX_SCHEDULER_H
#define TRX_SCHEDULER_H
+#include <osmocom/core/utils.h>
+
#include <osmo-bts/gsm_data.h>
/* These types define the different channels on a multiframe.
@@ -48,6 +50,8 @@ enum trx_chan_type {
_TRX_CHAN_MAX
};
+extern const struct value_string trx_chan_type_names[];
+
#define GSM_BURST_LEN 148
#define GPRS_BURST_LEN GSM_BURST_LEN
#define EGPRS_BURST_LEN 444