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
This commit is contained in:
Philipp Maier 2022-12-08 16:30:39 +01:00
parent 5b9a5f569a
commit ffe2b28c9b
1 changed files with 1 additions and 1 deletions

View File

@ -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;