daniel has posted comments on this change. (
https://gerrit.osmocom.org/c/libosmocore/+/35131?usp=email )
Change subject: coding: gsm0503_tch_{afs,ahs}_encode(): add ability to emit BFI
......................................................................
Patch Set 2:
(1 comment)
File src/coding/gsm0503_coding.c:
https://gerrit.osmocom.org/c/libosmocore/+/35131/comment/b498414c_ac020e9e
PS2, Line 2476: if (!len) {
This is already very repetetive and now even more so. Could you just set tch_len,
<whatever 81 in osmo_crc8gen_set_bits is) and gsm0503_conv_fn in the switch statement
and then have a generic part after that checks for !len and does the memset/calls these
functions with the appropriate parameters.
--
To view, visit
https://gerrit.osmocom.org/c/libosmocore/+/35131?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I82ce2adf995a4b42d1f378c5819f88d773b9104a
Gerrit-Change-Number: 35131
Gerrit-PatchSet: 2
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 27 Nov 2023 16:28:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment