diff options
author | Harald Welte <laforge@netfilter.org> | 2009-08-10 13:46:55 +0200 |
---|---|---|
committer | Harald Welte <laforge@netfilter.org> | 2009-08-10 13:46:55 +0200 |
commit | fc0d9526024d14f7c9ab8ad17d428fe0b7e21a25 (patch) | |
tree | 60321920bb365220c2f24c20f7c5e287749a680f /openbsc/include/openbsc/gsm_data.h | |
parent | 88367263486c4866272cd3d57c76097793aba654 (diff) |
introduce bts->chan_alloc_reverse flag
The channel allocator can be set in ascending or descending order.
Ascnending means we first try to allocate channels on TRX0, then TRX1, etc.
Descending means we first try to allocate cahnnels on TRXn, then n-1 down to 0.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 81de84f71..e995c1751 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -298,6 +298,10 @@ struct gsm_bts { /* type of BTS */ enum gsm_bts_type type; enum gsm_band band; + /* should the channel allocator allocate channels from high TRX to TRX0, + * rather than starting from TRX0 and go upwards? */ + int chan_alloc_reverse; + /* how do we talk OML with this TRX? */ struct gsm_e1_subslot oml_e1_link; u_int8_t oml_tei; |