Change in libosmocore[master]: LCLS: add gsm0808_create_ass_ext()

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
Fri Nov 30 15:54:22 UTC 2018


Neels Hofmeyr has posted comments on this change. ( https://gerrit.osmocom.org/11826 )

Change subject: LCLS: add gsm0808_create_ass_ext()
......................................................................


Patch Set 16: Code-Review-1

(4 comments)

https://gerrit.osmocom.org/#/c/11826/10/include/osmocom/gsm/gsm0808.h
File include/osmocom/gsm/gsm0808.h:

https://gerrit.osmocom.org/#/c/11826/10/include/osmocom/gsm/gsm0808.h@67
PS10, Line 67: struct msgb *gsm0808_create_ass_ext(const struct gsm0808_channel_type *ct,
> Why? So far both ...2() and ..._ext() are widely used throughout the code. […]
"ext" refers to "extended", while this is not something that the spec calls "extended" in any way. This is just a newer version of our API function, and for that the convention is (or should be) adding numbers.

What if at some point some more IEs should be added, or some bug gets fixed? what do we call the next API function then, create_ass_ext_ext()?

Use '2'.


https://gerrit.osmocom.org/#/c/11826/16/src/gsm/gsm0808.c
File src/gsm/gsm0808.c:

https://gerrit.osmocom.org/#/c/11826/16/src/gsm/gsm0808.c@424
PS16, Line 424: /*! Create BSSMAP Assignment Request message, 3GPP TS 48.008 §3.2.1.1
especially if adding more comment, the initial summary line must end in a '.'


https://gerrit.osmocom.org/#/c/11826/16/src/gsm/gsm0808.c@425
PS16, Line 425:   This is identical to gsm0808_create_ass(), but adds KC and LCLS IEs.
lacks a '*'


https://gerrit.osmocom.org/#/c/11826/16/src/gsm/gsm0808.c@512
PS16, Line 512: /*! Create BSSMAP Assignment Request message, 3GPP TS 48.008 §3.2.1.1
.



-- 
To view, visit https://gerrit.osmocom.org/11826
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id89765df3f8c12f55f73f1d7a9d90c8883eb3bba
Gerrit-Change-Number: 11826
Gerrit-PatchSet: 16
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-CC: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Comment-Date: Fri, 30 Nov 2018 15:54:22 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181130/5f4ef10b/attachment.htm>


More information about the gerrit-log mailing list