From f86852ce0bc7d4c854d6f6825f74ab30be64b5c5 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 1 Jan 2015 12:46:26 +0100 Subject: chan_alloc: remove ts_alloc() and ts_free() The idea of ts_alloc()/ts_free() dates back to the very early days of OpenBSC, where we didn't yet have a fixed PCHAN type assigned for every lchan in a BTS. However, ever since, PCHAN types (channel combinations) are configured by OML in a certain way, and we only allocate LCHANs inside PCHANs of a matching type. There should be no PCHANs with type GSM_PCHAN_NONE, unless those that you don't want to use for administraive reasons or the like. --- openbsc/include/openbsc/chan_alloc.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'openbsc/include/openbsc/chan_alloc.h') diff --git a/openbsc/include/openbsc/chan_alloc.h b/openbsc/include/openbsc/chan_alloc.h index 4fc0b834d..78242e5b7 100644 --- a/openbsc/include/openbsc/chan_alloc.h +++ b/openbsc/include/openbsc/chan_alloc.h @@ -24,17 +24,6 @@ struct gsm_subscriber_connection; -/* Special allocator for C0 of BTS */ -struct gsm_bts_trx_ts *ts_c0_alloc(struct gsm_bts *bts, - enum gsm_phys_chan_config pchan); - -/* Regular physical channel allocator */ -struct gsm_bts_trx_ts *ts_alloc(struct gsm_bts *bts, - enum gsm_phys_chan_config pchan); - -/* Regular physical channel (TS) */ -void ts_free(struct gsm_bts_trx_ts *ts); - /* Find an allocated channel for a specified subscriber */ struct gsm_subscriber_connection *connection_for_subscr(struct gsm_subscriber *subscr); -- cgit v1.2.3