diff options
author | Max <msuraev@sysmocom.de> | 2017-01-09 13:37:02 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-01-10 23:29:06 +0000 |
commit | df75195666526d4ccd7e2e05c59db47fd02f9692 (patch) | |
tree | 524fb03f332483005a59d3a9db7b76be859c6730 /include | |
parent | b76043e6f467bfba62c2c24a8d8553938d9205c1 (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.h | 4 |
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 |