diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-28 15:58:03 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-28 15:58:03 +0800 |
commit | c0d83b0647cc77970fd072aa77225ac70374f786 (patch) | |
tree | 12303782dcb7afea38f116a8681e79601ce17f9c /openbsc/include | |
parent | 4563eab30ef10be8447c53301d96b949a5af3f5f (diff) |
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.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/signal.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 |