summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-01-12 23:21:18 +0600
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-01-12 23:21:46 +0600
commit522b92eae41f7b5d9bdf928504afd0105e477154 (patch)
treed7d32fad698f445e76831b73f99e63a0cfd21bcc
parentfe240d613b485f8613113d17760f5dc41d7da259 (diff)
modem: fix wrong chan_nr (missing tn) in modem_rx_imm_ass()
Change-Id: Iba68424e6db0ad655c6146d92edd3cc90e2e2566 Fixes: 49d993e4abdd8fac8b111e92078563fd9bb28df1 Related: OS#5500
-rw-r--r--src/host/layer23/src/modem/app_modem.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/host/layer23/src/modem/app_modem.c b/src/host/layer23/src/modem/app_modem.c
index d21b16bd..75513512 100644
--- a/src/host/layer23/src/modem/app_modem.c
+++ b/src/host/layer23/src/modem/app_modem.c
@@ -243,7 +243,8 @@ static int modem_rx_imm_ass(struct osmocom_ms *ms, struct msgb *msg)
ia->chan_desc.chan_nr, arfcn, ch_ts, ch_subch,
ia->chan_desc.h0.tsc);
- l1ctl_tx_dm_est_req_h0(ms, arfcn, RSL_CHAN_OSMO_PDCH,
+ l1ctl_tx_dm_est_req_h0(ms, arfcn,
+ RSL_CHAN_OSMO_PDCH | ch_ts,
ia->chan_desc.h0.tsc, GSM48_CMODE_SIGN, 0);
} else {
/* Hopping */
@@ -272,7 +273,8 @@ static int modem_rx_imm_ass(struct osmocom_ms *ms, struct msgb *msg)
j++;
}
- l1ctl_tx_dm_est_req_h1(ms, maio, hsn, &ma[0], ma_len, RSL_CHAN_OSMO_PDCH,
+ l1ctl_tx_dm_est_req_h1(ms, maio, hsn, &ma[0], ma_len,
+ RSL_CHAN_OSMO_PDCH | ch_ts,
ia->chan_desc.h1.tsc, GSM48_CMODE_SIGN, 0);
}