aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_init.c
AgeCommit message (Collapse)AuthorFilesLines
2009-12-22Merge commit 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther1-290/+79
Conflicts: openbsc/include/openbsc/Makefile.am openbsc/include/openbsc/gsm_data.h openbsc/src/Makefile.am openbsc/src/abis_rsl.c openbsc/src/chan_alloc.c openbsc/src/gsm_04_08.c openbsc/src/gsm_data.c openbsc/src/vty_interface.c The biggest problem is the moving of the RTP code into the RSL layer. This may break quite some things...
2009-12-21it's LOGL_ERROR, not LOG_ERRORHarald Welte1-1/+1
2009-12-21make sure bootstrap_bts() only contains static initializationHarald Welte1-3/+5
values that might change at runtime are moved to set_system_infos() which we might now also call at runtime to update the BTS with changes in the SI
2009-12-21remove duplicate flag for cell barringHarald Welte1-3/+1
it's sufficient if we keep the state of cell barring in one place
2009-12-21[gprs] SI 13 should only be generated on C0 (BCCH-carrying TRX)Harald Welte1-7/+8
2009-12-20remove hand full of 'extern ipacc_rtp_direct' definitionsHarald Welte1-1/+0
and instead declare it in gsm_data.h
2009-12-19system_information: DEBUGP() SI13/5/6 during startupHarald Welte1-12/+12
2009-12-17logging: introduce log levels at caller siteHarald Welte1-14/+14
This introduces a new LOGP() macro together with LOGL_* definition to support multiple log levels (severities) throughout the codebase. Please note that the actual logging system does not use them yet, in this patch we simply introduce the new macros at the caller site.
2009-12-17[handover] first functional handover implementationHarald Welte1-0/+1
With this commit, we can successfully hand over a channel from one cell to another cell. We implement asynchronous intra-BSC (but inter-BTS) handover. Changes: * introduce new DHO log category * extend rsl_chan_activate_lchan() with argument for HO reference * introduce actual minimal handover decision making in handover_decision.c * various fixes to bsc_handover_start() in handover_logic.c
2009-12-16[system_information] Print more debugging about what's going onHarald Welte1-5/+11
2009-12-14make sure BSIC is patched into NM tables before initializing BS11Harald Welte1-0/+1
2009-12-12[VTY] add more cell reselection parameters to VTYHarald Welte1-2/+0
allow setting of 'cell reselection hysteresis' and 'rxlev access min' from VTY for experiments with cell reselection.
2009-12-12add warning about accept-all network on non-barred cellsHarald Welte1-0/+8
2009-12-01Replace template-based SYSTEM INFORMATION with real implementationHarald Welte1-277/+52
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.
2009-11-24Merge branch 'master' into on-waves/bsc-masterHolger Hans Peter Freyther1-5/+1
Conflicts: openbsc/src/abis_nm.c openbsc/src/bsc_init.c openbsc/src/vty_interface.c
2009-11-24[vty] Add option to disable RF on a given TRX.Holger Hans Peter Freyther1-2/+14
- Make sure that on runtime the Radio Carrier can be locked and unlocked. The vty code calls into the Abis NM to lock/unlock the channel and the state is stored there. - Make sure that on start the Radio Carries remains offline and we are not starting it. On start the radio carrier is either locked or unlocked. This means the RSL will not connect until the RF is unlocked. It will connect then. To see RSL bringup failures one needs to parse the RSL nack message. - When the TRX is locked on startup the RSL link will only be established after it will be unlocked.
2009-11-24[bsc_init] Activate the RC and the RSL link from the Software Activated CallbackHolger Hans Peter Freyther1-27/+22
On cold start the RSL link will not be brought up. Wait for the Software to be Activated before starting the RSL link. This is working reliable on the BTS I have tested with. This is a partial revert of 8406ec2437fcc28906b2085e305d79ae73accc2a and was discussed on the mailinglist.
2009-11-20[vty] Add option to disable RF on a given TRX.Holger Hans Peter Freyther1-4/+24
- Make sure that on runtime the Radio Carrier can be locked and unlocked. The vty code calls into the Abis NM to lock/unlock the channel and the state is stored there. - Make sure that on start the Radio Carries remains offline and we are not starting it. On start the radio carrier is either locked or unlocked. This means the RSL will not connect until the RF is unlocked. It will connect then. To see RSL bringup failures one needs to parse the RSL nack message.
2009-11-20[bsc_init] Activate the RC and the RSL link from the Software Activated CallbackHolger Hans Peter Freyther1-27/+22
On cold start the RSL link will not be brought up. Wait for the Software to be Activated before starting the RSL link. This is working reliable on the BTS I have tested with.
2009-11-17[si] Make it possible to set the NECI value...Holger Hans Peter Freyther1-0/+4
Allow to configure the NECI value... and change code that is relying on the NECI value.
2009-11-17[abis_nm] avoid integer-to-pointer casting and associated gcc warningsHarald Welte1-2/+5
2009-10-26Fix segfault, use trx->bts rather than bts in patch_nm_tables()Harald Welte1-1/+1
2009-10-24ip.access: Use Channel Combination from config fileHarald Welte1-4/+4
bsc_init.c still contained a hard-coded channel configuration, i.e. CCCH_combined on TS0 of C0, and TCH/F on all other channels. Now it correctly uses the value as specified in the config file.
2009-10-22Fix spelling of defaultHolger Hans Peter Freyther1-1/+1
2009-10-20[nanoBTS] move nanoBTS initialization completely into state event handlerHarald Welte1-66/+75
2009-10-20ip.access: use correct stream identifier when connecting RSLHarald Welte1-1/+1
2009-10-19[abis_nm] introduce and use abis_nm_ipaccess_rsl_connect()Harald Welte1-8/+1
2009-10-19ip.access / multi-TRX: correctly identify TRX number on SW ACT REPHarald Welte1-1/+5
2009-10-19ip.access maximum output power depends on GSM bandHarald Welte1-1/+15
2009-10-08[bsc_init] use new NM_AVSTATE_* enum instead of hard-coded numbersHarald Welte1-2/+2
2009-10-05[ipaccess] Add nanoBTS 1900 supportMike Haben1-11/+13
Add support for 1900 nanoBTS by using unified bts_type GSM_BTS_TYPE_NANOBTS for 900, 1800 and 1900 versions. Reduce the nanoBTS enum values to one and derive the version from the user supplied band. In the future we might want to do auto band detection. The configuration file needs to be changed to refer to nanobts instead of nanobts900/nanobts1800. Signed-off-by: Mike Haben <michael.haben@btinternet.com> Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
2009-09-28[bsc] Store the cell_identity in gsm_bts and set it on the SI3 and SI6Holger Hans Peter Freyther1-0/+4
Transfering the cell_identity from BSC to MSC is required for the on-waves.com support. Allow to set the cell_identity in the cfg file and patch the system information tables to set it.
2009-08-17[bsc] Remove HAR feature to advertize neighbor cellsHolger Hans Peter Freyther1-13/+0
Do not advertize to broadcast on a different frequency, this was only useful for the HAR2009. The frequency list of the cell probably needs to migrate into the vty config file. Revert of ee4410a4f312d927dc8b4901c71c52436c18ca4a
2009-08-17[bsc_init] Create a bsc_init.c that can be used for setting up hings.Holger Hans Peter Freyther1-0/+1064
Share the initialization and bootstraping of the network by moving the code to a new file and making boostrap_network and shutdown_net external. Cleanup the header list after the move and remove trailing whitespace.