From 620f7ab35034f78f894319e027a151568c331eea Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 25 Jun 2011 21:39:18 +0200 Subject: sysinfo: add EXTENDED MEASUREMENT ORDER / MEASUREMENT INFO to SI types those two are used in the RSL SACCH FILLING messages and delivered like SI5 / SI6. --- include/osmocom/gsm/sysinfo.h | 2 ++ src/gsm/sysinfo.c | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/include/osmocom/gsm/sysinfo.h b/include/osmocom/gsm/sysinfo.h index 6c81134e..b808d6f9 100644 --- a/include/osmocom/gsm/sysinfo.h +++ b/include/osmocom/gsm/sysinfo.h @@ -27,6 +27,8 @@ enum osmo_sysinfo_type { SYSINFO_TYPE_2quater, SYSINFO_TYPE_5bis, SYSINFO_TYPE_5ter, + SYSINFO_TYPE_EMO, + SYSINFO_TYPE_MEAS_INFO, /* FIXME all the various bis and ter */ _MAX_SYSINFO_TYPE }; diff --git a/src/gsm/sysinfo.c b/src/gsm/sysinfo.c index 9df18877..1408f6bf 100644 --- a/src/gsm/sysinfo.c +++ b/src/gsm/sysinfo.c @@ -68,6 +68,8 @@ static const uint8_t sitype2rsl[_MAX_SYSINFO_TYPE] = { [SYSINFO_TYPE_2quater] = RSL_SYSTEM_INFO_2quater, [SYSINFO_TYPE_5bis] = RSL_SYSTEM_INFO_5bis, [SYSINFO_TYPE_5ter] = RSL_SYSTEM_INFO_5ter, + [SYSINFO_TYPE_EMO] = RSL_EXT_MEAS_ORDER, + [SYSINFO_TYPE_MEAS_INFO]= RSL_MEAS_INFO, }; static const uint8_t rsl2sitype[256] = { @@ -92,6 +94,8 @@ static const uint8_t rsl2sitype[256] = { [RSL_SYSTEM_INFO_2quater] = SYSINFO_TYPE_2quater, [RSL_SYSTEM_INFO_5bis] = SYSINFO_TYPE_5bis, [RSL_SYSTEM_INFO_5ter] = SYSINFO_TYPE_5ter, + [RSL_EXT_MEAS_ORDER] = SYSINFO_TYPE_EMO, + [RSL_MEAS_INFO] = SYSINFO_TYPE_MEAS_INFO, }; const struct value_string osmo_sitype_strs[_MAX_SYSINFO_TYPE] = { @@ -116,6 +120,8 @@ const struct value_string osmo_sitype_strs[_MAX_SYSINFO_TYPE] = { { SYSINFO_TYPE_2quater, "2quater" }, { SYSINFO_TYPE_5bis, "5bis" }, { SYSINFO_TYPE_5ter, "5ter" }, + { SYSINFO_TYPE_EMO, "EMO" }, + { SYSINFO_TYPE_MEAS_INFO, "MI" }, { 0, NULL } }; -- cgit v1.2.3