Attention is currently required from: pespin, fixeria, dexter.
laforge has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-bts/+/31417 )
Change subject: l1sap: Accept RFC5993 and TS 101.318 HR GSM payload
......................................................................
Patch Set 5:
(1 comment)
File src/common/l1sap.c:
https://gerrit.osmocom.org/c/osmo-bts/+/31417/comment/89786253_25e66897
PS5, Line 1267: && bts_internal_flag_get(lchan->ts->trx->bts,
BTS_INTERNAL_FLAG_SPEECH_H_V1_RTP_TS101318))) {
same
agreeing with pespin. The fact that the
constant BTS_INTERNAL_FLAG_SPEECH_H_V1_RTP_TS101318 is ridiculously long makes it
virtually impossible to write code that fits into a line. One could pooissibly use a
local 'bts' variable to avoid the lchan->ts->trx->bts chain. Or one
could have boolean variables for the results of bts_internal_flag_get and just use those
boolean variables here, fitting in the same line as the OSMO_UNLIKELY().
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bts/+/31417
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I453562da412fde5b928bd2b588129c58ec8e2a7e
Gerrit-Change-Number: 31417
Gerrit-PatchSet: 5
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 22 Mar 2023 09:56:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment