From 47390764ddeb98109e39aa379d433ddc064e058b Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 18 Jul 2016 23:54:01 +0200 Subject: rsl: add rsl_act_type_name() Change-Id: Ie90c76d8aef42d5e2c9be94f4b206d4994e305f8 --- src/gsm/libosmogsm.map | 1 + src/gsm/rsl.c | 13 +++++++++++++ 2 files changed, 14 insertions(+) (limited to 'src') diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map index d597f10a..9667ea04 100644 --- a/src/gsm/libosmogsm.map +++ b/src/gsm/libosmogsm.map @@ -276,6 +276,7 @@ rsl_rll_push_hdr; rsl_rll_push_l3; rsl_rll_simple; rsl_rlm_cause_name; +rsl_act_type_names; rxlev2dbm; rxlev_stat_dump; diff --git a/src/gsm/rsl.c b/src/gsm/rsl.c index c3c32a92..910e8481 100644 --- a/src/gsm/rsl.c +++ b/src/gsm/rsl.c @@ -541,4 +541,17 @@ const struct tlv_definition rsl_ipac_eie_tlvdef = { }, }; +const struct value_string rsl_act_type_names[] = { + { RSL_ACT_TYPE_INITIAL, "INITIAL" }, + { RSL_ACT_TYPE_REACT, "REACT" }, + { RSL_ACT_INTRA_IMM_ASS, "INTRA_IMM_ASS" }, + { RSL_ACT_INTRA_NORM_ASS, "INTRA_NORM_ASS" }, + { RSL_ACT_INTER_ASYNC, "INTER_ASYNC" }, + { RSL_ACT_INTER_SYNC, "INTER_SYNC" }, + { RSL_ACT_SECOND_ADD, "SECOND_ADD" }, + { RSL_ACT_SECOND_MULTI, "SECOND_MULTI" }, + { RSL_ACT_OSMO_PDCH, "OSMO_PDCH" }, + { 0, NULL } +}; + /*! @} */ -- cgit v1.2.3