aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/transaction.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-06subscr: Stop stopping paging requests behind the back of subscrHolger Hans Peter Freyther1-3/+6
The transaction layer was stopping paging requests that might or might not have been owned by the transaction. This makes the subscr code get stuck delivering requests. This code is mostly a band aid and just makes sure that we will kick the queue if it is needed.
2011-01-01License change: We are now AGPLv3+ instead of GPLv2+Harald Welte1-6/+5
The reason for this is quite simple: We want to make sure anyone running a customized version of OpenBSC to operate a network will have to release all custom modifiations to the source code.
2010-12-01paging: Give the msgb that caused paging_stop up to the paging callbackSylvain Munaut1-1/+1
The handler might need to know some info of the paging response Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-06-30msc: Add includes to silence a compiler warning.Holger Hans Peter Freyther1-0/+1
2010-06-30handover: Attempt to use the same gsm_subscriber_conn for new/old channelHolger Hans Peter Freyther1-26/+0
The transaction should not know on which lchan we are operating as this can change due handover. Add untested code to share the subscriber connection of the new and old lchan and move the pointer in case of success/failure. Also on a clear command we will free any resources allocated... This code is not tested and needs to be debugged, but it should have the right structure. I am going to fix a potential memleak in the next commit.
2010-06-28bsc_msc: Remove use_count from the subscriber connectionHolger Hans Peter Freyther1-7/+10
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-21bsc_api: Use conn->bts directly...Holger Hans Peter Freyther1-1/+1
2010-03-25lchan: Change transaction to work on the GSM Subscriber ConnectionHolger Hans Peter Freyther1-13/+10
Change the MSC transaction code to operate on a GSM Subscriber Connection instead of the lchan. This will help us to separate the two commands properly.
2010-03-25lchan: Create a structure for MSC data of the lchanHolger Hans Peter Freyther1-4/+8
Prepare to split the BSC and the MSC part by putting the MSC data for a connection into a "gsm_subscriber_connection" struct and renaming the macros.
2010-02-20split 'libosmocore' from openbsc codebaseHarald Welte1-1/+1
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-24transaction: Change id allocator method to be 'circular'Sylvain Munaut1-3/+8
The idea is to find the highest used id and try to get the next. This way when there are transactions back to back with an overlap, we go 0 1 2 3 4 5 6 0 1 2 ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-19Never allocate transaction ID 7Sylvain Munaut1-1/+1
According to GSM 04.07 11.2.3.1.3 , TID 7 is "reserved for future extensions". Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-18[handover] lchan use count handling in case of trans_lchan_change()Harald Welte1-0/+5
2009-12-17introduce trans_lchan_change() to update transaction about lchan changeHarald Welte1-0/+19
2009-10-22Fix warnings by removing unused variablesHolger Hans Peter Freyther1-2/+0
2009-09-28[paging] Use paging_request_stop to stop all paging requestsHolger Hans Peter Freyther1-9/+1
This loop looks a lot like the one inside the paging code. Call it instead and change the code in paging_request_stop to cope with a NULL _bts.
2009-08-15move talloc context creation out of on_dso / constructorsHarald Welte (local)1-1/+1
the various constructors get called in a non-obvious, linker determined order, which makes certain objects disappear from the talloc report. This change moves the talloc context creation into a new talloc_ctx.c file
2009-08-14fix sms layer timer leak/corruiption using trans_free()Harald Welte (local)1-0/+3
we only stopped the cp1* timer on reception of cp-ack, but not in error cases like rx of cp-error.
2009-08-10misc: Add prototypes to header files, include more header filesHolger Hans Peter Freyther1-0/+2
Fix various warnings about implicit declarations of functions.
2009-07-23look-up by (subscriber, protocol, transaction_id) tupleHarald Welte1-3/+6
... rather than the previous incomplete (lchan, transaction_id) tuple
2009-07-23move allocating new transaction_ids to transaction.cHarald Welte1-2/+12
2009-07-23add missing files to gitHarald Welte1-0/+134