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/src/paging.c | |
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/src/paging.c')
-rw-r--r-- | openbsc/src/paging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/paging.c b/openbsc/src/paging.c index fe6ea52d1..b273419c3 100644 --- a/openbsc/src/paging.c +++ b/openbsc/src/paging.c @@ -55,7 +55,7 @@ static unsigned int calculate_group(struct gsm_bts *bts, struct gsm_subscriber * int blocks; unsigned int group; - ccch_conf = bts->chan_desc.ccch_conf; + ccch_conf = bts->si_common.chan_desc.ccch_conf; bs_cc_chans = rsl_ccch_conf_to_bs_cc_chans(ccch_conf); /* code word + 2, as 2 channels equals 0x0 */ blocks = rsl_number_of_paging_subchannels(bts); |