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 gerrit-no-reply at lists.osmocom.orgneels has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/20335 )
Change subject: add BSSMAP coding for Location Services
......................................................................
Patch Set 1:
(1 comment)
https://gerrit.osmocom.org/c/libosmocore/+/20335/1/src/gsm/gsm0808.c
File src/gsm/gsm0808.c:
https://gerrit.osmocom.org/c/libosmocore/+/20335/1/src/gsm/gsm0808.c@1363
PS1, Line 1363: out = msgb_tl_put(msg, GSM0808_IE_IMSI);
: rc = osmo_mobile_identity_encode_msgb(msg, ¶ms->imsi, false);
: if (rc < 0) {
: msgb_free(msg);
: return NULL;
: }
: /* write the MI value length */
: *out = rc;
> We are seeing this pattern across multiple patches here. […]
the legacy mobile identity included the IEI value and tag length, which caused a lot of weird code.
because every protocol has a different IEI tag, and there's one place that has a 16bit length instead of the typical 8bit.
i considered it an improvement to encode only the MI coding part without the TL stuff around it...
that said you're right that the 8bit T and 8bit L is the typical common case and passing in the IEI tag value would avoid weird code.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/20335
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I4d7302a4853518916b6b425e710c10568eb2ffe5
Gerrit-Change-Number: 20335
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-CC: laforge <laforge at osmocom.org>
Gerrit-Comment-Date: Thu, 01 Oct 2020 13:25:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge at osmocom.org>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201001/ede43742/attachment.htm>