gsm_08_58: Add vendor-specific Message Type for ETWS Primary Warning
Change-Id: I36fc2ffc22728887d1cb8768c7fcd9739a8ec0fc
Related: OS#4046, OS#4047
diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h
index 1d4530d..da55a8d 100644
--- a/include/osmocom/gsm/protocol/gsm_08_58.h
+++ b/include/osmocom/gsm/protocol/gsm_08_58.h
@@ -236,6 +236,8 @@
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 3be0111..5534aa2 100644
--- a/src/gsm/rsl.c
+++ b/src/gsm/rsl.c
@@ -389,6 +389,7 @@
{ 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 }
};