diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-12-01 18:04:30 +0530 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-12-01 18:04:30 +0530 |
commit | a43f789a0a124c322146280ab00935b75f505617 (patch) | |
tree | 48f452451dd4e67294231e34214ef7d6ca25afbe /openbsc/include/openbsc/gsm_data.h | |
parent | 29b9cf844686b84c5f19ee9b6d62fe921d68f3fc (diff) |
Replace template-based SYSTEM INFORMATION with real implementation
Before this commit, OpenBSC used templates for the SYSTEM INFO
1, 2, 3, 4, 5 and 6 messages. Those templates were patched in
various places to reflect the network config like ARFCN.
Now, we actually generate those SI messages ourselves, using
values from the configuration file, and even calculating neighbor
cell lists.
All bts'es that you have configured in OpenBSC will end up in
the neighbor cell list - which should be more than sufficient for
the current small-single-site networks.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index b4a8ef550..fcd623fe6 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -356,8 +356,6 @@ struct gsm_bts { /* number of this BTS on given E1 link */ u_int8_t bts_nr; - struct gsm48_control_channel_descr chan_desc; - /* paging state and control */ struct gsm_bts_paging_state paging; @@ -368,6 +366,15 @@ struct gsm_bts { struct gsm_nm_state nm_state; } site_mgr; + /* parameters from which we build SYSTEM INFORMATION */ + struct { + struct gsm48_rach_control rach_control; + u_int8_t ncc_permitted; + struct gsm48_cell_sel_par cell_sel_par; + struct gsm48_cell_options cell_options; + struct gsm48_control_channel_descr chan_desc; + } si_common; + /* ip.accesss Unit ID's have Site/BTS/TRX layout */ union { struct { |