[MERGED] libosmocore[master]: comments: gsm0808_utils: mention various 3GPP specs

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Jun 22 22:45:14 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: comments: gsm0808_utils: mention various 3GPP specs
......................................................................


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(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I990dfe9eeaf96f377484b828143935240a937226
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list