diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/host/trxcon/sched_lchan_desc.c | 11 | ||||
-rw-r--r-- | src/host/trxcon/sched_trx.h | 4 |
2 files changed, 12 insertions, 3 deletions
diff --git a/src/host/trxcon/sched_lchan_desc.c b/src/host/trxcon/sched_lchan_desc.c index 5b9d6760..67f770c5 100644 --- a/src/host/trxcon/sched_lchan_desc.c +++ b/src/host/trxcon/sched_lchan_desc.c @@ -516,12 +516,17 @@ const struct trx_lchan_desc trx_lchan_desc[_TRX_CHAN_MAX] = { .name = "PTCCH", /* 3GPP TS 05.02, section 3.3.4.2 */ .desc = "Packet Timing advance control channel", .chan_nr = RSL_CHAN_OSMO_PDCH, + .link_id = TRX_CH_LID_PTCCH, - /* Same as for TRXC_BCCH (xCCH), see above. */ + /* On the Uplink, mobile stations transmit random Access Bursts + * to allow estimation of the timing advance for one MS in packet + * transfer mode. On Downlink, the network sends timing advance + * updates for several mobile stations. The coding scheme used + * for PTCCH/D messages is the same as for PDTCH CS-1. */ .burst_buf_size = 4 * GSM_BURST_PL_LEN, .flags = TRX_CH_FLAG_PDCH, - .rx_fn = rx_data_fn, - .tx_fn = tx_data_fn, + .rx_fn = rx_pdtch_fn, + .tx_fn = tx_rach_fn, }, [TRXC_SDCCH4_CBCH] = { .name = "SDCCH/4(CBCH)", /* 3GPP TS 05.02, section 3.3.5 */ diff --git a/src/host/trxcon/sched_trx.h b/src/host/trxcon/sched_trx.h index 6ef9ce47..0d424999 100644 --- a/src/host/trxcon/sched_trx.h +++ b/src/host/trxcon/sched_trx.h @@ -23,6 +23,10 @@ #define TRX_CH_LID_DEDIC 0x00 #define TRX_CH_LID_SACCH 0x40 +/* Osmocom-specific extension for PTCCH (see 3GPP TS 45.002, section 3.3.4.2). + * Shall be used to distinguish PTCCH and PDTCH channels on a PDCH time-slot. */ +#define TRX_CH_LID_PTCCH 0x80 + /* Is a channel related to PDCH (GPRS) */ #define TRX_CH_FLAG_PDCH (1 << 0) /* Should a channel be activated automatically */ |