aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/system_information.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-07-30 11:11:38 +0200
committerHarald Welte <laforge@gnumonks.org>2010-07-30 11:17:13 +0200
commit5f827f4edea1a66a5a050edb022be81d2d9f8313 (patch)
tree409b0676f570f8348ac682b734d43a9dbcdd698a /openbsc/include/openbsc/system_information.h
parent88f9d98ccc2b8719b826d1a34c3aad8af3e4c132 (diff)
Add more RSL <-> Osmo SI type mappings, export osmo_sitype_strs[]
Diffstat (limited to 'openbsc/include/openbsc/system_information.h')
-rw-r--r--openbsc/include/openbsc/system_information.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/system_information.h b/openbsc/include/openbsc/system_information.h
index 55c00d817..3ab8de015 100644
--- a/openbsc/include/openbsc/system_information.h
+++ b/openbsc/include/openbsc/system_information.h
@@ -1,6 +1,8 @@
#ifndef _SYSTEM_INFO_H
#define _SYSTEM_INFO_H
+#include <osmocore/utils.h>
+
#define GSM_MACBLOCK_LEN 23
enum osmo_sysinfo_type {
@@ -32,6 +34,7 @@ enum osmo_sysinfo_type {
typedef u_int8_t sysinfo_buf_t[GSM_MACBLOCK_LEN];
+const struct value_string osmo_sitype_strs[_MAX_SYSINFO_TYPE];
uint8_t gsm_sitype2rsl(enum osmo_sysinfo_type si_type);
const char *gsm_sitype_name(enum osmo_sysinfo_type si_type);
int gsm_generate_si(struct gsm_bts *bts, enum osmo_sysinfo_type type);