Review at  https://gerrit.osmocom.org/3015

comments: gsm0808_utils: mention various 3GPP specs

Tweaked-by: nhofmeyr
Change-Id: I990dfe9eeaf96f377484b828143935240a937226
---
M src/gsm/gsm0808_utils.c
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/15/3015/1

diff --git a/src/gsm/gsm0808_utils.c b/src/gsm/gsm0808_utils.c
index c636adf..210f64e 100644
--- a/src/gsm/gsm0808_utils.c
+++ b/src/gsm/gsm0808_utils.c
@@ -230,6 +230,7 @@
 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 @@
 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 @@
 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 @@
 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 @@
 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;

-- 
To view, visit https://gerrit.osmocom.org/3015
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I990dfe9eeaf96f377484b828143935240a937226
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: dexter <[email protected]>

Reply via email to