diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-19 12:09:58 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-19 16:01:07 +0800 |
commit | c592e697ce6bb26e56dbec19274673d73c25626d (patch) | |
tree | 7d51c926a12a12d99aa314554c6107ebac6fd7eb /openbsc/src/bssap.c | |
parent | ebb6b99c63f98d6cfba459ec54d00cb2ad94d4bd (diff) |
[alloc] Assign a TCH for LU when all SDCCHs are occupied.
When the cell becomes visible we will be bombed with location
updating requests and to reduce the load on the network we should
assign as many channels for it as possible. During load peek it
is even more important than to have a spare voice channel and in
general the LU procedure is pretty fast.
Diffstat (limited to 'openbsc/src/bssap.c')
-rw-r--r-- | openbsc/src/bssap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/bssap.c b/openbsc/src/bssap.c index 8cafde5b6..1c84073da 100644 --- a/openbsc/src/bssap.c +++ b/openbsc/src/bssap.c @@ -403,7 +403,7 @@ static int handle_new_assignment(struct msgb *msg, int full_rate, int chan_mode) bts = msg->lchan->ts->trx->bts; chan_type = full_rate ? GSM_LCHAN_TCH_F : GSM_LCHAN_TCH_H; - new_lchan = lchan_alloc(bts, chan_type); + new_lchan = lchan_alloc(bts, chan_type, 0); if (!new_lchan) { LOGP(DMSC, LOGL_NOTICE, "No free channel.\n"); |