aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm/gsup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsm/gsup.c')
-rw-r--r--src/gsm/gsup.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gsm/gsup.c b/src/gsm/gsup.c
index b1b97ca5..ec1dc906 100644
--- a/src/gsm/gsup.c
+++ b/src/gsm/gsup.c
@@ -31,6 +31,35 @@
#include <stdint.h>
+const struct value_string osmo_gsup_message_type_names[] = {
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_UPDATE_LOCATION_ERROR),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT),
+
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT),
+
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_AUTH_FAIL_REPORT),
+
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_PURGE_MS_REQUEST),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_PURGE_MS_ERROR),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_PURGE_MS_RESULT),
+
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_INSERT_DATA_REQUEST),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_INSERT_DATA_ERROR),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_INSERT_DATA_RESULT),
+
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_DELETE_DATA_REQUEST),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_DELETE_DATA_ERROR),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_DELETE_DATA_RESULT),
+
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_LOCATION_CANCEL_REQUEST),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_LOCATION_CANCEL_ERROR),
+ OSMO_VALUE_STRING(OSMO_GSUP_MSGT_LOCATION_CANCEL_RESULT),
+ { 0, NULL }
+};
+
static int decode_pdp_info(uint8_t *data, size_t data_len,
struct osmo_gsup_pdp_info *pdp_info)
{