From 452a6bb347aa907d5593f7ca7ab901b4f9a90321 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Fri, 23 Jun 2017 00:29:34 +0200 Subject: comments: gsm0808_utils: mention various 3GPP specs Tweaked-by: nhofmeyr Change-Id: I990dfe9eeaf96f377484b828143935240a937226 --- src/gsm/gsm0808_utils.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/gsm/gsm0808_utils.c b/src/gsm/gsm0808_utils.c index c636adf4..210f64ec 100644 --- a/src/gsm/gsm0808_utils.c +++ b/src/gsm/gsm0808_utils.c @@ -230,6 +230,7 @@ static uint8_t enc_speech_codec(struct msgb *msg, uint8_t gsm0808_enc_speech_codec(struct msgb *msg, const struct gsm0808_speech_codec *sc) { + /*! See also 3GPP TS 48.008 3.2.2.103 Speech Codec List */ uint8_t *old_tail; uint8_t *tlv_len; @@ -334,6 +335,7 @@ int gsm0808_dec_speech_codec(struct gsm0808_speech_codec *sc, uint8_t gsm0808_enc_speech_codec_list(struct msgb *msg, const struct gsm0808_speech_codec_list *scl) { + /*! See also 3GPP TS 48.008 3.2.2.103 Speech Codec List */ uint8_t *old_tail; uint8_t *tlv_len; unsigned int i; @@ -369,6 +371,7 @@ uint8_t gsm0808_enc_speech_codec_list(struct msgb *msg, int gsm0808_dec_speech_codec_list(struct gsm0808_speech_codec_list *scl, const uint8_t *elem, uint8_t len) { + /*! See also 3GPP TS 48.008 3.2.2.103 Speech Codec List */ const uint8_t *old_elem = elem; unsigned int i; int rc; @@ -412,6 +415,7 @@ int gsm0808_dec_speech_codec_list(struct gsm0808_speech_codec_list *scl, uint8_t gsm0808_enc_channel_type(struct msgb *msg, const struct gsm0808_channel_type *ct) { + /*! See also 3GPP TS 48.008 3.2.2.11 Channel Type */ unsigned int i; uint8_t byte; uint8_t *old_tail; @@ -454,6 +458,7 @@ uint8_t gsm0808_enc_channel_type(struct msgb *msg, int gsm0808_dec_channel_type(struct gsm0808_channel_type *ct, const uint8_t *elem, uint8_t len) { + /*! See also 3GPP TS 48.008 3.2.2.11 Channel Type */ unsigned int i; uint8_t byte; const uint8_t *old_elem = elem; -- cgit v1.2.3