diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-09-20 20:56:06 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2010-09-26 20:05:23 +0200 |
commit | 6c6b073f546d49460380a7bc35a4b9782f50bf5f (patch) | |
tree | 6a14aec3d8097cc98530f2d0de3cec40b0294235 | |
parent | 48d3a7ab4c36627b55a948ec79977d268d0aaa4a (diff) |
Remove the various checks for high TS as those should now work
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r-- | src/host/layer23/src/misc/layer3.c | 10 | ||||
-rw-r--r-- | src/host/layer23/src/mobile/gsm48_rr.c | 5 | ||||
-rw-r--r-- | src/target/firmware/layer1/l23_api.c | 7 |
3 files changed, 0 insertions, 22 deletions
diff --git a/src/host/layer23/src/misc/layer3.c b/src/host/layer23/src/misc/layer3.c index 8716a8a8..37dd2e72 100644 --- a/src/host/layer23/src/misc/layer3.c +++ b/src/host/layer23/src/misc/layer3.c @@ -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, diff --git a/src/host/layer23/src/mobile/gsm48_rr.c b/src/host/layer23/src/mobile/gsm48_rr.c index 656d4c2b..dbc191f0 100644 --- a/src/host/layer23/src/mobile/gsm48_rr.c +++ b/src/host/layer23/src/mobile/gsm48_rr.c @@ -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, diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c index 5882e4cd..2239bfb1 100644 --- a/src/target/firmware/layer1/l23_api.c +++ b/src/target/firmware/layer1/l23_api.c @@ -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; |