Remove the various checks for high TS as those should now work
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
48d3a7ab4c
commit
6c6b073f54
|
@ -207,11 +207,6 @@ static int gsm48_rx_imm_ass(struct msgb *msg, struct osmocom_ms *ms)
|
|||
ia->chan_desc.chan_nr, arfcn, ch_ts, ch_subch,
|
||||
ia->chan_desc.h0.tsc);
|
||||
|
||||
if (ch_ts >= 4) {
|
||||
DEBUGPC(DRR, "UNSUPPORTED!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* request L1 to go to dedicated mode on assigned channel */
|
||||
rv = l1ctl_tx_dm_est_req_h0(ms,
|
||||
arfcn, ia->chan_desc.chan_nr, ia->chan_desc.h0.tsc);
|
||||
|
@ -242,11 +237,6 @@ static int gsm48_rx_imm_ass(struct msgb *msg, struct osmocom_ms *ms)
|
|||
}
|
||||
}
|
||||
|
||||
if (ch_ts >= 4) {
|
||||
DEBUGPC(DRR, "UNSUPPORTED!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* request L1 to go to dedicated mode on assigned channel */
|
||||
rv = l1ctl_tx_dm_est_req_h1(ms,
|
||||
maio, hsn, ma, ma_len,
|
||||
|
|
|
@ -3153,11 +3153,6 @@ static int gsm48_rr_activate_channel(struct osmocom_ms *ms,
|
|||
/* establish */
|
||||
LOGP(DRR, LOGL_INFO, "establishing channel in dedicated mode\n");
|
||||
rsl_dec_chan_nr(cd->chan_nr, &ch_type, &ch_subch, &ch_ts);
|
||||
if (ch_ts >= 6) {
|
||||
printf("Channel type %d, subch %d, ts %d not supported, "
|
||||
"exitting.\n", ch_type, ch_subch, ch_ts);
|
||||
exit(-ENOTSUP);
|
||||
}
|
||||
printf("Channel type %d, subch %d, ts %d\n", ch_type, ch_subch, ch_ts);
|
||||
if (cd->h)
|
||||
l1ctl_tx_dm_est_req_h1(ms, cd->maio, cd->hsn,
|
||||
|
|
|
@ -166,13 +166,6 @@ static void l1ctl_rx_dm_est_req(struct msgb *msg)
|
|||
printd("L1CTL_DM_EST_REQ (arfcn=%u, chan_nr=0x%02x, tsc=%u)\n",
|
||||
ntohs(est_req->h0.band_arfcn), ul->chan_nr, est_req->tsc);
|
||||
|
||||
/* Current limitations */
|
||||
if ((ul->chan_nr & 0x7) > 4) {
|
||||
/* FIXME: Timeslot */
|
||||
puts("We don't support TS > 4 yet\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* configure dedicated channel state */
|
||||
l1s.dedicated.type = chan_nr2dchan_type(ul->chan_nr);
|
||||
l1s.dedicated.tsc = est_req->tsc;
|
||||
|
|
Loading…
Reference in New Issue