This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9901 Change subject: gsm0808: Add value_string for encryption algorithms ...................................................................... gsm0808: Add value_string for encryption algorithms Change-Id: Iadf6460c438d02c53c2eaa9e42d51844ad28859a --- M include/osmocom/gsm/protocol/gsm_08_08.h M src/gsm/gsm0808.c M src/gsm/libosmogsm.map 3 files changed, 14 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/01/9901/1 diff --git a/include/osmocom/gsm/protocol/gsm_08_08.h b/include/osmocom/gsm/protocol/gsm_08_08.h index db5f7fa..c007d2b 100644 --- a/include/osmocom/gsm/protocol/gsm_08_08.h +++ b/include/osmocom/gsm/protocol/gsm_08_08.h @@ -459,6 +459,7 @@ GSM0808_ALG_ID_A5_6 = 0x07, GSM0808_ALG_ID_A5_7 = 0x08, }; +extern const struct value_string gsm0808_chosen_enc_alg_names[]; /* GSM 08.08 3.2.2.85 Paging Information */ enum gsm0808_paging_info { diff --git a/src/gsm/gsm0808.c b/src/gsm/gsm0808.c index 625de81..e3f4efe 100644 --- a/src/gsm/gsm0808.c +++ b/src/gsm/gsm0808.c @@ -1153,6 +1153,18 @@ { 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" }, diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map index 96779d2..e1486b7 100644 --- a/src/gsm/libosmogsm.map +++ b/src/gsm/libosmogsm.map @@ -201,6 +201,7 @@ gsm0808_chan_type_to_speech_codec; gsm0808_speech_codec_from_chan_type; gsm0808_speech_codec_type_names; +gsm0808_chosen_enc_alg_names; gsm0808_channel_type_name; gsm0808_lcls_config_names; gsm0808_lcls_control_names; -- To view, visit https://gerrit.osmocom.org/9901 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iadf6460c438d02c53c2eaa9e42d51844ad28859a Gerrit-Change-Number: 9901 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180706/09ceede2/attachment.htm>