path: root/openbsc/src/gsm_04_08.c
diff options
authorHarald Welte <laforge@netfilter.org>2009-12-21 13:30:17 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-21 13:33:10 +0100
commitf7c28b099f928cc6fb48fc9cc072656d8c3bb902 (patch)
tree2631e72801c2e13a2b47564f9616174cb195c372 /openbsc/src/gsm_04_08.c
parentade773f44193052ade3be70b794130dd6a39ee06 (diff)
[handover] Real handover algorithm
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.
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c
index 281982e22..156927f56 100644
--- a/openbsc/src/gsm_04_08.c
+++ b/openbsc/src/gsm_04_08.c
@@ -1404,6 +1404,7 @@ static int gsm48_rx_mm_imsi_detach_ind(struct msgb *msg)
* imagine an IMSI DETACH happening during an active call! */
/* subscriber is detached: should we release lchan? */
+ lchan_auto_release(msg->lchan);
return 0;