aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/transaction.c
AgeCommit message (Collapse)AuthorFilesLines
2010-04-06Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther1-11/+12
* Move to the new log code and update binaries * Catch up with lchan changes from master Conflicts: openbsc/include/openbsc/Makefile.am openbsc/include/openbsc/gsm_data.h openbsc/src/Makefile.am openbsc/src/bsc_rll.c openbsc/src/chan_alloc.c openbsc/src/debug.c openbsc/src/gsm_04_08.c openbsc/src/gsm_04_11.c openbsc/src/gsm_subscriber_base.c openbsc/src/handover_logic.c openbsc/src/silent_call.c openbsc/src/transaction.c openbsc/src/vty_interface.c openbsc/src/vty_interface_cmds.c
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-03-24Specify a release reason for the lchanHolger Hans Peter Freyther1-2/+2
In case the put_lchan is making the refcount drop to zero use the release reason specified in the put_lchan call. This is used by the BSC MSC IP implementation for the assignment handling where the old channel is getting closed with a local end release (1).
2010-03-24Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther1-4/+9
* Move to libosmocore * Move to new debugging architecture * Register the BTS types * Has only been compile tested Conflicts: openbsc/include/openbsc/Makefile.am openbsc/include/openbsc/gsm_data.h openbsc/include/openbsc/ipaccess.h openbsc/include/openbsc/mgcp.h openbsc/include/openbsc/msgb.h openbsc/include/openbsc/tlv.h openbsc/src/Makefile.am openbsc/src/abis_rsl.c openbsc/src/bsc_init.c openbsc/src/bsc_mgcp.c openbsc/src/chan_alloc.c openbsc/src/debug.c openbsc/src/gsm_subscriber_base.c openbsc/src/msgb.c openbsc/src/rest_octets.c openbsc/src/sccp/sccp.c openbsc/src/vty/command.c openbsc/src/vty_interface.c openbsc/tests/Makefile.am
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-22Merge commit 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther1-1/+25
Conflicts: openbsc/include/openbsc/Makefile.am openbsc/include/openbsc/gsm_data.h openbsc/src/Makefile.am openbsc/src/abis_rsl.c openbsc/src/chan_alloc.c openbsc/src/gsm_04_08.c openbsc/src/gsm_data.c openbsc/src/vty_interface.c The biggest problem is the moving of the RTP code into the RSL layer. This may break quite some things...
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-11-20[lchan] Release the channel ones its' usecount drops to zeroHolger Hans Peter Freyther1-3/+4
Remove the timer handling from the LCHAN and release the channel ones the use count is dropping to zero. Change code that was sending/using the lchan after the release and change the send data method to warn in case the lchan is used after it has been freed.
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