diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2022-12-08 16:30:39 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2022-12-08 17:02:05 +0100 |
commit | ffe2b28c9b6288c5161bbacbe679950401d0f1eb (patch) | |
tree | 4f0b2766ff3caa27affe9a85bd840a9bef13c941 | |
parent | 5b9a5f569ac37e83eb469da0118976957612c588 (diff) |
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
-rw-r--r-- | src/osmo-bts-trx/sched_lchan_tchf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/sched_lchan_tchf.c b/src/osmo-bts-trx/sched_lchan_tchf.c index 6a6331f7..eff0f63a 100644 --- a/src/osmo-bts-trx/sched_lchan_tchf.c +++ b/src/osmo-bts-trx/sched_lchan_tchf.c @@ -412,7 +412,7 @@ struct msgb *tch_dl_dequeue(struct l1sched_ts *l1ts, struct trx_dl_burst_req *br 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; |