aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/handover_decision.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-20split 'libosmocore' from openbsc codebaseHarald Welte1-3/+3
This library is intended to collect all generic/common funcitionality of all Osmocom.org projects, including OpenBSC but also OsmocomBB The library currently includes the following modules: bitvec, comp128, gsm_utils, msgb, select, signal, statistics, talloc, timer, tlv_parse, linuxlist msgb allocation error debugging had to be temporarily disabled as it depends on 'debug.c' functionality which at the moment remains in OpenBSC
2009-12-21[handover] Real handover algorithmHarald Welte1-27/+200
This implements the handover algorithm (and associated parameters) as described in Chapter 8 of the book "Performance Enhancements in a Frequency |Hopping GSM Network" by Thomas Toftegard Nielsen and Jeroen Wigard. The parameters such as averaging windows are configured in struct gsm_network. We keep some state to trakc up to 10 neighbors as they are being reported from the MS. This has so far only been tested in a network with two BTS that have each other as neighbor. Networks with morge neighbors might encounter bugs.
2009-12-20handover: no debug message for ever non-handover measurement reportHarald Welte1-3/+1
2009-12-19[handover] add VTY parameter to enable/disable handoverHarald Welte1-7/+11
2009-12-19[handover] don't use measurement reports with NCELL=7Harald Welte1-0/+3
NCELL=7 inidicates that there was no neighbor cell info in the SI5 on the SACCH.
2009-12-18for now we only do handover of TCH channelsHarald Welte1-0/+9
2009-12-17logging: introduce log levels at caller siteHarald Welte1-4/+4
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/+111
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