aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/chan_alloc.h
AgeCommit message (Collapse)AuthorFilesLines
2010-09-06[alloc] Assign a TCH for LU when all SDCCHs are occupied.Holger Hans Peter Freyther1-1/+1
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.
2010-06-28bsc_msc: Remove use_count from the subscriber connectionHolger Hans Peter Freyther1-2/+2
A channel will be released in case of * Errors via the clear_request callback... * no more transactions and operations are going on. This means that if we do something without a transaction the channel might be closed down right away. The bug fix will be to create a transaction/operation.
2010-06-16bsc_api: Rename lchan_for_subscr to connection_for_subscr and update codeHolger Hans Peter Freyther1-1/+3
With handover and late/early assignment there might be two channels for one subscriber and only the BSC knows which one to use, so use the gsm_subscriber_connection everywhere...
2010-06-16chan_alloc: Make the lchan_find(bts,subscr) private/internal..Holger Hans Peter Freyther1-3/+0
2010-04-15[bsc_init] When the RSL/OML connection drops, free all lchansHolger Hans Peter Freyther1-0/+1
Free all allocated channels on the TRX that failed, go through lchan_free to signal higher layers and then force a reset of the channel. Make the TRX and TS unusable by setting the operational set to 0 (not really defined) which should be reset once the RSL is coming up again.
2009-12-29export the 'trx_is_usable() function and use it from pagingHarald Welte (local)1-0/+2
this ensures we don't send paging requests to currently inactive transceivers.
2009-12-22Display current channel usage load in 'show bts' and 'show network'Harald Welte1-0/+12
This is just the load at one given instant. We definitely also want to see some averages and record the measurements in a database later.
2009-08-09move search for existing lchan for subscriber to new functionHarald Welte1-0/+3
There's now a new function called 'lchan_for_subscr()' which can be used to determine if there is any existing lchan for this subscriber.
2009-06-10move openbsc into its own subdirectoryHarald Welte1-0/+49