diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gsm/Makefile.am | 2 | ||||
-rw-r--r-- | src/gsm/gsm0414.c | 20 | ||||
-rw-r--r-- | src/gsm/libosmogsm.map | 2 |
3 files changed, 23 insertions, 1 deletions
diff --git a/src/gsm/Makefile.am b/src/gsm/Makefile.am index d15174a1..08cd5e65 100644 --- a/src/gsm/Makefile.am +++ b/src/gsm/Makefile.am @@ -23,7 +23,7 @@ BUILT_SOURCES = gsm0503_conv.c libgsmint_la_SOURCES = a5.c rxlev_stat.c tlv_parser.c comp128.c comp128v23.c \ gsm_utils.c rsl.c gsm48.c gsm48_ie.c gsm0808.c sysinfo.c \ gprs_cipher_core.c gprs_rlc.c gsm0480.c abis_nm.c gsm0502.c \ - gsm0411_utils.c gsm0411_smc.c gsm0411_smr.c \ + gsm0411_utils.c gsm0411_smc.c gsm0411_smr.c gsm0414.c \ lapd_core.c lapdm.c kasumi.c gsm_04_08_gprs.c \ auth_core.c auth_comp128v1.c auth_comp128v23.c \ auth_milenage.c milenage/aes-encblock.c gea.c \ diff --git a/src/gsm/gsm0414.c b/src/gsm/gsm0414.c new file mode 100644 index 00000000..84d393df --- /dev/null +++ b/src/gsm/gsm0414.c @@ -0,0 +1,20 @@ +#include <osmocom/gsm/protocol/gsm_04_14.h> +#include <osmocom/core/utils.h> + +const struct value_string gsm414_msgt_names[] = { + { GSM414_MT_CLOSE_TCH_LOOP_CMD, "CLOSE_TCH_LOOP_CMD" }, + { GSM414_MT_CLOSE_TCH_LOOP_ACK, "CLOSE_TCH_LOOP_ACK" }, + { GSM414_MT_OPEN_LOOP_CMD, "OPEN_LOOP_CMD" }, + { GSM414_MT_CLOSE_MSLOT_LOOP_CMD, "CLOSE_MSLOT_LOOP_CMD" }, + { GSM414_MT_CLOSE_MSLOT_LOOP_ACK, "CLOSE_MSLOT_LOOP_ACK" }, + { GSM414_MT_OPEN_MSLOT_LOOP_CMD, "OPEN_MSLOT_LOOP_CMD" }, + { GSM414_MT_OPEN_MSLOT_LOOP_ACK, "OPEN_MSLOT_LOOP_ACK" }, + { GSM414_MT_ACT_EMMI_CMD, "ACT_EMMI_CMD" }, + { GSM414_MT_ACT_EMMI_ACK, "ACT_EMMI_ACK" }, + { GSM414_MT_DEACT_EMMI_CMD, "DEACT_EMMI_CMD" }, + { GSM414_MT_TEST_INTERFACE, "TEST_INTERFACE" }, + { GSM414_MT_GPRS_TEST_MODE_CMD, "GPRS_TEST_MODE_CMD" }, + { GSM414_MT_EGPRS_ST_RB_LOOP_CMD, "EGPRS_START_RB_LOOP_CMD" }, + { GSM414_MT_RESET_MS_POS_STORED, "RESET_MS_POS_STORED" }, + { 0, NULL } +}; diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map index 8fb9878a..9613c4e9 100644 --- a/src/gsm/libosmogsm.map +++ b/src/gsm/libosmogsm.map @@ -188,6 +188,8 @@ gsm411_unbcdify; gsm411_cp_cause_strs; gsm411_rp_cause_strs; +gsm414_msgt_names; + gsm48_att_tlvdef; gsm48_cc_msg_name; gsm48_rr_msg_name; |