dexter has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/30521 ) Change subject: sched_lchan_tchf: replace numeric constant with define constant ...................................................................... sched_lchan_tchf: replace numeric constant with define constant An RFC 5993 HR GSM payload is 15 bytes long. That is GSM_HR_BYTES + 1 Change-Id: I7008ba7e50562e9366fd9ecc97e2e22fad4aa641 --- M src/osmo-bts-trx/sched_lchan_tchf.c 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved diff --git a/src/osmo-bts-trx/sched_lchan_tchf.c b/src/osmo-bts-trx/sched_lchan_tchf.c index 6a6331f..eff0f63 100644 --- a/src/osmo-bts-trx/sched_lchan_tchf.c +++ b/src/osmo-bts-trx/sched_lchan_tchf.c @@ -412,7 +412,7 @@ switch (tch_mode) { case GSM48_CMODE_SPEECH_V1: /* FR / HR */ if (br->chan != TRXC_TCHF) /* HR */ - len = 15; + len = GSM_HR_BYTES + 1; /* RFC 5993 */ else len = GSM_FR_BYTES; break; -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/30521 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: I7008ba7e50562e9366fd9ecc97e2e22fad4aa641 Gerrit-Change-Number: 30521 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier@sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-MessageType: merged