diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-10-01 22:27:08 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-10-03 08:37:11 +0000 |
commit | 126368397dbe8cd7880ef1077dda34e4d7ef75a7 (patch) | |
tree | c7d09528ca38370409ed3198f9b06837d09c40b5 /src | |
parent | 8b8485680a4551b83e3ca5a5d1c34c1c74c3297d (diff) |
trxcon/sched_lchan_desc.c: fix wrong chan_nr for PDCH
According to GSM TS 08.58, chapter 9.3.1, channel number 0x08
describes sub-slot number 0 of SDCCH/8+ACCH. This is definitely
wrong. In OsmoBTS we use an Osmocom specific extension for packet
switched channels - 0xc0, so let's use it here too.
Change-Id: I11925408d6e63baf1eac880839ecd717843fba6a
Diffstat (limited to 'src')
-rw-r--r-- | src/host/trxcon/sched_lchan_desc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/trxcon/sched_lchan_desc.c b/src/host/trxcon/sched_lchan_desc.c index 4cac4394..05443f63 100644 --- a/src/host/trxcon/sched_lchan_desc.c +++ b/src/host/trxcon/sched_lchan_desc.c @@ -290,13 +290,13 @@ const struct trx_lchan_desc trx_lchan_desc[_TRX_CHAN_MAX] = { }, { TRXC_PDTCH, "PDTCH", - 0x08, TRX_CH_LID_DEDIC, + 0xc0, TRX_CH_LID_DEDIC, 12 * GSM_BURST_PL_LEN, TRX_CH_FLAG_PDCH, rx_pdtch_fn, tx_pdtch_fn, }, { TRXC_PTCCH, "PTCCH", - 0x08, TRX_CH_LID_DEDIC, + 0xc0, TRX_CH_LID_DEDIC, 4 * GSM_BURST_PL_LEN, TRX_CH_FLAG_PDCH, rx_data_fn, tx_data_fn, }, |