summaryrefslogtreecommitdiffstats
path: root/src/gsm
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-01-24 16:17:45 +0100
committerHarald Welte <laforge@gnumonks.org>2018-01-24 16:50:59 +0100
commitea0bc9608c66166f2efb8ebdaa5f26dc8b0cd85f (patch)
tree0762d7a05999f4d2131e6bee63e8c6032f188cf0 /src/gsm
parente41ad4d0084eca4a463970c0cc58867d92779cbc (diff)
gsm48_pdisc_names: Use conscise, short names
Some times I *really* regret ever having merged OSMO_VALUE_STRING, as it generates completely unusable and way too long strings :( Change-Id: I8de7c01f9ea1d66c384e57449c4140186f5ce6c5
Diffstat (limited to 'src/gsm')
-rw-r--r--src/gsm/gsm48.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gsm/gsm48.c b/src/gsm/gsm48.c
index 88760599..4570802c 100644
--- a/src/gsm/gsm48.c
+++ b/src/gsm/gsm48.c
@@ -740,21 +740,21 @@ int gsm48_number_of_paging_subchannels(struct gsm48_control_channel_descr *chan_
/*! TS 04.08 Protocol Descriptor names */
const struct value_string gsm48_pdisc_names[] = {
- OSMO_VALUE_STRING(GSM48_PDISC_GROUP_CC),
- OSMO_VALUE_STRING(GSM48_PDISC_BCAST_CC),
- OSMO_VALUE_STRING(GSM48_PDISC_PDSS1),
- OSMO_VALUE_STRING(GSM48_PDISC_CC),
- OSMO_VALUE_STRING(GSM48_PDISC_PDSS2),
- OSMO_VALUE_STRING(GSM48_PDISC_MM),
- OSMO_VALUE_STRING(GSM48_PDISC_RR),
- OSMO_VALUE_STRING(GSM48_PDISC_MM_GPRS),
- OSMO_VALUE_STRING(GSM48_PDISC_SMS),
- OSMO_VALUE_STRING(GSM48_PDISC_SM_GPRS),
- OSMO_VALUE_STRING(GSM48_PDISC_NC_SS),
- OSMO_VALUE_STRING(GSM48_PDISC_LOC),
- OSMO_VALUE_STRING(GSM48_PDISC_EXTEND),
- OSMO_VALUE_STRING(GSM48_PDISC_MASK),
- OSMO_VALUE_STRING(GSM48_PDISC_USSD),
+ { GSM48_PDISC_GROUP_CC, "VGCC" },
+ { GSM48_PDISC_BCAST_CC, "VBCC" },
+ { GSM48_PDISC_PDSS1, "PDSS1" },
+ { GSM48_PDISC_CC, "CC" },
+ { GSM48_PDISC_PDSS2, "PDSS2" },
+ { GSM48_PDISC_MM, "MM" },
+ { GSM48_PDISC_RR, "RR" },
+ { GSM48_PDISC_MM_GPRS, "GMM" },
+ { GSM48_PDISC_SMS, "SMS" },
+ { GSM48_PDISC_SM_GPRS, "SM" },
+ { GSM48_PDISC_NC_SS, "NCSS" },
+ { GSM48_PDISC_LOC, "LCS" },
+ { GSM48_PDISC_EXTEND, "EXTD" },
+ { GSM48_PDISC_MASK, "MASK" },
+ { GSM48_PDISC_USSD, "USSD" },
{ 0, NULL }
};