From c0d83b0647cc77970fd072aa77225ac70374f786 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 28 Mar 2010 15:58:03 +0800 Subject: chan_alloc: Support allocating TCH/F of a dynamic TCH/F + PDCH This code simply enables the channel allocator to understand the dynamic TCH/F / PDCH channel type as used by ip.access nanoBTS. It does not actually try to switch the dynamic mode, but instead sends signals to a (not yet present) dynamic switching algorithm. --- openbsc/include/openbsc/signal.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'openbsc/include/openbsc/signal.h') diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h index 0c22869f6..1b974e288 100644 --- a/openbsc/include/openbsc/signal.h +++ b/openbsc/include/openbsc/signal.h @@ -42,6 +42,7 @@ enum signal_subsystems { SS_SUBSCR, SS_SCALL, SS_GLOBAL, + SS_CHALLOC, }; /* SS_PAGING signals */ @@ -93,6 +94,12 @@ enum signal_lchan { S_LCHAN_MEAS_REP, /* 08.58 Measurement Report */ }; +/* SS_CHALLOC signals */ +enum signal_challoc { + S_CHALLOC_ALLOC_FAIL, /* allocation of lchan has failed */ + S_CHALLOC_FREED, /* lchan has been successfully freed */ +}; + /* SS_SUBSCR signals */ enum signal_subscr { S_SUBSCR_ATTACHED, @@ -130,4 +137,10 @@ struct ipacc_ack_signal_data { u_int8_t msg_type; }; +struct challoc_signal_data { + struct gsm_bts *bts; + struct gsm_lchan *lchan; + enum gsm_chan_t type; +}; + #endif -- cgit v1.2.3