summaryrefslogtreecommitdiffstats
path: root/src/gsm/gsm0808_utils.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-06-23 00:29:34 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-23 00:37:47 +0200
commit452a6bb347aa907d5593f7ca7ab901b4f9a90321 (patch)
tree4e81bc8a115ff5f229eff39887a12fc1b9cc33ca /src/gsm/gsm0808_utils.c
parent17778bda23cacfce3a9ad176dcb2d084893c5e66 (diff)
comments: gsm0808_utils: mention various 3GPP specs
Tweaked-by: nhofmeyr Change-Id: I990dfe9eeaf96f377484b828143935240a937226
Diffstat (limited to 'src/gsm/gsm0808_utils.c')
-rw-r--r--src/gsm/gsm0808_utils.c5
1 files changed, 5 insertions, 0 deletions
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;