diff options
author | Max <msuraev@sysmocom.de> | 2016-07-05 19:17:19 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-07-08 15:08:17 +0000 |
commit | f5f773f0130e1f61b84636f7aeb6e17f5140fd25 (patch) | |
tree | 4474c3e7b9bebe1b03c7099656f585c14fdb6a7f /src | |
parent | fdca25dfb881871ffb4142bd1bcd808c71e6c4e3 (diff) |
Add strings with GPRS GMM messages
Change-Id: I48477b733e2da72f59349c00554dd3e080c9f445
Related: OS#1582
Diffstat (limited to 'src')
-rw-r--r-- | src/gsm/gsm_04_08_gprs.c | 24 | ||||
-rw-r--r-- | src/gsm/libosmogsm.map | 1 |
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; |