diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-06 17:16:41 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-12 20:58:23 +0200 |
commit | f2cda621c01a5a5ee4be2a35d276adc1cc86cc80 (patch) | |
tree | 633bf7c1e9bde8c819f7b5d9072959c4ff87aa4c /src/gsm/gsm0808.c | |
parent | 40ad91330d6ceb9d429ad5943128b2faf5bfa0f0 (diff) |
gsm0808: Add value_string for encryption algorithms
Change-Id: Iadf6460c438d02c53c2eaa9e42d51844ad28859a
Diffstat (limited to 'src/gsm/gsm0808.c')
-rw-r--r-- | src/gsm/gsm0808.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gsm/gsm0808.c b/src/gsm/gsm0808.c index a26addd4..a90aa227 100644 --- a/src/gsm/gsm0808.c +++ b/src/gsm/gsm0808.c @@ -1167,6 +1167,18 @@ const struct value_string gsm0808_permitted_speech_names[] = { { 0, NULL } }; +const struct value_string gsm0808_chosen_enc_alg_names[] = { + { GSM0808_ALG_ID_A5_0, "A5/0" }, + { GSM0808_ALG_ID_A5_1, "A5/1" }, + { GSM0808_ALG_ID_A5_2, "A5/2" }, + { GSM0808_ALG_ID_A5_3, "A5/3" }, + { GSM0808_ALG_ID_A5_4, "A5/4" }, + { GSM0808_ALG_ID_A5_5, "A5/5" }, + { GSM0808_ALG_ID_A5_6, "A5/6" }, + { GSM0808_ALG_ID_A5_7, "A5/7" }, + { 0, NULL } +}; + static const struct value_string gsm0808_cause_names[] = { { GSM0808_CAUSE_RADIO_INTERFACE_MESSAGE_FAILURE, "RADIO INTERFACE MESSAGE FAILURE" }, { GSM0808_CAUSE_RADIO_INTERFACE_FAILURE, "RADIO INTERFACE FAILURE" }, |