summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gsm/gsm_04_08_gprs.c24
-rw-r--r--src/gsm/libosmogsm.map1
2 files changed, 25 insertions, 0 deletions
diff --git a/src/gsm/gsm_04_08_gprs.c b/src/gsm/gsm_04_08_gprs.c
index 7018777b..7cfcc80c 100644
--- a/src/gsm/gsm_04_08_gprs.c
+++ b/src/gsm/gsm_04_08_gprs.c
@@ -137,6 +137,30 @@ bool gprs_ms_net_cap_gea_supported(const uint8_t *ms_net_cap, uint8_t cap_len,
}
}
+const struct value_string gprs_msgt_gmm_names[] = {
+ { GSM48_MT_GMM_ATTACH_REQ, "ATTACH REQUEST" },
+ { GSM48_MT_GMM_ATTACH_ACK, "ATTACH ACK" },
+ { GSM48_MT_GMM_ATTACH_COMPL, "ATTACH COMPLETE" },
+ { GSM48_MT_GMM_ATTACH_REJ, "ATTACH REJECT" },
+ { GSM48_MT_GMM_DETACH_REQ, "DETACH REQUEST" },
+ { GSM48_MT_GMM_DETACH_ACK, "DETACH ACK" },
+ { GSM48_MT_GMM_RA_UPD_REQ, "RA UPDATE REQUEST" },
+ { GSM48_MT_GMM_RA_UPD_ACK, "RA UPDATE ACK" },
+ { GSM48_MT_GMM_RA_UPD_COMPL, "RA UPDATE COMPLETE" },
+ { GSM48_MT_GMM_RA_UPD_REJ, "RA UPDATE REJECT" },
+ { GSM48_MT_GMM_PTMSI_REALL_CMD, "PTMSI REALLOC CMD" },
+ { GSM48_MT_GMM_PTMSI_REALL_COMPL, "PTMSI REALLOC COMPLETE" },
+ { GSM48_MT_GMM_AUTH_CIPH_REQ, "AUTH & CIPHER REQUEST" },
+ { GSM48_MT_GMM_AUTH_CIPH_RESP, "AUTH & CIPHER RESPONSE" },
+ { GSM48_MT_GMM_AUTH_CIPH_REJ, "AUTH & CIPHER REJECT" },
+ { GSM48_MT_GMM_AUTH_CIPH_FAIL, "AUTH & CIPHER FAILURE" },
+ { GSM48_MT_GMM_ID_REQ, "IDENTITY REQUEST" },
+ { GSM48_MT_GMM_ID_RESP, "IDENTITY RESPONSE" },
+ { GSM48_MT_GMM_STATUS, "STATUS" },
+ { GSM48_MT_GMM_INFO, "INFO" },
+ { 0, NULL }
+};
+
/* 10.5.5.2 */
const struct value_string gprs_att_t_strs_[] = {
{ GPRS_ATT_T_ATTACH, "GPRS attach" },
diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map
index c68cf2a5..d597f10a 100644
--- a/src/gsm/libosmogsm.map
+++ b/src/gsm/libosmogsm.map
@@ -46,6 +46,7 @@ gprs_cipher_key_length;
gprs_tlli_type;
gprs_tmsi2tlli;
gprs_ms_net_cap_gea_supported;
+gprs_msgt_gmm_names;
gsm48_gmm_cause_names;
gsm48_gsm_cause_names;