summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-09-03 13:56:00 +0200
committerlaforge <laforge@gnumonks.org>2019-09-05 11:16:56 +0000
commitf945689cd9b176eeb9a36073b159e5114c8e62d1 (patch)
tree0f2f1d3462c74921edc0dd5d546cd04092908e92
parent750d8311f5c0455f2caaa2ae9dba2cc99300c9dd (diff)
gsm_08_58: Add vendor-specific Message Type for ETWS Primary Warning
Change-Id: I36fc2ffc22728887d1cb8768c7fcd9739a8ec0fc Related: OS#4046, OS#4047
-rw-r--r--include/osmocom/gsm/protocol/gsm_08_58.h2
-rw-r--r--src/gsm/rsl.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h
index 1d4530d1..da55a8d9 100644
--- a/include/osmocom/gsm/protocol/gsm_08_58.h
+++ b/include/osmocom/gsm/protocol/gsm_08_58.h
@@ -236,6 +236,8 @@ enum abis_rsl_msgtype {
RSL_MT_IPAC_DLCX = 0x77,
RSL_MT_IPAC_DLCX_ACK,
RSL_MT_IPAC_DLCX_NACK,
+
+ RSL_MT_OSMO_ETWS_CMD = 0x7f,
};
/*! Siemens vendor-specific RSL message types */
diff --git a/src/gsm/rsl.c b/src/gsm/rsl.c
index 3be01112..5534aa2a 100644
--- a/src/gsm/rsl.c
+++ b/src/gsm/rsl.c
@@ -389,6 +389,7 @@ static const struct value_string rsl_msgt_names[] = {
{ RSL_MT_TFO_REP, "TFO_REP" },
{ RSL_MT_TFO_MOD_REQ, "TFO_MOD_REQ" },
{ RSL_MT_LOCATION_INFO, "LOCATION_INFO" },
+ { RSL_MT_OSMO_ETWS_CMD, "OSMO_ETWS_CMD" },
{ 0, NULL }
};